Copyright © 2013-2015 MultiMedia Soft

MidiDjConsole.ProfileRangeMidiCommandGet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Obtains parameters of the short MIDI command specific for a range control item (slider, rotary knob or Jog wheel) stored inside the profile. See the MidiDjConsole.ProfileRangeMidiCommandSet method for details about the structure of a short MIDI command representing a range control item.

 

The combination of MIDI command parameters is usually defined inside the technical specifications of the physical DJ Console and may vary a lot depending upon the DJ Console in use.

 

For further details about interfacing with MIDI DJ Consoles see the MidiDjConsole object section and the How to manage MIDI DJ consoles tutorial.

 

 

Syntax

 

[Visual Basic]

MidiDevices.MidiDjConsole.ProfileRangeMidiCommandGet (

strItemName as String,

ByRef nMidiCommand as Int16,

ByRef nMidiChannel as Int16,

ByRef nMidiControlCode as Int16

) as enumDjcErrorCodes


 

[C#]

public enumDjcErrorCodes MidiDjConsole.ProfileRangeMidiCommandGet (

string strItemName,

ref Int16 nMidiCommand,

ref Int16 nMidiChannel,

ref Int16 nMidiControlCode

);


 

[C++]

public: enumDjcErrorCodes MidiDjConsole.ProfileRangeMidiCommandGet (

string strItemName,

Int16 __gc *nMidiCommand,

Int16 __gc *nMidiChannel,

Int16 __gc *nMidiControlCode

);


 

Parameter

Description

 

 

strItemName

String containing the name of the range control item.

If no range control item with this specific name should be available inside the profile, the method would fail and would return an error code.

nMidiCommand

Reference that, on return from the method call, will contain the number representing the MIDI command issued when the range control is moved. In many cases the value of this parameter is 176 (hex B0) which indicates a "Control change" MIDI command.

nMidiChannel

Reference that, on return from the method call, will contain the number representing the MIDI channel.

nMidiControlCode

Reference that, on return from the method call, will contain the number representing the code of the physical range control item (slider, rotary knob or Jog wheel).

 

 

Return value

 

Value

Meaning

 

 

Negative value

An error occurred. Check the LastError property value in order to see the last error.

enumDjcErrorCodes.ERR_DJC_NOERROR (0)

The method call was successful.