Copyright © 2013-2015 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]

MidiDevices.MidiDjConsole.ProfileLedNameGetByMidiCommand (

nMidiCommandOn as Int16,

nMidiCommandOff as Int16,

nMidiCommandBlink as Int16,

nMidiChannel as Int16,

nMidiDataOn as Int16,

nMidiDataOff as Int16,

nMidiDataBlink as Int16

) as enumDjcErrorCodes


 

[C#]

public enumDjcErrorCodes MidiDjConsole.ProfileLedNameGetByMidiCommand (

Int16 nMidiCommandOn,

Int16 nMidiCommandOff,

Int16 nMidiCommandBlink,

Int16 nMidiChannel,

Int16 nMidiDataOn,

Int16 nMidiDataOff,

Int16 nMidiDataBlink

);


 

[C++]

public: enumDjcErrorCodes MidiDjConsole.ProfileLedNameGetByMidiCommand (

Int16 nMidiCommandOn,

Int16 nMidiCommandOff,

Int16 nMidiCommandBlink,

Int16 nMidiChannel,

Int16 nMidiDataOn,

Int16 nMidiDataOff,

Int16 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.