A lightweight yet powerful audio-to-MIDI converter with pitch bend detection
Python audiolightweightmachine-learningmidimusicpitch-detectionpolyphonicpythontranscriptiontypescript
update a type
Jan Van Balen3f504cf7b3e7
diff --git a/basic_pitch/inference.py b/basic_pitch/inference.pyindex ef3df49..2976f3e 100644--- a/basic_pitch/inference.py+++ b/basic_pitch/inference.py@@ -20,7 +20,7 @@ import enumimport jsonimport osimport pathlib-from typing import Dict, List, Optional, Tuple, Union+from typing import Dict, List, Optional, Sequence, Tuple, Unionfrom tensorflow import Tensor, signal, keras, saved_modelimport numpy as np@@ -330,7 +330,7 @@ def predict(def predict_and_save(- audio_path_list: List[Union[pathlib.Path, str]],+ audio_path_list: Sequence[Union[pathlib.Path, str]],output_directory: Union[pathlib.Path, str],save_midi: bool,sonify_midi: bool,