TracktionEngine
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
tracktion::engine::ExternalPlugin Class Reference
Inheritance diagram for tracktion::engine::ExternalPlugin:

Public Types

using Ptr = juce::ReferenceCountedObjectPtr< ExternalPlugin >
 
- Public Types inherited from tracktion::engine::Plugin
enum class  Type { allPlugins , folderTrackPlugins , effectPlugins }
 
using Ptr = juce::ReferenceCountedObjectPtr< Plugin >
 
using Array = juce::ReferenceCountedArray< Plugin >
 
- Public Types inherited from tracktion::engine::Selectable
using WeakRef = juce::WeakReference< Selectable >
 

Public Member Functions

 ExternalPlugin (PluginCreationInfo)
 
 ~ExternalPlugin () override
 
juce::String getIdentifierString () override
 A unique string to idenitify plugin independant of install location. More...
 
void selectableAboutToBeDeleted () override
 Called just before the selectable is about to be deleted so any subclasses should still be valid at this point. More...
 
void processingChanged () override
 
void initialiseFully () override
 Gives the plugin a chance to do extra initialisation when it's been added to an edit. More...
 
void forceFullReinitialise ()
 
juce::String getLoadError ()
 
void flushPluginStateToValueTree () override
 
void flushBusesLayoutToValueTree ()
 
void restorePluginStateFromValueTree (const juce::ValueTree &) override
 
void getPluginStateFromTree (juce::MemoryBlock &)
 
void updateFromMirroredPluginIfNeeded (Plugin &) override
 
void initialise (const PluginInitialisationInfo &) override
 Gives the plugin a chance to set itself up before being played. More...
 
void deinitialise () override
 Called after play stops to release resources. More...
 
void reset () override
 Should reset synth voices, tails, clear delay buffers, etc. More...
 
void setEnabled (bool enabled) override
 Enable/disable the plugin. More...
 
juce::Array< Exportable::ReferencedItemgetReferencedItems () override
 
void reassignReferencedItem (const ReferencedItem &, ProjectItemID newID, double newStartTime) override
 
void applyToBuffer (const PluginRenderContext &) override
 Process the next block of data. More...
 
bool producesAudioWhenNoAudioInput () override
 
int getNumOutputChannelsGivenInputs (int numInputs) override
 This must return the number of output channels that the plugin will produce, given a number of input channels. More...
 
void getChannelNames (juce::StringArray *ins, juce::StringArray *outs) override
 
bool isVST () const noexcept
 
bool isVST3 () const noexcept
 
bool isAU () const noexcept
 
juce::String getName () const override
 The name of the type, e.g. More...
 
juce::String getVendor () override
 
juce::String getTooltip () override
 default returns the name, others can return special stuff if needed More...
 
juce::String getPluginType () override
 
bool isSynth () override
 
bool takesMidiInput () override
 
bool takesAudioInput () override
 
bool isMissing () override
 for things like VSTs where the DLL is missing. More...
 
bool isDisabled () override
 Plugins can be disabled to avoid them crashing Edits. More...
 
double getLatencySeconds () override
 
bool noTail () override
 
double getTailLength () const override
 
bool needsConstantBufferSize () override
 
void trackPropertiesChanged () override
 Track name or colour has changed. More...
 
juce::AudioProcessor * getWrappedAudioProcessor () const override
 
void deleteFromParent () override
 Attempts to delete this plugin, whether it's a master plugin, track plugin, etc. More...
 
juce::String getSelectableDescription () override
 Subclasses must return a description of what they are. More...
 
juce::File getFile () const
 
juce::String getPluginUID () const
 
const char * getDebugName () const noexcept
 
int getNumInputs () const
 
int getNumOutputs () const
 
bool setBusesLayout (juce::AudioProcessor::BusesLayout)
 Attempts to change the layout of the plugin. More...
 
bool setBusLayout (juce::AudioChannelSet, bool isInput, int busIndex)
 Attempts to change the layout of the plugin. More...
 
int getNumPrograms () const
 
int getCurrentProgram () const
 
juce::String getProgramName (int index)
 
juce::String getNumberedProgramName (int i)
 
