MidiDjConsoleEventRangeMoved event |
|
Remarks
Occurs when a physical range control (sliders, jog wheels, rotary knobs, etc.) mapped into the DJ Console profile has been moved.
Events are sent to the container application only if a connection has been established between the instance of the component and the DJ Console through a call to the MidiDjConsole.Connect method.
For further details about input events management see the How to synchronize the container application with the control tutorial.
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] MidiDjConsoleEventRangeMoved ( strButtonName as String, nValue as Integer, nTimeStamp as Long ) |
[C++] void MidiDjConsoleEventRangeMoved ( BSTR strButtonName, short nValue, long nTimeStamp ); |
Parameter |
Description |
|
|
strButtonName |
Name given to the range control when mapped into the DJ Console profile |
nValue |
The new value of the control. Typically this value will be in the range from 0 to 127 (hex 7f). For certain types of controls, like jog wheels, the value could determine the direction of movement of the physical control (clockwise/anti-clockwise or up/down): refer to the technical specifications of the DJ Console for knowing the exact meaning of each reported value. |
nTimeStamp |
The time stamp of the event expressed in milliseconds elapsed from the moment in which the MIDI input device of the DJ Console was opened through a call to the MidiDevices.Open method. |