Creates a snapshot of a pattern's notes, velocities and gates to avoid costly property parsing.
More...
#include <tracktion_StepClip.h>
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()
| engine::StepClip::Pattern::CachedPattern::CachedPattern |
( |
const Pattern & | , |
|
|
int | channel ) |
◆ getNote()
| bool engine::StepClip::Pattern::CachedPattern::getNote |
( |
int | index | ) |
const |
|
noexcept |
◆ getVelocity()
| int engine::StepClip::Pattern::CachedPattern::getVelocity |
( |
int | index | ) |
const |
|
noexcept |
◆ getGate()
| double engine::StepClip::Pattern::CachedPattern::getGate |
( |
int | index | ) |
const |
|
noexcept |
◆ getProbability()
| float engine::StepClip::Pattern::CachedPattern::getProbability |
( |
int | index | ) |
const |
|
noexcept |
◆ notes
| juce::BigInteger engine::StepClip::Pattern::CachedPattern::notes |
◆ velocities
| juce::Array<int> engine::StepClip::Pattern::CachedPattern::velocities |
◆ gates
| juce::Array<double> engine::StepClip::Pattern::CachedPattern::gates |
◆ probabilities
| juce::Array<float> engine::StepClip::Pattern::CachedPattern::probabilities |
The documentation for this struct was generated from the following file: