adding encoding and decoding constants
Browse files- constants.py +7 -0
constants.py
CHANGED
@@ -119,3 +119,10 @@ INSTRUMENT_TRANSFER_CLASSES = [
|
|
119 |
"transfer_to": "Sound Effects",
|
120 |
},
|
121 |
]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
119 |
"transfer_to": "Sound Effects",
|
120 |
},
|
121 |
]
|
122 |
+
|
123 |
+
|
124 |
+
"Encoding and decoding constants"
|
125 |
+
|
126 |
+
DRUMS_BEAT_QUANTIZATION = 4 # 8th notes per beat
|
127 |
+
NONE_DRUMS_BEAT_QUANTIZATION = 4 # 4th notes per beat
|
128 |
+
BEATS_PER_BAR = 4 # 4/4 time
|