MidiDjConsole.ProfileButtonNameGetByMidiCommand method |
|
Remarks
Given parameters of a short MIDI command, obtains the name of the push button item stored inside the DJ Console profile having this specific MIDI command, if available. See the MidiDjConsole.ProfileButtonMidiCommandSet method for details about the structure of a short MIDI command representing a push button 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.ProfileButtonNameGetByMidiCommand ( nMidiCommandPressed as Integer, nMidiCommandReleased as Integer, nMidiChannel as Integer, nMidiDataPressed as Integer, nMidiDataReleased as Integer ) as String |
[C++] BSTR control.MidiDjConsole.ProfileButtonNameGetByMidiCommand ( short nMidiCommandPressed, short nMidiCommandReleased, short nMidiChannel, short nMidiDataPressed, short nMidiDataReleased ); |
Parameter |
Description |
|
|
nMidiCommandPressed |
The number representing the MIDI command issued when the physical button is pressed. |
nMidiCommandReleased |
The number representing the MIDI command issued when the physical button is released. |
nMidiChannel |
The number representing the MIDI channel. |
nMidiDataPressed |
The number representing the "Data" parameter of the MIDI command issued when the physical button is pressed. |
nMidiDataReleased |
The number representing the "Data" parameter of the MIDI command issued when the physical button is released. |
Return value
Value |
Meaning |
|
|
Empty string |
No push button item available having the provided MIDI command is stored inside the profile. |
Valid string |
String containing the name of the push button item having the provided MIDI command. |