Struct ittech::Pattern [−][src]
pub struct Pattern {
pub active_channels: ActiveChannels,
pub rows: Vec<Row>,
}
Expand description
Pattern
Each pattern is represented by a table, consisting of rows (time) and columns (simultaneously playing channels). Patterns contain note data for triggering samples (instruments), but they can also contain effect commands that change global, local or channel-local playback parameters.
Patterns are stored as a list of Row
s.
This API will change in the future because it doesn’t impose the invariant that
active_channels
and rows
stay in sync.
Fields
active_channels: ActiveChannels
Active channels
Channel is active if it contains any command in any row of the pattern. Currently skipping rows with effects is not accounted for.
rows: Vec<Row>
Pattern rows
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Pattern
impl UnwindSafe for Pattern
Blanket Implementations
Mutably borrows from an owned value. Read more