VST 3 Interfaces  VST 3.6.14
SDK for developing VST Plug-in
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Groups Pages

MIDI Learn Interface. More...

#include <ivstmidilearn.h>

+ Inheritance diagram for IMidiLearn:

Public Member Functions

virtual tresult onLiveMIDIControllerInput (int32 busIndex, int16 channel, CtrlNumber midiCC)=0
 Called on live input MIDI-CC change associated to a given bus index and MIDI channel. More...
 
- Public Member Functions inherited from FUnknown
virtual tresult queryInterface (const TUID _iid, void **obj)=0
 
virtual uint32 addRef ()=0
 
virtual uint32 release ()=0
 

Static Public Attributes

static const FUID iid
 
- Static Public Attributes inherited from FUnknown
static const FUID iid
 

Detailed Description

MIDI Learn Interface.

If this interface is implemented by the edit controller, the host will call this method whenever there is live MIDI-CC input for the plug-in. This way the plug-in can change it's MIDI-CC parameter mapping and inform the host via the IComponentHandler::restartComponent with the kMidiCCAssignmentChanged flag. Use this if you want to implement custom MIDI-Learn functionality in your plug-in.

Member Function Documentation

virtual tresult onLiveMIDIControllerInput ( int32  busIndex,
int16  channel,
CtrlNumber  midiCC 
)
pure virtual

Called on live input MIDI-CC change associated to a given bus index and MIDI channel.

Member Data Documentation

const FUID iid
static
Empty

Copyright ©2019 Steinberg Media Technologies GmbH. All Rights Reserved. This documentation is under this license.