Singing Pitch Tracker
v0.3.1Real-time pitch detection and score alignment for a singer, from microphone input
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
analyze_recording
Analyse a pre-recorded WAV file against a reference score. Returns per-note pitch accuracy and a summary histogram.
| Parameter | Type | Description |
|---|---|---|
audio_path * | string | Absolute path to a 16-bit PCM WAV file |
musicxml * | string | MusicXML document as a string |
part_id * | string | Part ID to compare against (e.g. 'Soprano') |
load_score
Load a reference MusicXML score into a named session. Returns a session_id to use with start_monitoring.
| Parameter | Type | Description |
|---|---|---|
musicxml * | string | MusicXML document as a string |
part_id * | string | Part ID to monitor (e.g. 'Soprano') |
start_monitoring
Open the microphone and begin pitch detection against the loaded score. Requires a session_id from load_score.
| Parameter | Type | Description |
|---|---|---|
session_id * | string | Session ID from load_score |
tempo_bpm | integer | Override tempo in BPM (default: score tempo) |
get_current_position
Poll the current score position and pitch accuracy. Call repeatedly while monitoring. Returns measure, beat, and accuracy.
| Parameter | Type | Description |
|---|---|---|
session_id * | string | Session ID from load_score |
stop_monitoring
Stop the microphone and return a session summary. The session is cleaned up after this call.
| Parameter | Type | Description |
|---|---|---|
session_id * | string | Session ID from load_score |
list_capabilities
List supported formats, tools, and backend information for this server
health_check
Check that all runtime dependencies are available and report their status. Use this to verify the server is set up correctly. Returns status for offline analysis (librosa/pYIN) and real-time monitoring (sounddevice/portaudio). Missing portaudio is a warning, not an error — offline analysis still works without it.