Creates a snapshot of a pattern's notes, velocities and gates to avoid costly property parsing.
More...
Creates a snapshot of a pattern's notes, velocities and gates to avoid costly property parsing.
Obviously if you change a property this will become invalid.
◆ CachedPattern()
tracktion::engine::StepClip::Pattern::CachedPattern::CachedPattern |
( |
const Pattern & |
, |
|
|
int |
channel |
|
) |
| |
◆ getNote()
bool tracktion::engine::StepClip::Pattern::CachedPattern::getNote |
( |
int |
index | ) |
const |
|
noexcept |
◆ getVelocity()
int tracktion::engine::StepClip::Pattern::CachedPattern::getVelocity |
( |
int |
index | ) |
const |
|
noexcept |
◆ getGate()
double tracktion::engine::StepClip::Pattern::CachedPattern::getGate |
( |
int |
index | ) |
const |
|
noexcept |
◆ getProbability()
float tracktion::engine::StepClip::Pattern::CachedPattern::getProbability |
( |
int |
index | ) |
const |
|
noexcept |
◆ notes
juce::BigInteger tracktion::engine::StepClip::Pattern::CachedPattern::notes |
◆ velocities
juce::Array<int> tracktion::engine::StepClip::Pattern::CachedPattern::velocities |
◆ gates
juce::Array<double> tracktion::engine::StepClip::Pattern::CachedPattern::gates |
◆ probabilities
juce::Array<float> tracktion::engine::StepClip::Pattern::CachedPattern::probabilities |
The documentation for this struct was generated from the following file: