channel_set_steps
Set step-sequencer cells on or off for one channel in the current pattern; edits refuse if the grid no longer matches the expected digest, so nothing is overwritten blindly.
Instructions
Turn step-sequencer cells on or off for one channel in the current pattern.
Requires write mode and a fresh channel_get_steps read: the edit refuses if
the grid no longer matches expected_digest, so nothing is overwritten
blindly. Each changed cell is read back on a later tick and reported. Use
piano_roll_write_notes for pitched notes and lengths. Does not save.Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| updates | Yes | Absolute cell states, at most one per step index. | |
| channel_index | Yes | Global Channel Rack index from channel_list. | |
| pattern_number | Yes | FL's current pattern; the same value given to channel_get_steps. | |
| expected_digest | Yes | Required digest from the latest channel_get_steps read of this grid. | |
| 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 |
|---|---|---|---|
| after | Yes | ||
| before | Yes | ||
| verified | Yes | ||
| warnings | No | ||
| applied_at | Yes | ||
| index_scope | No | global | |
| channel_index | Yes | ||
| project_saved | No | ||
| bridge_command | No | sequencer.set | |
| cells_verified | Yes | ||
| pattern_number | Yes | ||
| schema_version | No | 1.0 | |
| expected_digest | Yes | ||
| requested_updates | Yes | ||
| undo_point_created | No | ||
| verification_basis | No | readback_on_a_later_fl_idle_tick | |
| session_fingerprint | No | ||
| verification_summary | Yes | ||
| expected_before_applied | No | ||
| session_precondition_applied | No |