Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -143,9 +143,9 @@ class HexachordApp:
|
|
| 143 |
for index_of_chord in range(6):
|
| 144 |
chords = [real[index_of_chord] for real in self._hexachord._realizations]
|
| 145 |
fm = Format_Converter()
|
| 146 |
-
midi_path = self.create_midi(chords, "
|
| 147 |
-
score_path = fm.midi_to_svg_file(tk, midi_path, "
|
| 148 |
-
audio_path = fm.convert_midi_to_audio(midi_path, "
|
| 149 |
everyone = everyone + (midi_path, score_path, audio_path)
|
| 150 |
return everyone
|
| 151 |
|
|
|
|
| 143 |
for index_of_chord in range(6):
|
| 144 |
chords = [real[index_of_chord] for real in self._hexachord._realizations]
|
| 145 |
fm = Format_Converter()
|
| 146 |
+
midi_path = self.create_midi(chords, f"movement{index_of_chord}.mid")
|
| 147 |
+
score_path = fm.midi_to_svg_file(tk, midi_path, f"movement{index_of_chord}.svg")
|
| 148 |
+
audio_path = fm.convert_midi_to_audio(midi_path, f"movement{index_of_chord}")
|
| 149 |
everyone = everyone + (midi_path, score_path, audio_path)
|
| 150 |
return everyone
|
| 151 |
|