|
tracktion-engine 3.0-10-g034fdde4aa5
Tracktion Engine — High level data model for audio applications
« « « Anklang Documentation |
If you need to play back MPE data from a point after the data starts, it's important to reconstruct the expression values immediately preceding the last note-on, then the note on, then the last expression values before the trim point. More...
#include "tracktion_MPEStartTrimmer.h"
Static Public Member Functions | |
| static void | reconstructExpression (juce::Array< juce::MidiMessage > &mpeMessagesToAddAtStart, const juce::MidiMessageSequence &data, int trimIndex, int channel) |
| Reconstruct note expression for a particular channel. | |
| static void | reconstructExpression (juce::Array< juce::MidiMessage > &mpeMessagesToAddAtStart, const choc::midi::Sequence &data, size_t trimIndex, int channel1to16) |
| Reconstruct note expression for a particular channel. | |
If you need to play back MPE data from a point after the data starts, it's important to reconstruct the expression values immediately preceding the last note-on, then the note on, then the last expression values before the trim point.
If you don't, many instruments that rely on relative starting points (particularly common with CC74, 'timbre') or resetting voices to a start value before the note on, will sound wrong when played back.
Definition at line 22 of file tracktion_MPEStartTrimmer.h.
|
static |
Reconstruct note expression for a particular channel.
Reconstructed messages will be added to the mpeMessagesToAddAtStart array. These messages should be played back (in order) to properly restore the MPE 'state' at the trimIndex.
Definition at line 64 of file tracktion_MPEStartTrimmer.h.
|
static |
Reconstruct note expression for a particular channel.
Reconstructed messages will be added to the mpeMessagesToAddAtStart array. These messages should be played back (in order) to properly restore the MPE 'state' at the trimIndex.
Definition at line 28 of file tracktion_MPEStartTrimmer.h.