13namespace tracktion {
inline namespace engine
16class GeneratorAndNoteList;
48 MidiMessageArray::MPESourceID
getMPESourceID()
const {
return midiSourceID; }
76 bool useMPEChannelMode;
77 const BeatRange editRange;
83 MidiMessageArray::MPESourceID midiSourceID = MidiMessageArray::createUniqueMPESourceID();
A Node that plays MIDI data from a MidiMessageSequence, at a specific MIDI channel.
EditItemID getItemID() const
Returns the EditItemID to identify this Node.
bool isReadyToProcess() override
Should return true when this node is ready to be processed.
tracktion::graph::NodeProperties getNodeProperties() override
Should return the properties of the node.
MidiMessageArray::MPESourceID getMPESourceID() const
Returns the MPESourceID used by this Node.
const std::shared_ptr< ActiveNoteList > & getActiveNoteList() const
Returns the ActiveNoteList in use for this Node.
void prepareToPlay(const tracktion::graph::PlaybackInitialisationInfo &) override
Called once before playback begins for each node.
void process(ProcessContext &) override
Called when the node is to be processed.
void killActiveNotes(MidiMessageArray &, double timestampForNoteOffs)
Iterates the ActiveNoteList adding note-off events for the active notes and then resets them.
void setDynamicOffsetBeats(BeatDuration) override
Sets an offset to be applied to all times in this node, effectively shifting it forwards or backwards...
Base class for Nodes that provides information about the current process call.
Main graph Node processor class.
Represents a duration in beats.
ID for objects of type EditElement - e.g.
Provides a thread-safe way to share a clip's levels with an audio engine without worrying about the C...
Holds the state of a process call.
Holds some really basic properties of a node.
Passed into Nodes when they are being initialised, to give them useful contextual information that th...