channel_get_steps
Read a channel's step-sequencer grid in the current pattern, returning each step's on/off state and a digest to guard later edits against stale data.
Instructions
Read one channel's step-sequencer grid in the current pattern.
Read-only. Returns each step's on/off state and a digest of the grid. Pass
that digest as channel_set_steps' expected_digest so the edit refuses if
the grid changed in between. The pattern must be the current one; select
it first with pattern_set(select=true).Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel_index | Yes | Global Channel Rack index from channel_list. | |
| pattern_number | Yes | Pattern to read; it must be FL's current pattern (see pattern_list). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cells | Yes | ||
| digest | Yes | ||
| warnings | No | ||
| step_count | Yes | ||
| index_scope | No | global | |
| observed_at | Yes | ||
| channel_index | Yes | ||
| pattern_number | Yes | ||
| schema_version | No | 1.0 | |
| grid_resolution | No | sixteenth_note | |
| digest_algorithm | No | sha256-canonical-json-v1 | |
| observation_atomic | No | ||
| project_dirty_flag | No | ||
| current_pattern_number | Yes |