|
tracktion-engine 3.0-10-g034fdde4aa5
Tracktion Engine — High level data model for audio applications
« « « Anklang Documentation |
Public Member Functions | |
| MidiExpression (const juce::ValueTree &v) | |
| Creates a MidiExpression interface to an existing MIDI note state. | |
| BeatPosition | getBeatPosition () const noexcept |
| Returns the beat position relative to the note's start. | |
| void | setBeatPosition (BeatPosition newBeat, juce::UndoManager *um) |
| Sets the beat position. | |
| float | getValue () const noexcept |
| Returns the value of the expression. | |
| void | setValue (float newValue, juce::UndoManager *um) |
| Sets the value with some range validation. | |
Static Public Member Functions | |
| static bool | noteHasExpression (const juce::ValueTree ¬eState) noexcept |
| Returns true if this MidiNote is an expressive note. | |
| static bool | noteHasExpression (const juce::ValueTree ¬eState, const juce::Identifier &type) noexcept |
| Returns true if this MidiNote is an expressive note of type. | |
| static bool | listHasExpression (const MidiList &midiList) noexcept |
| Returns true if this MidiList is an expressive note. | |
| static bool | isExpression (const juce::Identifier &type) noexcept |
| static juce::ValueTree | createAndAddExpressionToNote (juce::ValueTree ¬eState, const juce::Identifier &expressionType, BeatPosition beat, float value, juce::UndoManager *um) |
Public Attributes | |
| juce::ValueTree | state |
Definition at line 14 of file tracktion_MidiExpression.h.
| tracktion::engine::MidiExpression::MidiExpression | ( | const juce::ValueTree & | v | ) |
Creates a MidiExpression interface to an existing MIDI note state.
This can be either a MidiNote or expression tree.
Definition at line 58 of file tracktion_MidiExpression.h.
|
static |
Definition at line 39 of file tracktion_MidiExpression.h.
|
noexcept |
Returns the beat position relative to the note's start.
Definition at line 67 of file tracktion_MidiExpression.h.
|
noexcept |
Returns the value of the expression.
N.B. The range will vary depending on the type.
Definition at line 78 of file tracktion_MidiExpression.h.
|
staticnoexcept |
Definition at line 34 of file tracktion_MidiExpression.h.
|
staticnoexcept |
Returns true if this MidiList is an expressive note.
Definition at line 225 of file tracktion_MidiList.cpp.
|
staticnoexcept |
Returns true if this MidiNote is an expressive note.
Definition at line 17 of file tracktion_MidiExpression.h.
|
staticnoexcept |
Returns true if this MidiNote is an expressive note of type.
Definition at line 24 of file tracktion_MidiExpression.h.
| void tracktion::engine::MidiExpression::setBeatPosition | ( | BeatPosition | newBeat, |
| juce::UndoManager * | um | ||
| ) |
Sets the beat position.
Definition at line 70 of file tracktion_MidiExpression.h.
| void tracktion::engine::MidiExpression::setValue | ( | float | newValue, |
| juce::UndoManager * | um | ||
| ) |
Sets the value with some range validation.
Definition at line 81 of file tracktion_MidiExpression.h.
| juce::ValueTree tracktion::engine::MidiExpression::state |
Definition at line 89 of file tracktion_MidiExpression.h.