Spaces:
Running
on
Zero
Running
on
Zero
keshavbhandari
commited on
Commit
•
1a26908
1
Parent(s):
0beeb37
modified sr
Browse files- app.py +1 -1
- example.mid +0 -0
app.py
CHANGED
@@ -18,7 +18,7 @@ def save_wav(filepath):
|
|
18 |
|
19 |
# Run the fluidsynth command to convert MIDI to WAV
|
20 |
process = subprocess.Popen(
|
21 |
-
f"fluidsynth -r
|
22 |
shell=True
|
23 |
)
|
24 |
process.wait()
|
|
|
18 |
|
19 |
# Run the fluidsynth command to convert MIDI to WAV
|
20 |
process = subprocess.Popen(
|
21 |
+
f"fluidsynth -r 16000 soundfont.sf -g 1.0 --quiet --no-shell {midi_filepath} -T wav -F {wav_filepath} > /dev/null",
|
22 |
shell=True
|
23 |
)
|
24 |
process.wait()
|
example.mid
CHANGED
Binary files a/example.mid and b/example.mid differ
|
|