Changed `map_to_wav` name to `notes_to_midi`
Browse files
README.md
CHANGED
@@ -129,10 +129,10 @@ Parameters
|
|
129 |
Returns:
|
130 |
* ``display.Audio``: Song as an object allowing for display.
|
131 |
|
132 |
-
###
|
133 |
|
134 |
```python
|
135 |
-
def
|
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.
|