juce::String getCurrentProgramName ()
 
void setCurrentProgram (int index, bool sendChangeMessage)
 
void setCurrentProgramName (const juce::String &name)
 
bool hasNameForMidiProgram (int programNum, int bank, juce::String &name) override
 Returns the name for a midi program, if there is one. More...
 
bool hasNameForMidiNoteNumber (int note, int midiChannel, juce::String &name) override
 If it's a synth that names its notes, this can return the name it uses for this note 0-127. More...
 
const VSTXMLgetVSTXML () const noexcept
 
juce::AudioPluginInstance * getAudioPluginInstance () const
 
ActiveNoteList getActiveNotes () const
 
- Public Member Functions inherited from tracktion::engine::Plugin
 Plugin (PluginCreationInfo)
 
 ~Plugin () override
 
void selectableAboutToBeDeleted () override
 Called just before the selectable is about to be deleted so any subclasses should still be valid at this point. More...
 
void playStartedOrStopped ()
 called by the system to let the plugin manage its automation stuff More...
 
virtual juce::String getShortName (int)
 
bool isEnabled () const noexcept
 
void setFrozen (bool shouldBeFrozen)
 This is a bit different to being enabled as when frozen a plugin can't be interacted with. More...
 
bool isFrozen () const noexcept
 
void setProcessingEnabled (bool p)
 Enable/Disable processing. More...
 
bool isProcessingEnabled () const noexcept
 
virtual void initialiseWithoutStopping (const PluginInitialisationInfo &)
 Tells the plugin that the audio graph has changed but the plugin isn't being re-initialised - i.e. More...
 
virtual void prepareForNextBlock (TimePosition)
 Called between successive rendering blocks. More...
 
void applyToBufferWithAutomation (const PluginRenderContext &)
 
double getCpuUsage () const noexcept
 
virtual bool canSidechain ()
 
juce::StringArray getInputChannelNames ()
 
juce::StringArray getSidechainSourceNames (bool allowNone)
 
void setSidechainSourceByName (const juce::String &name)
 
juce::String getSidechainSourceName ()
 
void guessSidechainRouting ()
 
int getNumWires () const
 
WiregetWire (int index) const
 
void makeConnection (int srcChannel, int dstChannel, juce::UndoManager *)
 
void breakConnection (int srcChannel, int dstChannel)
 
virtual bool hasNameForMidiBank (int bank, juce::String &name)
 
virtual bool canBeAddedToClip ()
 
virtual bool canBeAddedToRack ()
 
virtual bool canBeAddedToFolderTrack ()
 
virtual bool canBeAddedToMaster ()
 
virtual bool canBeDisabled ()
 
virtual bool canBeMoved ()
 
bool isInRack () const
 
juce::ReferenceCountedObjectPtr< RackTypegetOwnerRackType () const
 
bool isClipEffectPlugin () const
 
AutomatableParameter::Ptr getQuickControlParameter () const
 
void setQuickControlParameter (AutomatableParameter *)
 
void removeFromParent ()
 Detaches the plugin from any parent it might be in. More...
 
TrackgetOwnerTrack () const
 Returns the track if it's a track or clip plugin. More...
 
ClipgetOwnerClip () const
 Returns the clip if that's what it's in. More...
 
PluginListgetOwnerList () const
 
Ptr findPluginThatFeedsIntoThis () const
 
Ptr findPluginThatThisFeedsInto () const
 
void changed () override
 method from Selectable, that's been overridden here to also tell the edit that it's changed. More...
 
juce::Array< ReferencedItemgetReferencedItems () override
 
void reassignReferencedItem (const ReferencedItem &, ProjectItemID newID, double newStartTime) override
 
virtual void sourceMediaChanged ()
 Called when ProjectItem sources are re-assigned so you can reload from the new source. More...
 
bool setPluginToMirror (const Plugin::Ptr &)
 
Plugin::Ptr getMirroredPlugin () const
 
bool baseClassNeedsInitialising () const noexcept
 
void baseClassInitialise (const PluginInitialisationInfo &)
 
void baseClassDeinitialise ()
 
void setSidechainSourceID (EditItemID newID)
 
