channel_set
Change one Channel Rack channel's volume, pan, mute, solo, pitch, name, color, or mixer routing in a single call, with readback receipts. Requires write mode.
Instructions
Change any combination of one Channel Rack channel's settings in one call.
Set only the fields to change: volume, pan, mute, solo, pitch, name and
color, mixer routing, and exclusive selection. Requires write mode
(session_set_write_mode). Writes run in that order, each read back on a
later FL tick with its own receipt; verified is true only when every write
verified. Non-atomic: earlier writes remain if a later one fails. Use
plugin_set_parameter for the channel's instrument, channel_set_steps for
its step grid, and piano_roll_write_notes for its notes. Does not save.Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pan | No | Channel pan from -1 left to 1 right. | |
| name | No | Absolute channel name. | |
| color | No | FL 0x--BBGGRR color word; FL owns the high byte, so the low 24 bits are verified. | |
| muted | No | Absolute mute state. | |
| select | No | Also make this the only selected channel, after the other changes. | |
| soloed | No | Absolute solo state. | |
| channel_index | Yes | Global Channel Rack index from channel_list. | |
| expected_before | No | Optional channel_fingerprint and current values from channel_list for the fields this call changes; refuse if any changed. The fingerprint is checked up to the first name, color, or routing change. | |
| pitch_normalized | No | Channel pitch knob from -1 to 1, not semitones; the receipt reports semitones. | |
| mixer_destination | No | Mixer track this channel feeds; -1 leaves it unassigned. | |
| volume_normalized | No | Channel volume 0..1. | |
| stop_on_unverified | No | Skip the remaining writes after the first write whose readback did not verify. An unknown outcome always stops the sequence. | |
| 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 |
|---|---|---|---|
| results | Yes | ||
| verified | Yes | ||
| warnings | No | ||
| completed | Yes | ||
| applied_at | Yes | ||
| channel_index | Yes | ||
| project_saved | No | ||
| skipped_count | Yes | ||
| skipped_steps | No | ||
| schema_version | No | 1.0 | |
| stopped_reason | No | ||
| attempted_count | Yes | ||
| requested_count | Yes | ||
| rollback_attempted | No | ||
| stop_on_unverified | Yes | ||
| session_fingerprint | Yes | ||
| automatic_replay_attempted | No | ||
| one_session_preflight_completed | No |