|
tracktion-engine 3.0-10-g034fdde4aa5
Tracktion Engine — High level data model for audio applications
« « « Anklang Documentation |
Public Member Functions | |
| QuantisationType (const juce::ValueTree &, juce::UndoManager *) | |
| QuantisationType (const QuantisationType &) | |
| QuantisationType & | operator= (const QuantisationType &) |
| bool | operator== (const QuantisationType &) const |
| void | applyQuantisationToSequence (juce::MidiMessageSequence &, Edit &, TimePosition sequenceStartOffset) |
| bool | isEnabled () const |
| this type may represent "no quantising" | |
| void | setType (const juce::String &newTypeName) |
| juce::String | getType (bool translated) const |
| int | getTimecodeSnapTypeLevel (bool &isTriplet) const noexcept |
| Returns the TimecodeSnapType level for the current quantisation type. | |
| float | getProportion () const |
| the proportion 0..1 of the amount to quantise stuff by. | |
| void | setProportion (float prop) |
| bool | isQuantisingNoteOffs () const |
| If false, quantising a note on will keep the note its original length. | |
| void | setIsQuantisingNoteOffs (bool isQuantising) |
| BeatPosition | roundBeatToNearest (BeatPosition beatNumber) const |
| BeatPosition | roundBeatUp (BeatPosition beatNumber) const |
| BeatPosition | roundBeatToNearestNonZero (BeatPosition beatNumber) const |
| TimePosition | roundToNearest (TimePosition, const Edit &) const |
| TimePosition | roundUp (TimePosition, const Edit &) const |
Static Public Member Functions | |
| static juce::StringArray | getAvailableQuantiseTypes (bool translated) |
| static juce::String | getDefaultType (bool translated) |
Public Attributes | |
| juce::ValueTree | state |
| juce::CachedValue< juce::String > | typeName |
| juce::CachedValue< float > | proportion |
| juce::CachedValue< bool > | quantiseNoteOffs |
Definition at line 17 of file tracktion_QuantisationType.h.
| tracktion::engine::QuantisationType::QuantisationType | ( | ) |
Definition at line 41 of file tracktion_QuantisationType.cpp.
| tracktion::engine::QuantisationType::QuantisationType | ( | const juce::ValueTree & | vt, |
| juce::UndoManager * | um | ||
| ) |
Definition at line 46 of file tracktion_QuantisationType.cpp.
|
override |
Definition at line 51 of file tracktion_QuantisationType.cpp.
| tracktion::engine::QuantisationType::QuantisationType | ( | const QuantisationType & | other | ) |
Definition at line 56 of file tracktion_QuantisationType.cpp.
| void tracktion::engine::QuantisationType::applyQuantisationToSequence | ( | juce::MidiMessageSequence & | ms, |
| Edit & | ed, | ||
| TimePosition | sequenceStartOffset | ||
| ) |
Definition at line 238 of file tracktion_QuantisationType.cpp.
|
static |
Definition at line 205 of file tracktion_QuantisationType.cpp.
|
static |
Definition at line 216 of file tracktion_QuantisationType.cpp.
| float tracktion::engine::QuantisationType::getProportion | ( | ) | const |
the proportion 0..1 of the amount to quantise stuff by.
Definition at line 48 of file tracktion_QuantisationType.h.
|
noexcept |
Returns the TimecodeSnapType level for the current quantisation type.
Because the TimecodeSnapType level means something different if the time sig is triplets, this also needs to return the triplet type.
Definition at line 129 of file tracktion_QuantisationType.cpp.
| juce::String tracktion::engine::QuantisationType::getType | ( | bool | translated | ) | const |
Definition at line 119 of file tracktion_QuantisationType.cpp.
| bool tracktion::engine::QuantisationType::isEnabled | ( | ) | const |
this type may represent "no quantising"
Definition at line 143 of file tracktion_QuantisationType.cpp.
| bool tracktion::engine::QuantisationType::isQuantisingNoteOffs | ( | ) | const |
If false, quantising a note on will keep the note its original length.
If true (the default), note offs will be quantised to the same grid.
Definition at line 54 of file tracktion_QuantisationType.h.
| QuantisationType & tracktion::engine::QuantisationType::operator= | ( | const QuantisationType & | other | ) |
Definition at line 64 of file tracktion_QuantisationType.cpp.
| bool tracktion::engine::QuantisationType::operator== | ( | const QuantisationType & | o | ) | const |
Definition at line 74 of file tracktion_QuantisationType.cpp.
| BeatPosition tracktion::engine::QuantisationType::roundBeatToNearest | ( | BeatPosition | beatNumber | ) | const |
Definition at line 174 of file tracktion_QuantisationType.cpp.
| BeatPosition tracktion::engine::QuantisationType::roundBeatToNearestNonZero | ( | BeatPosition | beatNumber | ) | const |
Definition at line 184 of file tracktion_QuantisationType.cpp.
| BeatPosition tracktion::engine::QuantisationType::roundBeatUp | ( | BeatPosition | beatNumber | ) | const |
Definition at line 179 of file tracktion_QuantisationType.cpp.
| TimePosition tracktion::engine::QuantisationType::roundToNearest | ( | TimePosition | time, |
| const Edit & | edit | ||
| ) | const |
Definition at line 153 of file tracktion_QuantisationType.cpp.
| TimePosition tracktion::engine::QuantisationType::roundUp | ( | TimePosition | time, |
| const Edit & | edit | ||
| ) | const |
Definition at line 158 of file tracktion_QuantisationType.cpp.
| void tracktion::engine::QuantisationType::setIsQuantisingNoteOffs | ( | bool | isQuantising | ) |
Definition at line 55 of file tracktion_QuantisationType.h.
| void tracktion::engine::QuantisationType::setProportion | ( | float | prop | ) |
Definition at line 148 of file tracktion_QuantisationType.cpp.
| void tracktion::engine::QuantisationType::setType | ( | const juce::String & | newTypeName | ) |
Definition at line 38 of file tracktion_QuantisationType.h.
| juce::CachedValue<float> tracktion::engine::QuantisationType::proportion |
Definition at line 67 of file tracktion_QuantisationType.h.
| juce::CachedValue<bool> tracktion::engine::QuantisationType::quantiseNoteOffs |
Definition at line 68 of file tracktion_QuantisationType.h.
| juce::ValueTree tracktion::engine::QuantisationType::state |
Definition at line 65 of file tracktion_QuantisationType.h.
| juce::CachedValue<juce::String> tracktion::engine::QuantisationType::typeName |
Definition at line 66 of file tracktion_QuantisationType.h.