EditItemID getSidechainSourceID () const
 
void showWindowExplicitly ()
 
void hideWindowForShutdown ()
 
juce::UndoManager * getUndoManager () const noexcept
 
- Public Member Functions inherited from tracktion::engine::Selectable
 Selectable ()
 
virtual ~Selectable ()
 
virtual void selectionStatusChanged (bool isNowSelected)
 Can be overridden to tell this object that it has just been selected or deselected. More...
 
void addSelectableListener (SelectableListener *)
 
void removeSelectableListener (SelectableListener *)
 
void cancelAnyPendingUpdates ()
 If changed() has been called, this will cancel any pending async change notificaions. More...
 
void deselect ()
 
void propertiesChanged ()
 
void notifyListenersOfDeletion ()
 
WeakRef getWeakRef ()
 
- Public Member Functions inherited from tracktion::engine::Exportable
virtual ~Exportable ()=default
 
- Public Member Functions inherited from tracktion::engine::AutomatableEditItem
 AutomatableEditItem (Edit &, const juce::ValueTree &)
 
virtual ~AutomatableEditItem ()
 
juce::Array< AutomatableParameter * > getAutomatableParameters () const
 
int getNumAutomatableParameters () const
 
AutomatableParameter::Ptr getAutomatableParameter (int index) const
 
AutomatableParameter::Ptr getAutomatableParameterByID (const juce::String &paramID) const
 
void deleteParameter (AutomatableParameter *)
 
void deleteAutomatableParameters ()
 
int indexOfAutomatableParameter (const AutomatableParameter::Ptr &) const
 
AutomatableParameterTreegetParameterTree () const
 
juce::ReferenceCountedArray< AutomatableParametergetFlattenedParameterTree () const
 
void addParameterListChangeListener (ParameterListChangeListener *)
 
void removeParameterListChangeListener (ParameterListChangeListener *)
 
bool isAutomationNeeded () const noexcept
 
void setAutomatableParamPosition (TimePosition)
 
bool isBeingActivelyPlayed () const
 
virtual void updateAutomatableParamPosition (TimePosition)
 Updates all the auto params to their positions at this time. More...
 
void updateParameterStreams (TimePosition)
 Updates all the parameter streams to their positions at this time. More...
 
void updateActiveParameters ()
 Iterates all the parameters to find out which ones need to be automated. More...
 
void resetRecordingStatus ()
 Marks the end of an automation recording stream. More...
 
- Public Member Functions inherited from tracktion::engine::EditItem
 EditItem (EditItemID, Edit &)
 
virtual ~EditItem ()=default
 
- Public Member Functions inherited from tracktion::engine::MacroParameterElement
 MacroParameterElement (Edit &, const juce::ValueTree &)
 Constructor. More...
 
virtual ~MacroParameterElement ()=default
 Destructor. More...
 
int getNumMacroParameters () const
 Returns the number of macro parameters for this object. More...
 

Static Public Member Functions

static juce::ValueTree create (Engine &, const juce::PluginDescription &)
 
- Static Public Member Functions inherited from tracktion::engine::Plugin
static bool areSelectedPluginsRackable (SelectionManager &)
 
static RackInstancewrapSelectedPluginsInRack (SelectionManager &)
 
static void sortPlugins (Plugin::Array &)
 
static void sortPlugins (std::vector< Plugin * > &)
 
- Static Public Member Functions inherited from tracktion::engine::Selectable
static void initialise ()
 
static bool isSelectableValid (const Selectable *) noexcept
 checks whether this object has been deleted. More...
 
- Static Public Member Functions inherited from tracktion::engine::Exportable
static juce::Array< Exportable * > addAllExportables (Edit &)
 Returns all the Exportables contained in an Edit. More...
 

Public Attributes

juce::PluginDescription desc
 
juce::CachedValue< float > dryValue
 
juce::CachedValue< float > wetValue
 
AutomatableParameter::Ptr dryGain
 
AutomatableParameter::Ptr wetGain
 
- Public Attributes inherited from tracktion::engine::Plugin
std::unique_ptr< WindowStatewindowState
 
