Spaces:
Sleeping
Sleeping
Add app.py
Browse files
app.py
CHANGED
|
@@ -79,7 +79,7 @@ def convert_midi_to_audio(midi_path):
|
|
| 79 |
def launch_score_editor(midi_path):
|
| 80 |
try:
|
| 81 |
score = converter.parse(midi_path)
|
| 82 |
-
score.show()
|
| 83 |
return "Opened MIDI file in the default score editor!"
|
| 84 |
except Exception as e:
|
| 85 |
return f"Error opening score editor: {str(e)}"
|
|
|
|
| 79 |
def launch_score_editor(midi_path):
|
| 80 |
try:
|
| 81 |
score = converter.parse(midi_path)
|
| 82 |
+
score.show('musicxml')
|
| 83 |
return "Opened MIDI file in the default score editor!"
|
| 84 |
except Exception as e:
|
| 85 |
return f"Error opening score editor: {str(e)}"
|