Simon Stolarczyk commited on
Commit
789718b
1 Parent(s): 1de73a8

Make sure to add FluidSynth wrapper.

Browse files
Files changed (2) hide show
  1. .ipynb_checkpoints/app-checkpoint.py +1 -0
  2. app.py +1 -0
.ipynb_checkpoints/app-checkpoint.py CHANGED
@@ -4,6 +4,7 @@ import gradio as gr
4
  from musicautobot.utils.setup_musescore import play_wav
5
  from music21.midi.translate import midiFileToStream
6
  from pathlib import Path
 
7
 
8
  def process_midi(midi_file):
9
  name = Path(midi_file.name)
 
4
  from musicautobot.utils.setup_musescore import play_wav
5
  from music21.midi.translate import midiFileToStream
6
  from pathlib import Path
7
+ from midi2audio import FluidSynth
8
 
9
  def process_midi(midi_file):
10
  name = Path(midi_file.name)
app.py CHANGED
@@ -4,6 +4,7 @@ import gradio as gr
4
  from musicautobot.utils.setup_musescore import play_wav
5
  from music21.midi.translate import midiFileToStream
6
  from pathlib import Path
 
7
 
8
  def process_midi(midi_file):
9
  name = Path(midi_file.name)
 
4
  from musicautobot.utils.setup_musescore import play_wav
5
  from music21.midi.translate import midiFileToStream
6
  from pathlib import Path
7
+ from midi2audio import FluidSynth
8
 
9
  def process_midi(midi_file):
10
  name = Path(midi_file.name)