Engineengine
 
juce::ValueTree state
 
- Public Attributes inherited from tracktion::engine::Selectable
WeakRef::Master masterReference
 
- Public Attributes inherited from tracktion::engine::AutomatableEditItem
juce::ValueTree elementState
 
juce::CachedValue< bool > remapOnTempoChange
 
- Public Attributes inherited from tracktion::engine::EditItem
Editedit
 
const EditItemID itemID
 Every EditItem has an ID which is unique within the edit. More...
 
- Public Attributes inherited from tracktion::engine::MacroParameterElement
MacroParameterList macroParameterList
 

Static Public Attributes

static const char * xmlTypeName
 

Additional Inherited Members

- Protected Member Functions inherited from tracktion::engine::Plugin
void valueTreePropertyChanged (juce::ValueTree &, const juce::Identifier &) override
 
void valueTreeChanged () override
 
void valueTreeChildAdded (juce::ValueTree &, juce::ValueTree &) override
 
void valueTreeChildRemoved (juce::ValueTree &, juce::ValueTree &, int) override
 
void valueTreeParentChanged (juce::ValueTree &) override
 
AutomatableParameteraddParam (const juce::String &paramID, const juce::String &name, juce::NormalisableRange< float > valueRange)
 
AutomatableParameteraddParam (const juce::String &paramID, const juce::String &name, juce::NormalisableRange< float > valueRange, std::function< juce::String(float)> valueToStringFunction, std::function< float(const juce::String &)> stringToValueFunction)
 
- Protected Member Functions inherited from tracktion::engine::AutomatableEditItem
void updateLastPlaybackTime ()
 
void clearParameterList ()
 
void addAutomatableParameter (const AutomatableParameter::Ptr &)
 
void rebuildParameterTree ()
 
void saveChangedParametersToState ()
 Saves the explicit value of any parameters that have deviated to the state. More...
 
void restoreChangedParametersFromState ()
 Restores the value of any explicitly set parameters. More...
 
- Protected Member Functions inherited from tracktion::engine::ValueTreeAllEventListener
void valueTreePropertyChanged (juce::ValueTree &, const juce::Identifier &) override
 
void valueTreeChildAdded (juce::ValueTree &, juce::ValueTree &) override
 
void valueTreeChildRemoved (juce::ValueTree &, juce::ValueTree &, int) override
 
void valueTreeChildOrderChanged (juce::ValueTree &, int, int) override
 
void valueTreeParentChanged (juce::ValueTree &) override
 
void valueTreeRedirected (juce::ValueTree &) override
 
- Static Protected Member Functions inherited from tracktion::engine::Plugin
static void getLeftRightChannelNames (juce::StringArray *ins, juce::StringArray *outs)
 
static void getLeftRightChannelNames (juce::StringArray *chans)
 
- Protected Attributes inherited from tracktion::engine::Plugin
juce::CachedValue< AtomicWrapper< bool > > enabled
 
juce::CachedValue< bool > frozen
 
juce::CachedValue< bool > processing
 
juce::CachedValue< juce::String > quickParamName
 
juce::CachedValue< EditItemIDmasterPluginID
 
juce::CachedValue< EditItemIDsidechainSourceID
 
double sampleRate = 44100.0
 
int blockSizeSamples = 512
 

Member Typedef Documentation

◆ Ptr

using tracktion::engine::ExternalPlugin::Ptr = juce::ReferenceCountedObjectPtr<ExternalPlugin>

Constructor & Destructor Documentation

◆ ExternalPlugin()

tracktion::engine::ExternalPlugin::ExternalPlugin ( PluginCreationInfo  )

◆ ~ExternalPlugin()

tracktion::engine::ExternalPlugin::~ExternalPlugin ( )
override

Member Function Documentation

◆ getIdentifierString()

juce::String tracktion::engine::ExternalPlugin::getIdentifierString ( )
overridevirtual

A unique string to idenitify plugin independant of install location.

Reimplemented from tracktion::engine::Plugin.

References tracktion::engine::createIdentifierString(), and desc.

◆ selectableAboutToBeDeleted()

