Copyright © 2005-2019 MultiMedia Soft

VST.InstrumentEventRawApply method

Previous pageReturn to chapter overviewNext page

Remarks

 

Applies a single raw MIDI event to the VST instrument. Applying multiple events at the same time, as seen for the MIDIMan class, is not supported.

 

For further details about methods related to the use of VST effects refer to the VSTs class.

For further details about managing a VST effect refer to the How to manage VST effects tutorial.

For further details about the use of MIDI protocol see the MIDIMan class section and the How to deal with MIDI protocol tutorial.

 

 

Syntax

 

[Visual Basic]

Public Function InstrumentEventRawApply (

nPlayerIndex as Int16,

nByte0 as Byte,

nByte1 as Byte,

nByte2 as Byte

) as enumErrorCodes


 

[C#]

public enumErrorCodes InstrumentEventRawApply (

Int16 nPlayerIndex,

Byte nByte0,

Byte nByte1,

Byte nByte2

);


 

[C++]

public: enumErrorCodes InstrumentEventRawApply (

Int16 nPlayerIndex,

Byte nByte0,

Byte nByte1,

Byte nByte2

);


 

 

 

Parameter

Description

 

 

nPlayerIndex

Number representing the zero-based index of the player that hosts the VST instrument

nByte0

First byte of the raw sequence

nByte1

Second byte of the raw sequence

nByte2

Third byte of the raw sequence

 

 

Return value

 

Value

Meaning

 

 

Negative value

An error occurred (see the LastError property for further error details)

enumErrorCodes.NOERROR (0)

The method call was successful.