asigalov61
commited on
Commit
•
1b74287
1
Parent(s):
bc9a4ca
Update app.py
Browse files
app.py
CHANGED
@@ -241,9 +241,9 @@ def Generate_Chords_Progression(total_song_length_in_chords_chunks,
|
|
241 |
chords_progression_summary_string += 'Sorted unique songs chords set: ' + str(len(sorted(set(tuple([a[1] for a in all_song_chords]))))) + ' count + '\n'
|
242 |
chords_progression_summary_string += '=' * 70
|
243 |
chords_progression_summary_string += '\n'
|
244 |
-
print('=' * 70)
|
245 |
for c in sorted(set(tuple([a[1] for a in all_song_chords]))):
|
246 |
-
print(list(c))
|
247 |
chords_progression_summary_string += str(list(c)) + '\n'
|
248 |
chords_progression_summary_string += '=' * 70
|
249 |
chords_progression_summary_string += '\n'
|
@@ -254,22 +254,22 @@ def Generate_Chords_Progression(total_song_length_in_chords_chunks,
|
|
254 |
chords_progression_summary_string += '\n'
|
255 |
print('=' * 70)
|
256 |
for c in TMIDIX.grouped_set(tuple([a[1] for a in all_song_chords])):
|
257 |
-
print(list(c))
|
258 |
chords_progression_summary_string += str(list(c)) + '\n'
|
259 |
chords_progression_summary_string += '=' * 70
|
260 |
chords_progression_summary_string += '\n'
|
261 |
-
print('=' * 70)
|
262 |
-
print('All songs chords')
|
263 |
chords_progression_summary_string += 'All songs chords' + '\n'
|
264 |
chords_progression_summary_string += '=' * 70
|
265 |
chords_progression_summary_string += '\n'
|
266 |
-
print('=' * 70)
|
267 |
for i, pc_tc in enumerate(all_song_chords):
|
268 |
-
print('Song chord #', i)
|
269 |
chords_progression_summary_string += 'Song chord # ' + str(i) + '\n'
|
270 |
-
print(list(pc_tc[0]), '===', list(pc_tc[1]))
|
271 |
chords_progression_summary_string += str(list(pc_tc[0])) + ' === ' + str(list(pc_tc[1])) + '\n'
|
272 |
-
print('=' * 70)
|
273 |
chords_progression_summary_string += '=' * 70
|
274 |
chords_progression_summary_string += '\n'
|
275 |
#========================================================
|
|
|
241 |
chords_progression_summary_string += 'Sorted unique songs chords set: ' + str(len(sorted(set(tuple([a[1] for a in all_song_chords]))))) + ' count + '\n'
|
242 |
chords_progression_summary_string += '=' * 70
|
243 |
chords_progression_summary_string += '\n'
|
244 |
+
#print('=' * 70)
|
245 |
for c in sorted(set(tuple([a[1] for a in all_song_chords]))):
|
246 |
+
#print(list(c))
|
247 |
chords_progression_summary_string += str(list(c)) + '\n'
|
248 |
chords_progression_summary_string += '=' * 70
|
249 |
chords_progression_summary_string += '\n'
|
|
|
254 |
chords_progression_summary_string += '\n'
|
255 |
print('=' * 70)
|
256 |
for c in TMIDIX.grouped_set(tuple([a[1] for a in all_song_chords])):
|
257 |
+
#print(list(c))
|
258 |
chords_progression_summary_string += str(list(c)) + '\n'
|
259 |
chords_progression_summary_string += '=' * 70
|
260 |
chords_progression_summary_string += '\n'
|
261 |
+
#print('=' * 70)
|
262 |
+
#print('All songs chords')
|
263 |
chords_progression_summary_string += 'All songs chords' + '\n'
|
264 |
chords_progression_summary_string += '=' * 70
|
265 |
chords_progression_summary_string += '\n'
|
266 |
+
#print('=' * 70)
|
267 |
for i, pc_tc in enumerate(all_song_chords):
|
268 |
+
#print('Song chord #', i)
|
269 |
chords_progression_summary_string += 'Song chord # ' + str(i) + '\n'
|
270 |
+
#print(list(pc_tc[0]), '===', list(pc_tc[1]))
|
271 |
chords_progression_summary_string += str(list(pc_tc[0])) + ' === ' + str(list(pc_tc[1])) + '\n'
|
272 |
+
#print('=' * 70)
|
273 |
chords_progression_summary_string += '=' * 70
|
274 |
chords_progression_summary_string += '\n'
|
275 |
#========================================================
|