Changed `map_to_wav` to `notes_to_midi`
Browse files
audio.py
CHANGED
@@ -200,7 +200,7 @@ def generate_and_display(model: VAE,
|
|
200 |
"""
|
201 |
|
202 |
song_map = model.decode(z_sample)
|
203 |
-
wav =
|
204 |
display_obj = display_audio(wav, seconds)
|
205 |
|
206 |
return display_obj
|
|
|
200 |
"""
|
201 |
|
202 |
song_map = model.decode(z_sample)
|
203 |
+
wav = notes_to_midi(song_map, out_file, velocity)
|
204 |
display_obj = display_audio(wav, seconds)
|
205 |
|
206 |
return display_obj
|