void tracktion::engine::ExternalPlugin::selectableAboutToBeDeleted ( )
overridevirtual

Called just before the selectable is about to be deleted so any subclasses should still be valid at this point.

Reimplemented from tracktion::engine::Selectable.

◆ create()

static juce::ValueTree tracktion::engine::ExternalPlugin::create ( Engine ,
const juce::PluginDescription &   
)
static

◆ processingChanged()

void tracktion::engine::ExternalPlugin::processingChanged ( )
overridevirtual

Reimplemented from tracktion::engine::Plugin.

◆ initialiseFully()

void tracktion::engine::ExternalPlugin::initialiseFully ( )
overridevirtual

Gives the plugin a chance to do extra initialisation when it's been added to an edit.

Reimplemented from tracktion::engine::Plugin.

◆ forceFullReinitialise()

void tracktion::engine::ExternalPlugin::forceFullReinitialise ( )

◆ getLoadError()

juce::String tracktion::engine::ExternalPlugin::getLoadError ( )

◆ flushPluginStateToValueTree()

void tracktion::engine::ExternalPlugin::flushPluginStateToValueTree ( )
overridevirtual

Reimplemented from tracktion::engine::Plugin.

◆ flushBusesLayoutToValueTree()

void tracktion::engine::ExternalPlugin::flushBusesLayoutToValueTree ( )

◆ restorePluginStateFromValueTree()

void tracktion::engine::ExternalPlugin::restorePluginStateFromValueTree ( const juce::ValueTree &  )
overridevirtual

◆ getPluginStateFromTree()

void tracktion::engine::ExternalPlugin::getPluginStateFromTree ( juce::MemoryBlock &  )

◆ updateFromMirroredPluginIfNeeded()

void tracktion::engine::ExternalPlugin::updateFromMirroredPluginIfNeeded ( Plugin )
overridevirtual

Reimplemented from tracktion::engine::Plugin.

◆ initialise()

void tracktion::engine::ExternalPlugin::initialise ( const PluginInitialisationInfo )
overridevirtual

Gives the plugin a chance to set itself up before being played.

This won't be called concurrently with the process thread.

The sample rate and the average block size - although the blocks won't always be the same, and may be bigger.

Don't call this directly or the initialise count will become out of sync.

See also
baseClassInitialise [[ message_thread ]]

Implements tracktion::engine::Plugin.

◆ deinitialise()

void tracktion::engine::ExternalPlugin::deinitialise ( )
overridevirtual

Called after play stops to release resources.

Don't call this directly or the initialise count will become out of sync.

See also
baseClassDeinitialise

Implements tracktion::engine::Plugin.

◆ reset()

void tracktion::engine::ExternalPlugin::reset ( )
overridevirtual

Should reset synth voices, tails, clear delay buffers, etc.

Reimplemented from tracktion::engine::Plugin.

◆ setEnabled()

void tracktion::engine::ExternalPlugin::setEnabled ( bool  )
overridevirtual

Enable/disable the plugin.


Reimplemented from tracktion::engine::Plugin.

◆ getReferencedItems()

juce::Array<Exportable::ReferencedItem> tracktion::engine::ExternalPlugin::getReferencedItems ( )
overridevirtual

◆ reassignReferencedItem()

void tracktion::engine::ExternalPlugin::reassignReferencedItem ( const ReferencedItem ,
ProjectItemID  newID,
double  newStartTime 
)
overridevirtual

◆ applyToBuffer()

void tracktion::engine::ExternalPlugin::applyToBuffer ( const PluginRenderContext )
overridevirtual

Process the next block of data.

The incoming buffer will have an unknown number of channels, and the plugin has to deal with them however it wants to.

The buffer should be resized to the number of output channels that the plugin wants to return (which should be the same or less than the number of output channel names it returns from getChannelNames() - never more than this).

Implements tracktion::engine::Plugin.

◆ producesAudioWhenNoAudioInput()

bool tracktion::engine::ExternalPlugin::producesAudioWhenNoAudioInput ( )
overridevirtual

◆ getNumOutputChannelsGivenInputs()

int tracktion::engine::ExternalPlugin::getNumOutputChannelsGivenInputs ( int  numInputChannels)
overridevirtual

