A lightweight yet powerful audio-to-MIDI converter with pitch bend detection
Python audiolightweightmachine-learningmidimusicpitch-detectionpolyphonicpythontranscriptiontypescript
Format
David Rubinsteinede09c9e190e
diff --git a/basic_pitch/inference.py b/basic_pitch/inference.pyindex 8019707..7d79cf8 100644--- a/basic_pitch/inference.py+++ b/basic_pitch/inference.py@@ -423,7 +423,11 @@ def predict(melodia_trick: bool = True,debug_file: Optional[pathlib.Path] = None,midi_tempo: float = 120,-) -> Tuple[Dict[str, np.array], pretty_midi.PrettyMIDI, List[Tuple[float, float, int, float, Optional[List[int]]]],]:+) -> Tuple[+ Dict[str, np.array],+ pretty_midi.PrettyMIDI,+ List[Tuple[float, float, int, float, Optional[List[int]]]],+]:"""Run a single prediction.Args: