TracktionEngine
Public Member Functions | List of all members
tracktion::engine::AudioTrack::Listener Struct Referenceabstract

Listener interface to be notified of recorded MIDI being sent to the plugins. More...

Inheritance diagram for tracktion::engine::AudioTrack::Listener:

Public Member Functions

virtual ~Listener ()=default
 
virtual void injectLiveMidiMessage (AudioTrack &, const MidiMessageArray::MidiMessageWithSource &, bool &wasUsed)=0
 Called when a MidiMessage (i.e. More...
 
virtual void recordedMidiMessageSentToPlugins (AudioTrack &, const juce::MidiMessage &)=0
 Called when a recorded MidiMessage (i.e. More...
 

Detailed Description

Listener interface to be notified of recorded MIDI being sent to the plugins.

Constructor & Destructor Documentation

◆ ~Listener()

virtual tracktion::engine::AudioTrack::Listener::~Listener ( )
virtualdefault

Member Function Documentation

◆ injectLiveMidiMessage()

virtual void tracktion::engine::AudioTrack::Listener::injectLiveMidiMessage ( AudioTrack ,
const MidiMessageArray::MidiMessageWithSource ,
bool &  wasUsed 
)
pure virtual

Called when a MidiMessage (i.e.

from a soft-keyboard) should be injected in to the playback graph. If the message was used, the listener should set the wasUsed argument to true or a message may be shown to the user to notify them of why they couldn't hear the sound.

◆ recordedMidiMessageSentToPlugins()

virtual void tracktion::engine::AudioTrack::Listener::recordedMidiMessageSentToPlugins ( AudioTrack ,
const juce::MidiMessage &   
)
pure virtual

Called when a recorded MidiMessage (i.e.

from a clip) has been sent to the plugin chain. This will be called from the message thread.


The documentation for this struct was generated from the following file: