Copyright © 2013-2014 MultiMedia Soft

MidiDjConsole.ProfileLedNameGetByMidiCommand method

Previous pageReturn to chapter overviewNext page

Remarks

 

Given parameters of a short MIDI command, obtains the name of the led item stored inside the DJ Console profile having this specific MIDI command, if available. See the MidiDjConsole.ProfileLedMidiCommandSet method for details about the structure of a short MIDI command representing a led 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]

control.MidiDjConsole.ProfileLedNameGetByMidiCommand (

nMidiCommandOn as Integer,

nMidiCommandOff as Integer,

nMidiCommandBlink as Integer,

nMidiChannel as Integer,

nMidiDataOn as Integer,

nMidiDataOff as Integer,

nMidiDataBlink as Integer

) as String


 

[C++]

BSTR control.MidiDjConsole.ProfileLedNameGetByMidiCommand (

short nMidiCommandOn,

short nMidiCommandOff,

short nMidiCommandBlink,

short nMidiChannel,

short nMidiDataOn,

short nMidiDataOff,

short nMidiDataBlink

);


 

Parameter

Description

 

 

nMidiCommandOn

The number representing the MIDI command issued when the physical led needs to be switched on.

nMidiCommandOff

The number representing the MIDI command issued when the physical led needs to be switched off.

nMidiCommandBlink

The number representing the MIDI command issued when the physical led needs to be blinked.

Only intended for usage with DJ Consoles supporting blink natively, set this parameter to 0 for other DJ Consoles.

nMidiChannel

The number representing the MIDI channel.

nMidiDataOn

The number representing the "Data" parameter of the MIDI command issued when the physical led needs to be switched on.

nMidiDataOff

The number representing the "Data" parameter of the MIDI command issued when the physical led needs to be switched off.

nMidiDataBlink

The number representing the "Data" parameter of the MIDI command issued when the physical led needs to be blinked.

Only intended for usage with DJ Consoles supporting blink natively, set this parameter to 0 for other DJ Consoles.

 

 

Return value

 

Value

Meaning

 

 

Empty string

No led item available having the provided MIDI command is stored inside the profile.

Valid string

String containing the name of the led item having the provided MIDI command.