Copyright © 2001-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 MIDI object, is not supported.

 

For further details about methods related to the use of VST effects refer to the VST COM object.

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 MIDI object section and the How to deal with MIDI protocol tutorial.

 

 

Syntax

 

[Visual Basic]

control.VST.InstrumentEventRawApply (

nPlayer as Integer,

nByte0 as Byte,

nByte1 as Byte,

nByte2 as Byte

) as enumErrorCodes


 

[C++]

short control.VST.InstrumentEventRawApply (

short nPlayer,

BYTE nByte0,

BYTE nByte1,

BYTE nByte2

);


 

Parameter

Description

 

 

nPlayer

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, check the LastError property value in order to get the error code

enumErrorCodes.ERR_NOERROR (0)

The method call was successful