channel_play_note
Audition a single MIDI note on a specific FL Studio channel to verify its sound without recording or changing the project. Requires write mode.
Instructions
Play one short note on a channel so the user can hear the sound.
Sends a bounded note-on/note-off pair; nothing is recorded or saved and
the project is unchanged. Requires write mode. The receipt confirms the
dispatch only: FL has no getter for what was heard. To add notes to the
project, use piano_roll_write_notes.Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | MIDI note number; 60 is middle C. | |
| velocity | Yes | MIDI note-on velocity. | |
| duration_ms | No | How long the note sounds before its note-off, in milliseconds. | |
| midi_channel | No | FL MIDI channel override; -1 uses the default. | |
| channel_index | Yes | Global Channel Rack index from channel_list. | |
| expected_before | No | Optional channel_fingerprint from channel_list; refuse if the channel changed. | |
| session_fingerprint | No | Optional session_fingerprint from a recent read. The call refuses after a bridge reload or a reported project load. This is a concurrency guard, not authentication or a durable project identity. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | ||
| velocity | Yes | ||
| warnings | No | ||
| dispatched | Yes | ||
| duration_ms | Yes | ||
| index_scope | No | global | |
| midi_channel | Yes | ||
| channel_index | Yes | ||
| dispatched_at | Yes | ||
| note_off_sent | Yes | ||
| project_saved | No | ||
| bridge_command | No | channel.trigger_note | |
| schema_version | No | 1.0 | |
| undo_point_created | No | ||
| verification_basis | No | dispatch_only_no_state_readback | |
| session_fingerprint | No | ||
| expected_before_applied | No | ||
| session_precondition_applied | No |