Skip to content

A lightweight yet powerful audio-to-MIDI converter with pitch bend detection

fix linter py3.8 trailing whitespace issue

Tan Hao Haod01ffa897ad6
diff --git a/basic_pitch/note_creation.py b/basic_pitch/note_creation.py
index f64fed3..63b3395 100644
--- a/basic_pitch/note_creation.py
+++ b/basic_pitch/note_creation.py
@@ -107,8 +107,8 @@ def model_output_to_notes(
def sonify_midi(
- midi: pretty_midi.PrettyMIDI,
- save_path: Union[pathlib.Path, str],
+ midi: pretty_midi.PrettyMIDI,
+ save_path: Union[pathlib.Path, str],
sr: Optional[int] = 44100
) -> None:
"""Sonify a pretty_midi midi object and save to a file.