Record and Transcribe Microphone
voice_record_and_transcribeRecords microphone audio and converts it to timestamped MIDI notes for pre-write review, so you can verify note count, timing, and confidence before adding them to FL Studio.
Instructions
Record live microphone audio and transcribe it to timestamped MIDI notes without editing FL Studio yet.
First step of the safe two-step voice workflow: review note count, timing, and
confidence first, then push cleaned notes into FL via voice_notes_to_piano_roll.
Use voice_to_piano_roll for a single-call capture-and-write, or
voice_transcribe_file for an existing audio file. Plays a countdown beep (3 short
1 long) at start and 1 beep at stop; requires the
[audio]extra.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "voice_record_and_transcribe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | No | Optional audio input device index from `voice_list_devices`; omit/None to use the system default mic. | |
| fmax_hz | No | Highest pitch frequency to detect in Hz (default 1200.0 ≈ D6). | |
| fmin_hz | No | Lowest pitch frequency to detect in Hz (default 65.0 ≈ C2). | |
| polyphonic | No | If False (default), use monophonic pyin (best for humming/singing); if True, use Spotify Basic Pitch for chords/polyphonic instruments (requires `[polyphonic]` extra). | |
| duration_sec | No | Microphone recording length in seconds (default 8.0). | |
| min_note_sec | No | Minimum note duration in seconds; shorter pitch glitches are discarded (default 0.08). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||