many new features such as : control the length of a pattern, multi instrument mode, mute of instrument etc....

--------------------------------

Hi everybody,

I have written a script for the sparkLE in order to be able to use it with live 9.1 without the standalone software or any VST.this is still an alpha version, and i am new to python languages ( an poo programming ), so the script is messy

How it works : -Sparkle have to be in spark mode -install the midi remote script -select the script in live and link it to your sparkle -the first track HAVE TO BE a midi track -press patt. to activate patern mode -choose your patern on your sparkle : it will automatically create, and fire the clip -press sequencer button -select your instrument like in sparkle software ( select + one of the Big Pad ) -create a drum rack and assign the input to the first midi track -enjoy

you can assign the rotative encoder to any of your automations using the MIDI option of LIVE

The sources a open sources, so feel free to modify it to your needs.

Their is still a lot of work to do, but you will get each update as soon as they are done.If you want to participate to this project, feel free to ask me question.

I don't have the Spark, But im sure it will work, By the way maybe some modification have to be done on the Const file.I would be glad if someone with the spark give me feedbacks.

Moreover I would like to try to add functionnality for the spark ( such as information written on the lcd screen and maybe a broswer to add instrument directly to a track like push does), unfortunatly i don't have it, so ill need your help and beta test

I don't have the Spark, But im sure it will work, By the way maybe some modification have to be done on the Const file.I would be glad if someone with the spark give me feedbacks.

Moreover I would like to try to add functionnality for the spark ( such as information written on the lcd screen and maybe a broswer to add instrument directly to a track like push does), unfortunatly i don't have it, so ill need your help and beta test

I have spark, will try the script later. I know a little bit of python so maybe I can do some scripting for the additional functionality of the big spark.Writing stuff to the LCD would be great. Do you think that's possible?

For the lcd screen i have a few idea we can discuss on and test to do.For sure the sources are open, and you are free to add any functionnality!Moreover, if you are a real programmer it would be GREAT to have the code reviewed, cause i think it is a mess

Couldn't get it to work.. Script is successfully initialized but pressing buttons on the controller has no effect. I guess I'll have to change the constants. But how do I know the values?

I did this little test thing which just sends a midi message to the controller (copied from your ableton forum post) so that I might have a chance to see which buttons light up when certain numbers are being sent. Already did a thing where it sequentially sends all notes on all channels, but nothing lights up. Tried it with different live settings, midi mode / controller mode on spark, no luck, that being said, I have absolutely no idea what I'm doing.. maybe there's something wrong with the script:

from __future__ import with_statement #compatibility for Live 9, need to be written at the first line of the scriptimport Live #you import Live, in order to be able to use its componentsfrom _Framework.ControlSurface import ControlSurface

class test(ControlSurface):__module__=__name____doc__="test function"

def __init__(self, c_instance):ControlSurface.__init__(self,c_instance)with self.component_guard():self.__c_instance = c_instanceself.log_message('Script initiated')self.buttons()def buttons(self):for x in range(144, 159):for y in range(0, 128):self.log_message('turn on LED %d on channel %d'%(y,x))self.turn_led_on(x, y)def disconnect(self): #this function is automatically called by live when the program is closedfor x in range(128, 143):for y in range(0, 128):self.log_message('turn off LED %d on channel %d'%(y,x))self.turn_led_on(x, y)

The easiest way is to use a software like MIDI-ox to know wich datas are sent.

Or you can use directly live : don't use the script for this part ! You arm the track on wich the input and output are the spark, and use it in spark mode, not midi mode ( if spark mode exists).You record the track and it will save note ( messages when a key is pressed are supposed to be midi notes). then you find the value with this chart :

I've taken a look at the table. The sequencer buttons are all Note F-1. Each sequencer button registers a different velocity from 1 - 16. When I send this midi message I except the first sequencer button to light up:

we are on the channel 1 ( channel are numbered from 0 to 15 in live so it is channel 0 for live)the note is 01, 90 and 80 are the velocity ( it is useless for the script)

so if you want to write for this key you send this message on the midi surface (144,01,64) means 144=144 ( note on message) + 0 (channel 1 ), 01 = the key pressed, 64 is the velocity ( the value doesn't matter ). it seems that the pattern button have the same identifier on sparkle and on spark.

does midi / spark mode exist in the Spark ??

how is the spark linked to your computer? midi or usb??? i have never used it.

if you use your spark on live without any script then record a the pressing of keys, does it blink when you play the track again ?