This must return the number of output channels that the plugin will produce, given a number of input channels.

E.g. some might be able to do mono, so will return 1 if the input is 1, 2 if it is 2, etc.

The default impl just returns the number of items that getChannelNames() returns.

Reimplemented from tracktion::engine::Plugin.

◆ getChannelNames()

void tracktion::engine::ExternalPlugin::getChannelNames ( juce::StringArray *  ins,
juce::StringArray *  outs 
)
overridevirtual

Reimplemented from tracktion::engine::Plugin.

◆ isVST()

bool tracktion::engine::ExternalPlugin::isVST ( ) const
noexcept

References desc.

◆ isVST3()

bool tracktion::engine::ExternalPlugin::isVST3 ( ) const
noexcept

References desc.

◆ isAU()

bool tracktion::engine::ExternalPlugin::isAU ( ) const
noexcept

References desc.

◆ getName()

juce::String tracktion::engine::ExternalPlugin::getName ( ) const
overridevirtual

The name of the type, e.g.

"Compressor"

Implements tracktion::engine::Plugin.

References desc.

Referenced by getTooltip().

◆ getVendor()

juce::String tracktion::engine::ExternalPlugin::getVendor ( )
overridevirtual

Reimplemented from tracktion::engine::Plugin.

References desc.

◆ getTooltip()

juce::String tracktion::engine::ExternalPlugin::getTooltip ( )
overridevirtual

default returns the name, others can return special stuff if needed

Reimplemented from tracktion::engine::Plugin.

References getName().

◆ getPluginType()

juce::String tracktion::engine::ExternalPlugin::getPluginType ( )
overridevirtual

Implements tracktion::engine::Plugin.

References xmlTypeName.

◆ isSynth()

bool tracktion::engine::ExternalPlugin::isSynth ( )
overridevirtual

Reimplemented from tracktion::engine::Plugin.

References desc.

Referenced by producesAudioWhenNoAudioInput(), and takesAudioInput().

◆ takesMidiInput()

bool tracktion::engine::ExternalPlugin::takesMidiInput ( )
overridevirtual

Reimplemented from tracktion::engine::Plugin.

◆ takesAudioInput()

bool tracktion::engine::ExternalPlugin::takesAudioInput ( )
overridevirtual

Reimplemented from tracktion::engine::Plugin.

References dryGain, and isSynth().

◆ isMissing()

bool tracktion::engine::ExternalPlugin::isMissing ( )
overridevirtual

for things like VSTs where the DLL is missing.


Reimplemented from tracktion::engine::Plugin.

◆ isDisabled()

bool tracktion::engine::ExternalPlugin::isDisabled ( )
overridevirtual

Plugins can be disabled to avoid them crashing Edits.

Reimplemented from tracktion::engine::Plugin.

◆ getLatencySeconds()

double tracktion::engine::ExternalPlugin::getLatencySeconds ( )
overridevirtual

Reimplemented from tracktion::engine::Plugin.

◆ noTail()

bool tracktion::engine::ExternalPlugin::noTail ( )
overridevirtual

Reimplemented from tracktion::engine::Plugin.

Referenced by producesAudioWhenNoAudioInput().

◆ getTailLength()

double tracktion::engine::ExternalPlugin::getTailLength ( ) const
overridevirtual

Reimplemented from tracktion::engine::Plugin.

◆ needsConstantBufferSize()

bool tracktion::engine::ExternalPlugin::needsConstantBufferSize ( )
overridevirtual

◆ trackPropertiesChanged()

void tracktion::engine::ExternalPlugin::trackPropertiesChanged ( )
overridevirtual

Track name or colour has changed.

Reimplemented from tracktion::engine::Plugin.

◆ getWrappedAudioProcessor()

juce::AudioProcessor* tracktion::engine::ExternalPlugin::getWrappedAudioProcessor ( ) const
overridevirtual

Reimplemented from tracktion::engine::Plugin.

◆ deleteFromParent()

void tracktion::engine::ExternalPlugin::deleteFromParent ( )
overridevirtual

