Update app.py
Browse files
app.py
CHANGED
@@ -287,7 +287,7 @@ def Mix_Melody(input_midi,
|
|
287 |
|
288 |
trg_avg_time = TMIDIX.escore_notes_averages(mixed_song)[0]
|
289 |
|
290 |
-
time_k =
|
291 |
|
292 |
mixed_song = TMIDIX.adjust_escore_notes_timings(mixed_song, time_k)
|
293 |
|
|
|
287 |
|
288 |
trg_avg_time = TMIDIX.escore_notes_averages(mixed_song)[0]
|
289 |
|
290 |
+
time_k = src_avg_time / trg_avg_time
|
291 |
|
292 |
mixed_song = TMIDIX.adjust_escore_notes_timings(mixed_song, time_k)
|
293 |
|