TomRB22 commited on
Commit
439755e
1 Parent(s): 64b1f25

Changed `map_to_wav` name to `notes_to_midi`

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -129,10 +129,10 @@ Parameters
129
  Returns:
130
  * ``display.Audio``: Song as an object allowing for display.
131
 
132
- ### map_to_wav
133
 
134
  ```python
135
- def map_to_wav(song_map: pd.DataFrame, out_file: str, velocity: int=50) -> pretty_midi.PrettyMIDI:
136
  ```
137
  Convert "song map" to midi file (reverse process with respect to
138
  midi_to_notes) and (optionally) save it, generating a PrettyMidi object in the process.
 
129
  Returns:
130
  * ``display.Audio``: Song as an object allowing for display.
131
 
132
+ ### notes_to_midi
133
 
134
  ```python
135
+ def notes_to_midi(song_map: pd.DataFrame, out_file: str, velocity: int=50) -> pretty_midi.PrettyMIDI:
136
  ```
137
  Convert "song map" to midi file (reverse process with respect to
138
  midi_to_notes) and (optionally) save it, generating a PrettyMidi object in the process.