A lightweight yet powerful audio-to-MIDI converter with pitch bend detection
Python audiolightweightmachine-learningmidimusicpitch-detectionpolyphonicpythontranscriptiontypescript
Update basic_pitch/constants.py
Benjie Genchelcebd1d6a81ea
diff --git a/basic_pitch/constants.py b/basic_pitch/constants.pyindex 69a2020..4299bbe 100644--- a/basic_pitch/constants.py+++ b/basic_pitch/constants.py@@ -62,4 +62,7 @@ def _freq_bins(bins_per_semitone: int, base_frequency: float, n_semitones: int)FREQ_BINS_NOTES = _freq_bins(NOTES_BINS_PER_SEMITONE, ANNOTATIONS_BASE_FREQUENCY, ANNOTATIONS_N_SEMITONES)FREQ_BINS_CONTOURS = _freq_bins(CONTOURS_BINS_PER_SEMITONE, ANNOTATIONS_BASE_FREQUENCY, ANNOTATIONS_N_SEMITONES)-Split = Enum("Split", ["train", "validation", "test"])+class Split(Enum):+ train = "train"+ validation = "validation"+ test = "test"