asigalov61
commited on
Commit
•
4650137
1
Parent(s):
a45a0f4
Update app.py
Browse files
app.py
CHANGED
@@ -376,7 +376,7 @@ def Harmonize_Melody(input_src_midi,
|
|
376 |
harmonization_summary_string += '=' * 70
|
377 |
harmonization_summary_string += '\n'
|
378 |
|
379 |
-
harmonization_summary_string += 'Harmonized ' + str(len(song)) + ' out of ' + str(len(mel_pitches)) + ' source melody pitches' + '\n'
|
380 |
harmonization_summary_string += '=' * 70
|
381 |
harmonization_summary_string += '\n'
|
382 |
|
|
|
376 |
harmonization_summary_string += '=' * 70
|
377 |
harmonization_summary_string += '\n'
|
378 |
|
379 |
+
harmonization_summary_string += 'Harmonized ' + str(len(song) // 2) + ' out of ' + str(len(mel_pitches)) + ' source melody pitches' + '\n'
|
380 |
harmonization_summary_string += '=' * 70
|
381 |
harmonization_summary_string += '\n'
|
382 |
|