Hello again.

Vladimir Prieto wrote:
> for example:
> 
> official manual for PLAY on DECK A says "F #0", and mixxx xml for
> BCD3000 play is mapped with 0x12.

I just took a look at the manual. If you read higher up, they say the
device sends Note On commands when you press the button and Note Off
when it's released. (You can ignore the note name column.) These
correspond to MIDI status bytes. If you look here:
http://www.mixxx.org/wiki/doku.php/midi_controller_mapping_file_format#definitions_of_the_elements
We've spelled out the corresponding status bytes.

So assuming your device is on MIDI channel 1, the byte sequence for Play
would be:

Button down: status=0x90 midino=0x12
Button up: status=0x80 midino=0x12

But that section of the doc is for commands sent from the device to the
software, which should already work fine. (Of course you can map certain
things to script functions if you want to tune their behavior, like the
jog wheels. For that, follow the instructions on the MIDI Scripting Wiki
page.)


Reading further down (p.15,) it says LEDs are controlled with CC
messages, which are 0xB0 as stated on our Wiki. Then if the value is
less than 64 (0x40,) it turns off the light, and above turns it on.

So to control the Play LED, use these values in an <output> block:

status=0xB0
midino=18 (0x12)
on=0x7F (or any value between 0x40 and 0x7F)
off=0x00 (or any value between 0x00 and 0x3F)
minimum=0.1


Let me know if you have any other questions.

Sincerely,
Sean M. Pappalardo
"D.J. Pegasus"

<<--------------------------------------------------------------------------------->>
This E-Mail message has been scanned for viruses
and cleared by >>SmartMail<< from Smarter Technology, Inc.
<<--------------------------------------------------------------------------------->>

------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Mixxx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mixxx-devel

Reply via email to