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

Changing package order and adding fluidsynth test.

Browse files
.ipynb_checkpoints/app-checkpoint.py CHANGED
@@ -6,6 +6,10 @@ 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)
11
  # stream = midiFileToStream(midi_file)
 
6
  from pathlib import Path
7
  from midi2audio import FluidSynth
8
 
9
+ import subprocess
10
+
11
+ subprocess.run(['fluidsynth'])
12
+
13
  def process_midi(midi_file):
14
  name = Path(midi_file.name)
15
  # stream = midiFileToStream(midi_file)
.ipynb_checkpoints/package-checkpoint.txt CHANGED
@@ -1,3 +1,3 @@
 
1
  fluid-soundfont-gm
2
- fluid-soundfont-gs
3
- fluidsynth
 
1
+ fluidsynth
2
  fluid-soundfont-gm
3
+ fluid-soundfont-gs
 
app.py CHANGED
@@ -6,6 +6,10 @@ 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)
11
  # stream = midiFileToStream(midi_file)
 
6
  from pathlib import Path
7
  from midi2audio import FluidSynth
8
 
9
+ import subprocess
10
+
11
+ subprocess.run(['fluidsynth'])
12
+
13
  def process_midi(midi_file):
14
  name = Path(midi_file.name)
15
  # stream = midiFileToStream(midi_file)
package.txt CHANGED
@@ -1,3 +1,3 @@
 
1
  fluid-soundfont-gm
2
- fluid-soundfont-gs
3
- fluidsynth
 
1
+ fluidsynth
2
  fluid-soundfont-gm
3
+ fluid-soundfont-gs