Skip to content

Commit

Permalink
Merge pull request #622 from carlthome/patch-1
Browse files Browse the repository at this point in the history
Fix hz_to_midi docstring
  • Loading branch information
bmcfee committed Sep 8, 2017
2 parents 3594fdb + f8018e9 commit a6e16d0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions librosa/core/time_frequency.py
Expand Up @@ -509,7 +509,7 @@ def midi_to_hz(notes):


def hz_to_midi(frequencies):
"""Get the closest MIDI note number(s) for given frequencies
"""Get MIDI note number(s) for given frequencies
Examples
--------
Expand All @@ -525,8 +525,8 @@ def hz_to_midi(frequencies):
Returns
-------
note_nums : np.ndarray [shape=(n,), dtype=int]
closest MIDI notes to `frequencies`
note_nums : np.ndarray [shape=(n,), dtype=float]
MIDI notes to `frequencies`
See Also
--------
Expand Down

0 comments on commit a6e16d0

Please sign in to comment.