TomRB22 commited on
Commit
4537fd9
1 Parent(s): 439755e

Changed `map_to_wav` to `notes_to_midi`

Browse files
Files changed (1) hide show
  1. audio.py +1 -1
audio.py CHANGED
@@ -200,7 +200,7 @@ def generate_and_display(model: VAE,
200
  """
201
 
202
  song_map = model.decode(z_sample)
203
- wav = map_to_wav(song_map, out_file, velocity)
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