projectlosangeles
commited on
Commit
•
2833ff9
1
Parent(s):
ca6b87c
Upload TMIDIX.py
Browse files
TMIDIX.py
CHANGED
@@ -1819,6 +1819,7 @@ def plot_ms_SONG(ms_song,
|
|
1819 |
plt.close()
|
1820 |
|
1821 |
if return_plt:
|
|
|
1822 |
return fig
|
1823 |
|
1824 |
plt.show()
|
@@ -9077,10 +9078,10 @@ def count_bad_chords_in_chordified_score(chordified_score,
|
|
9077 |
pitches_index=4,
|
9078 |
patches_index=6,
|
9079 |
max_patch=127,
|
9080 |
-
|
9081 |
):
|
9082 |
|
9083 |
-
if
|
9084 |
CHORDS = ALL_CHORDS_FULL
|
9085 |
|
9086 |
else:
|
|
|
1819 |
plt.close()
|
1820 |
|
1821 |
if return_plt:
|
1822 |
+
plt.close(fig)
|
1823 |
return fig
|
1824 |
|
1825 |
plt.show()
|
|
|
9078 |
pitches_index=4,
|
9079 |
patches_index=6,
|
9080 |
max_patch=127,
|
9081 |
+
use_full_chords=False
|
9082 |
):
|
9083 |
|
9084 |
+
if use_full_chords:
|
9085 |
CHORDS = ALL_CHORDS_FULL
|
9086 |
|
9087 |
else:
|