Spaces:
Runtime error
Runtime error
Simon Stolarczyk
commited on
Commit
·
03a706d
1
Parent(s):
a967d61
Try default sound font.
Browse files- .ipynb_checkpoints/app-checkpoint.py +1 -1
- .ipynb_checkpoints/package-Copy1-checkpoint.txt +0 -4
- app.py +1 -1
- package-Copy1.txt +0 -4
.ipynb_checkpoints/app-checkpoint.py
CHANGED
@@ -48,7 +48,7 @@ def process_midi(midi_file):
|
|
48 |
# stream = midiFileToStream(midi_file)
|
49 |
# output_wav = play_wav(stream)
|
50 |
# FluidSynth("../usr/share/sounds/sf2/FluidR3_GM.sf2").midi_to_audio(name, 'test.wav')
|
51 |
-
FluidSynth(
|
52 |
return 'test.wav'
|
53 |
|
54 |
iface = gr.Interface(
|
|
|
48 |
# stream = midiFileToStream(midi_file)
|
49 |
# output_wav = play_wav(stream)
|
50 |
# FluidSynth("../usr/share/sounds/sf2/FluidR3_GM.sf2").midi_to_audio(name, 'test.wav')
|
51 |
+
FluidSynth().midi_to_audio(name, 'test.wav')
|
52 |
return 'test.wav'
|
53 |
|
54 |
iface = gr.Interface(
|
.ipynb_checkpoints/package-Copy1-checkpoint.txt
DELETED
@@ -1,4 +0,0 @@
|
|
1 |
-
fluidsynth
|
2 |
-
fluid-soundfont-gm
|
3 |
-
fluid-soundfont-gs
|
4 |
-
xdemorse
|
|
|
|
|
|
|
|
|
|
app.py
CHANGED
@@ -48,7 +48,7 @@ def process_midi(midi_file):
|
|
48 |
# stream = midiFileToStream(midi_file)
|
49 |
# output_wav = play_wav(stream)
|
50 |
# FluidSynth("../usr/share/sounds/sf2/FluidR3_GM.sf2").midi_to_audio(name, 'test.wav')
|
51 |
-
FluidSynth(
|
52 |
return 'test.wav'
|
53 |
|
54 |
iface = gr.Interface(
|
|
|
48 |
# stream = midiFileToStream(midi_file)
|
49 |
# output_wav = play_wav(stream)
|
50 |
# FluidSynth("../usr/share/sounds/sf2/FluidR3_GM.sf2").midi_to_audio(name, 'test.wav')
|
51 |
+
FluidSynth().midi_to_audio(name, 'test.wav')
|
52 |
return 'test.wav'
|
53 |
|
54 |
iface = gr.Interface(
|
package-Copy1.txt
DELETED
@@ -1,4 +0,0 @@
|
|
1 |
-
fluidsynth
|
2 |
-
fluid-soundfont-gm
|
3 |
-
fluid-soundfont-gs
|
4 |
-
xdemorse
|
|
|
|
|
|
|
|
|
|