asigalov61
commited on
Commit
•
0db4793
1
Parent(s):
da26062
Update app.py
Browse files
app.py
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
# https://huggingface.co/spaces/asigalov61/MIDI-
|
2 |
|
3 |
import os.path
|
4 |
|
@@ -109,6 +109,8 @@ def MixMelody(input_midi):
|
|
109 |
MIDI_Summary = 'Selected Monster Mono Melodies MIDI: ' + str(new_song[0]) + '\n'
|
110 |
MIDI_Summary += 'Selected melody instrument: ' + str(TMIDIX.Number2patch[new_song[1]]) + ' (' + str(new_song[1]) + ')' + '\n'
|
111 |
MIDI_Summary += 'Melody notes count: ' + str(new_song[2])
|
|
|
|
|
112 |
|
113 |
trg_patch = new_song[1]
|
114 |
|
|
|
1 |
+
# https://huggingface.co/spaces/asigalov61/Harmonic-Melody-MIDI-Mixer
|
2 |
|
3 |
import os.path
|
4 |
|
|
|
109 |
MIDI_Summary = 'Selected Monster Mono Melodies MIDI: ' + str(new_song[0]) + '\n'
|
110 |
MIDI_Summary += 'Selected melody instrument: ' + str(TMIDIX.Number2patch[new_song[1]]) + ' (' + str(new_song[1]) + ')' + '\n'
|
111 |
MIDI_Summary += 'Melody notes count: ' + str(new_song[2])
|
112 |
+
|
113 |
+
fn1 += '_' + str(new_song[0]) + '_' + str(TMIDIX.Number2patch[new_song[1]]) + '_' + str(new_song[1]) + '_' + str(new_song[2])
|
114 |
|
115 |
trg_patch = new_song[1]
|
116 |
|