I used it successfully, and I am fairly new to the Midi world. I added the script, selected Sparkle from the Midi preferences in Live as control, input, and output, selected track and remote, and otherwise followed your instructions. Keep up the good work.

i would like to help to transfer your script to the Spark CDM. i have no experience with python but a lot with MIDI and Max so i should be able to test/monitor whatever you ask me to. but first you should maybe start a new thread to keep things apart?

Judging from your description it seems to me that sparkLE uses the same notes for input (recording midi in live) and output (turning led on / off), e.g. you play pad 1 on the controller, which live sees as Note C-0 with a velocity of 64 (just exemplary values), the same note in turn being send to the controller would result in pad 1 lighting up.

You got it

Quote

Sorry for the silence, did some testing, managed to light up one of the LEDs on the spark, still not sure why my script didn't work, since I was of the opinion that I already sent all possible midi note combinations.. but whatever.. I think I can make the script work shortly.

This is a good news

By the way i have one things to ask : -If you make changes on the code, keep a track of all your changes, to allow me to implement your changes on my next updates ( if you know any website or software that allow collaborative coding it would be perfect )

I have seen that your knowledge of python programming is better thant mine, so if you find mistakes, errors, or watever feel free to correct it

Quote

Now with the spark it seems a little different. I record the midi event of playing pad 1, live registers the note C#-2 with the given velocity, but sending that same note back to the controller does nothing. Turning on the LED is actually note E-1 with a velocity of 54..

If i understand well, the script might work if you modify the const file, but led wont blink ?And to get the led blinking we have to get all the velocities of the leds associated to buttons?We could add a dictionnary on the Const file that link the pad to the led value and then modify the turn_led_on/off function.what is the message sent to turn a led off. ( the idea is to make a global script for the spark and sparkle, and to uncomment the part of the const file related to the surface used)