How do I control the LEDs of my MIDI controller?
I have a Reloop BeatMix MIDI DJ controller that I'm fooling around with in Max/MSP, and I wanted to find out if there's a way to control the LEDs on the thing through Max/MSP. I found a MIDI assignment chart in Reloop's manual ( http://www.reloop.com/media/catalog/product/pdf/2/2/5/225067_Reloop_IM.pdf page 20), including some notes on the LEDs, but I have no idea how to call on said LEDs.
I'm fairly new to Max/MSP, so my knowledge is still small. My attempts to find an answer to this question on the internet proved fruitless, as all I could come up with were answers related to Arduino solutions. My turntable is simply connected to my laptop with a USB cable, and I get input from it just fine. I just don't know what I should use for output.
Look at the MIDI assignment chart (p 20 in English in the pdf you linked). On line 9, you see that the L_FX_ON is a SWitch and a LED.
Next column tells you this will communicate using MIDI channel 1 (CH1). Then, they give you the Switch MIDI Note: 32 (you can ignore all of the HEX column, its the same value in Hex). To check on that, open Max's MIDITester (in the menu Extras). With your controller selected in the input menu, if you push the switch, you should see that note 32 has been switched on/off (I guess it would be a MIDI value of 0 or 127).
Now with the LED: following line 9 on the table, you see that you have 2 "versions" of the LED: when Shift is off, and when Shift is on. Let's work with Shift off. The LED note number is 32. So, with the Max MIDI Tester, selecting your controller as an output, under Note, choose velocity 127, Channel 1, and then a Note of 32. The LED should turn on... Or make a simple patch with a [noteout] object for Channel 1. Send a note message '32 127' to turn the LED on, '32 0' to turn it off.
I don't have this particular controller, but I hope that'll help anyway. Maybe someone with this controller will be more precise.
Yes! That did it! I had tried using midiout already, for some reason it hadn't crossed my mind to use the noteout, don't know why. Usually it's a small stupid oversight like this.
Thanks!
Glad that helped. You could also use [midiout], pairing it with [midiformat].