Skip to content

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

Small update for consistency

Jeff Macaluso29b8197e0b6e
diff --git a/README.md b/README.md
index 8627a5a..4a2a482 100644
--- a/README.md
+++ b/README.md
@@ -86,7 +86,7 @@ Import `basic-pitch` into your own Python code and run the [`predict`](basic_pit
from basic_pitch.inference import predict
from basic_pitch import ICASSP_2022_MODEL_PATH
-model_output, midi_data, note_activations = predict(<input-audio-path>)
+model_output, midi_data, note_events = predict(<input-audio-path>)
```
- `<minimum-frequency>` & `<maximum-frequency>` (*float*s) set the maximum and minimum allowed note frequency, in Hz, returned by the model. Pitch events with frequencies outside of this range will be excluded from the prediction results.
@@ -108,7 +108,7 @@ basic_pitch_model = tf.saved_model.load(str(ICASSP_2022_MODEL_PATH))
for x in range():
...
- model_output, midi_data, note_activations = predict(
+ model_output, midi_data, note_events = predict(
<loop-x-input-audio-path>,
basic_pitch_model,
)