Copyright © 2013-2015 MultiMedia Soft

MidiDjConsole.ProfileButtonNameGetByMidiCommand method

Previous pageReturn to chapter overviewNext page

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]

MidiDevices.MidiDjConsole.ProfileButtonNameGetByMidiCommand (

nMidiCommandPressed as Int16,

nMidiCommandReleased as Int16,

nMidiChannel as Int16,

nMidiDataPressed as Int16,

nMidiDataReleased as Int16

) as String


 

[C#]

public string MidiDjConsole.ProfileButtonNameGetByMidiCommand (

Int16 nMidiCommandPressed,

Int16 nMidiCommandReleased,

Int16 nMidiChannel,

Int16 nMidiDataPressed,

Int16 nMidiDataReleased

);


 

[C++]

public: string MidiDjConsole.ProfileButtonNameGetByMidiCommand (

Int16 nMidiCommandPressed,

Int16 nMidiCommandReleased,

Int16 nMidiChannel,

Int16 nMidiDataPressed,

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