Attempts to delete this plugin, whether it's a master plugin, track plugin, etc.

This will call removeFromParent but also hide any automation parameters etc. being shown on tracks and hide plugin windows etc. Use this method if the plugin is being fully deleted from the Edit.

Reimplemented from tracktion::engine::Plugin.

◆ getSelectableDescription()

juce::String tracktion::engine::ExternalPlugin::getSelectableDescription ( )
overridevirtual

Subclasses must return a description of what they are.

Implements tracktion::engine::Selectable.

◆ getFile()

juce::File tracktion::engine::ExternalPlugin::getFile ( ) const

◆ getPluginUID()

juce::String tracktion::engine::ExternalPlugin::getPluginUID ( ) const

References desc.

◆ getDebugName()

const char* tracktion::engine::ExternalPlugin::getDebugName ( ) const
noexcept

◆ getNumInputs()

int tracktion::engine::ExternalPlugin::getNumInputs ( ) const

◆ getNumOutputs()

int tracktion::engine::ExternalPlugin::getNumOutputs ( ) const

◆ setBusesLayout()

bool tracktion::engine::ExternalPlugin::setBusesLayout ( juce::AudioProcessor::BusesLayout  )

Attempts to change the layout of the plugin.

◆ setBusLayout()

bool tracktion::engine::ExternalPlugin::setBusLayout ( juce::AudioChannelSet  ,
bool  isInput,
int  busIndex 
)

Attempts to change the layout of the plugin.

◆ getNumPrograms()

int tracktion::engine::ExternalPlugin::getNumPrograms ( ) const

◆ getCurrentProgram()

int tracktion::engine::ExternalPlugin::getCurrentProgram ( ) const

◆ getProgramName()

juce::String tracktion::engine::ExternalPlugin::getProgramName ( int  index)

◆ getNumberedProgramName()

juce::String tracktion::engine::ExternalPlugin::getNumberedProgramName ( int  i)

◆ getCurrentProgramName()

juce::String tracktion::engine::ExternalPlugin::getCurrentProgramName ( )

◆ setCurrentProgram()

void tracktion::engine::ExternalPlugin::setCurrentProgram ( int  index,
bool  sendChangeMessage 
)

◆ setCurrentProgramName()

void tracktion::engine::ExternalPlugin::setCurrentProgramName ( const juce::String &  name)

◆ hasNameForMidiProgram()

bool tracktion::engine::ExternalPlugin::hasNameForMidiProgram ( int  programNum,
int  bank,
juce::String &  name 
)
overridevirtual

Returns the name for a midi program, if there is one.

programNum = 0 to 127.

Reimplemented from tracktion::engine::Plugin.

◆ hasNameForMidiNoteNumber()

bool tracktion::engine::ExternalPlugin::hasNameForMidiNoteNumber ( int  note,
int  midiChannel,
juce::String &  name 
)
overridevirtual

If it's a synth that names its notes, this can return the name it uses for this note 0-127.

Midi channel is 1-16

Reimplemented from tracktion::engine::Plugin.

◆ getVSTXML()

const VSTXML* tracktion::engine::ExternalPlugin::getVSTXML ( ) const
noexcept

◆ getAudioPluginInstance()

juce::AudioPluginInstance* tracktion::engine::ExternalPlugin::getAudioPluginInstance ( ) const

◆ getActiveNotes()

ActiveNoteList tracktion::engine::ExternalPlugin::getActiveNotes ( ) const

Member Data Documentation

◆ xmlTypeName

const char* tracktion::engine::ExternalPlugin::xmlTypeName
static

Referenced by getPluginType().

◆ desc

juce::PluginDescription tracktion::engine::ExternalPlugin::desc

◆ dryValue

juce::CachedValue<float> tracktion::engine::ExternalPlugin::dryValue

◆ wetValue

juce::CachedValue<float> tracktion::engine::ExternalPlugin::wetValue

◆ dryGain

AutomatableParameter::Ptr tracktion::engine::ExternalPlugin::dryGain

Referenced by takesAudioInput().

◆ wetGain

AutomatableParameter::Ptr tracktion::engine::ExternalPlugin::wetGain

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