MidiDjConsole.ProfileDisplayNameGetByMidiCommand method |
|
Remarks
Given parameters of a short MIDI command, obtains the name of the VFD display control item stored inside the DJ Console profile having this specific MIDI command, if available. See the MidiDjConsole.ProfileDisplayMidiCommandSet method for details about the structure of a short MIDI command representing a VFD display 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.ProfileDisplayNameGetByMidiCommand ( nMidiCommand as Int16 nMidiChannel as Int16, nMidiControlCode as Int16 ) as String |
[C#] public string MidiDjConsole.ProfileDisplayNameGetByMidiCommand ( Int16 nMidiCommand, Int16 nMidiChannel, Int16 nMidiControlCode ); |
[C++] public: string MidiDjConsole.ProfileDisplayNameGetByMidiCommand ( Int16 nMidiCommand, Int16 nMidiChannel, Int16 nMidiControlCode ); |
Parameter |
Description |
|
|
nMidiCommand |
The MIDI command issued when display's content needs to be modified. In many cases the value of this parameter is 176 (hex B0) which indicates a "Control change" MIDI command. |
nMidiChannel |
The number representing the MIDI channel. |
nMidiControlCode |
The number representing the code of the VFD display control item sent through the Data1 byte of the short MIDI command. |
Return value
Value |
Meaning |
|
|
Empty string |
No range control item available having the provided MIDI command is stored inside the profile. |
Valid string |
String containing the name of the display item having the provided MIDI command. |