Copyright © 2013-2014 MultiMedia Soft

MidiDjConsole.ProfileRangeNameGetByMidiCommand method

Previous pageReturn to chapter overviewNext page



Given parameters of a short MIDI command, obtains the name of the range control item (slider, rotary knob or Jog wheel) stored inside the DJ Console profile having this specific MIDI command, if available. 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.





[Visual Basic]

control.MidiDjConsole.ProfileRangeNameGetByMidiCommand (

nMidiCommand as Integer,

nMidiChannel as Integer,

nMidiControlCode as Integer

) as String



BSTR control.MidiDjConsole.ProfileRangeNameGetByMidiCommand (

short nMidiCommand,

short nMidiChannel,

short nMidiControlCode








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.


The number representing the MIDI channel.


The number representing the code of the physical range control item (slider, rotary knob or Jog wheel).



Return value






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 range control item having the provided MIDI command.