pachet commited on
Commit
8d89421
·
1 Parent(s): fc99099

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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, "movement1.mid")
147
- score_path = fm.midi_to_svg_file(tk, midi_path, "movement1.svg")
148
- audio_path = fm.convert_midi_to_audio(midi_path, "movement1")
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