Loading...
Searching...
No Matches
Patternist::pattern_node::lane_state Struct Reference
Classes | |
| struct | decided |
Public Attributes | |
| int64_t | played {} |
| Steps the lane has started since the pattern started playing. | |
| int64_t | early {-1} |
| A step scheduled ahead because it plays early, or -1. | |
| int16_t | held {-1} |
| Note the lane holds until its next step, or -1. | |
| double | held_on {-std::numeric_limits<double>::infinity()} |
| int64_t | last {-1} |
Index of the step playing now, counted like played, or -1. | |
| int64_t | shift_for {-1} |
| double | shift {} |
| double | last_at {} |
Where on its grid the step last is, in quarters. | |
| bool | slid {} |
| std::array< decided, 2 > | decisions {} |
Member Data Documentation
◆ held_on
| double Patternist::pattern_node::lane_state::held_on {-std::numeric_limits<double>::infinity()} |
Position of the note-on of held: its release goes after it, even when the next step lands before it - a late step followed by an early one.
◆ shift_for
| int64_t Patternist::pattern_node::lane_state::shift_for {-1} |
Timing random of the note at step shift_for, drawn a step ahead: a note it moves early is scheduled from the step before.
◆ slid
| bool Patternist::pattern_node::lane_state::slid {} |
The note held is slid into the next step: it strikes before the release, and the same note carries on.
The documentation for this struct was generated from the following file: