A lightweight yet powerful audio-to-MIDI converter with pitch bend detection
Python audiolightweightmachine-learningmidimusicpitch-detectionpolyphonicpythontranscriptiontypescript
style comment - open can take a path objects
Benjie Genchelc99353d88fe3
diff --git a/tests/data/test_maestro.py b/tests/data/test_maestro.pyindex 27db976..e910963 100644--- a/tests/data/test_maestro.py+++ b/tests/data/test_maestro.py@@ -140,7 +140,7 @@ def test_maestro_invalid_tracks(tmp_path: pathlib.Path) -> None:)for track_id, split in input_data:- with open(str(tmp_path / f"output_{split}.txt"), "r") as fp:+ with open(tmp_path / f"output_{split}.txt", "r") as fp:assert fp.read().strip() == track_id@@ -174,7 +174,7 @@ def test_maestro_invalid_tracks_over_15_min(tmp_path: pathlib.Path) -> None:)for _, split in input_data:- with open(str(tmp_path / f"output_{split}.txt"), "r") as fp:+ with open(tmp_path / f"output_{split}.txt", "r") as fp:assert fp.read().strip() == ""