asigalov61
commited on
Commit
•
bc9a4ca
1
Parent(s):
d1f9189
Update app.py
Browse files
app.py
CHANGED
@@ -238,22 +238,40 @@ def Generate_Chords_Progression(total_song_length_in_chords_chunks,
|
|
238 |
chords_progression_summary_string += '\n'
|
239 |
print('=' * 70)
|
240 |
print('Sorted unique songs chords set:', len(sorted(set(tuple([a[1] for a in all_song_chords])))), 'count')
|
|
|
|
|
|
|
241 |
print('=' * 70)
|
242 |
for c in sorted(set(tuple([a[1] for a in all_song_chords]))):
|
243 |
-
|
|
|
|
|
|
|
244 |
print('=' * 70)
|
245 |
-
print('Grouped songs chords set:', len(TMIDIX.grouped_set(tuple([a[1] for a in all_song_chords]))), '
|
|
|
|
|
|
|
246 |
print('=' * 70)
|
247 |
for c in TMIDIX.grouped_set(tuple([a[1] for a in all_song_chords])):
|
248 |
-
|
|
|
|
|
|
|
249 |
print('=' * 70)
|
250 |
print('All songs chords')
|
|
|
|
|
|
|
251 |
print('=' * 70)
|
252 |
for i, pc_tc in enumerate(all_song_chords):
|
253 |
-
|
254 |
-
|
255 |
-
|
256 |
-
|
|
|
|
|
|
|
257 |
#========================================================
|
258 |
|
259 |
print('-' * 70)
|
|
|
238 |
chords_progression_summary_string += '\n'
|
239 |
print('=' * 70)
|
240 |
print('Sorted unique songs chords set:', len(sorted(set(tuple([a[1] for a in all_song_chords])))), 'count')
|
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'
|
250 |
print('=' * 70)
|
251 |
+
print('Grouped songs chords set:', len(TMIDIX.grouped_set(tuple([a[1] for a in all_song_chords]))), 'count')
|
252 |
+
chords_progression_summary_string += 'Grouped songs chords set: ' + str(len(TMIDIX.grouped_set(tuple([a[1] for a in all_song_chords])))) + ' count' + '\n'
|
253 |
+
chords_progression_summary_string += '=' * 70
|
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 |
#========================================================
|
276 |
|
277 |
print('-' * 70)
|