◆ MidiExpression()
tracktion::engine::MidiExpression::MidiExpression |
( |
const juce::ValueTree & |
v | ) |
|
◆ noteHasExpression() [1/2]
static bool tracktion::engine::MidiExpression::noteHasExpression |
( |
const juce::ValueTree & |
noteState | ) |
|
|
staticnoexcept |
Returns true if this MidiNote is an expressive note.
◆ noteHasExpression() [2/2]
static bool tracktion::engine::MidiExpression::noteHasExpression |
( |
const juce::ValueTree & |
noteState, |
|
|
const juce::Identifier & |
type |
|
) |
| |
|
staticnoexcept |
Returns true if this MidiNote is an expressive note of type.
◆ listHasExpression()
static bool tracktion::engine::MidiExpression::listHasExpression |
( |
const MidiList & |
midiList | ) |
|
|
staticnoexcept |
Returns true if this MidiList is an expressive note.
◆ isExpression()
static bool tracktion::engine::MidiExpression::isExpression |
( |
const juce::Identifier & |
type | ) |
|
|
staticnoexcept |
◆ createAndAddExpressionToNote()
static juce::ValueTree tracktion::engine::MidiExpression::createAndAddExpressionToNote |
( |
juce::ValueTree & |
noteState, |
|
|
const juce::Identifier & |
expressionType, |
|
|
BeatPosition |
beat, |
|
|
float |
value, |
|
|
juce::UndoManager * |
um |
|
) |
| |
|
static |
◆ getBeatPosition()
BeatPosition tracktion::engine::MidiExpression::getBeatPosition |
( |
| ) |
const |
|
noexcept |
Returns the beat position relative to the note's start.
References state.
◆ setBeatPosition()
void tracktion::engine::MidiExpression::setBeatPosition |
( |
BeatPosition |
newBeat, |
|
|
juce::UndoManager * |
um |
|
) |
| |
◆ getValue()
float tracktion::engine::MidiExpression::getValue |
( |
| ) |
const |
|
noexcept |
Returns the value of the expression.
N.B. The range will vary depending on the type.
References state.
◆ setValue()
void tracktion::engine::MidiExpression::setValue |
( |
float |
newValue, |
|
|
juce::UndoManager * |
um |
|
) |
| |
◆ state
juce::ValueTree tracktion::engine::MidiExpression::state |
The documentation for this struct was generated from the following file: