voice_record_and_transcribe
Record audio from your microphone and transcribe it into musical notes, supporting polyphonic detection for chords or monophonic for single notes.
Instructions
Record the mic for duration_sec seconds and transcribe what you played.
Returns raw notes + the temp WAV path. Use this when you want to inspect the transcription before touching the piano roll. 3 short + 1 long beep plays at start, 1 beep at stop.
polyphonic=True uses Spotify Basic Pitch (chords / overlapping notes —
guitar strums, piano, etc.); needs the polyphonic extra. Default is the
lightweight monophonic pyin engine (one note at a time — humming).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| duration_sec | No | ||
| device | No | ||
| min_note_sec | No | ||
| fmin_hz | No | ||
| fmax_hz | No | ||
| polyphonic | No |