December 22, 2024, 04:32:53 pm
Welcome, Guest. Please login or register
News:

Arturia Forums



Author Topic: Major Update of the Midi remote Script, Ableton + Spark = <3  (Read 26222 times)

raztua

  • Apprentice
  • Apprentice
  • *
  • Posts: 49
  • Karma: 4
Major Update of the Midi remote Script, Ableton + Spark = <3
« on: December 17, 2013, 01:40:50 am »
Version 0.5 ( 15/02/2014 ) of the script avaliable.
            Here is the link to the file https://www.mediafire.com/?nahn29e2cgie4y5
            Here is the changelog http://www.arturia.com/evolution/smf/index.php?topic=14584.msg42607#msg42607



Version 0.4 of the script avaliable.
            Here is the link to the file http://www.mediafire.com/download/942143vcoopg6o8/sparkLE4.rar
            Here is the changelog http://www.arturia.com/evolution/smf/index.php?topic=14584.msg42047#msg42047


Versio 0.3 of the script avaliable: here is the link to the video of the update remote script : https://vidd.me/HiH
         here is the link to the remote midi script : http://www.mediafire.com/download/d5nntvbya2cg7ny/sparkLE%20V1.3(2).rar
         
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 :)

Video is avaliable here:
http://youtu.be/CV436yKerZ0

sources a avaliable here:
https://www.mediafire.com/folder/undefined/
https://github.com/Raztua/sparkLE.git

to use the script no additionnal software are required.

check this website to install the script
http://sonicbloom.net/en/ableton-live-tutorial-how-to-install-midi-remote-scripts/

Features:
    -16 pattern
    -16 sequences for each pattern
    -16*8 rotative controllers for all your automations :)
    -XY touchpad working

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.

Ps: a video will be added soon

« Last Edit: February 15, 2014, 08:06:49 pm by raztua »

raztua

  • Apprentice
  • Apprentice
  • *
  • Posts: 49
  • Karma: 4
Re: Major Update of the Midi remote Script, Ableton + Spark = <3
« Reply #1 on: January 27, 2014, 09:31:04 pm »
Hi everybody!

I wanted to share with you my new update of the midi remote script. As before, it works for live 9 but wont work for older versions of the software.

Many new features have been added to the script :
 
  • use the jog to select the track you are playing with
  • use the bank button to launch scene
  • use the mute mode to mute instrument ( pressing pads just as it works for the arturia software)
  • change the length of the pattern ( up to 64 beats)
  • Select the velocity : Low, Medium, High
  • check the mute status of a pattern using the solo button in pattern mode

Other small features and bugs have been worked on.
You can find Video here : https://vidd.me/HiH
and you can find the script here : http://www.mediafire.com/download/d5nntvbya2cg7ny/sparkLE%20V1.3(2).rar





Kevin

  • Hero Member
  • *****
  • Posts: 1.545
  • Karma: 82
    • http://www.arturia.com
Re: Major Update of the Midi remote Script, Ableton + Spark = <3
« Reply #2 on: January 28, 2014, 11:37:07 am »
 8) 8) 8) 8)
Kevin
Soft Arturia

Kevin

  • Hero Member
  • *****
  • Posts: 1.545
  • Karma: 82
    • http://www.arturia.com
Re: Major Update of the Midi remote Script, Ableton + Spark = <3
« Reply #3 on: January 28, 2014, 11:38:17 am »
You might share this on other discussion forums.
I already saw you on AF but it could be good to post it also on KVR and Gearslutz.

Kevin
Kevin
Soft Arturia

mpc60champ

  • Beta-testers
  • Jr. Member
  • *
  • Posts: 93
  • Karma: 3
Re: Major Update of the Midi remote Script, Ableton + Spark = <3
« Reply #4 on: January 28, 2014, 05:46:23 pm »
Thank you very much. just read this on the Ableton forums last night before going to bed. i can't wait to try this after work. Merci beaucoup  :)

pmwm

  • Apprentice
  • Apprentice
  • *
  • Posts: 31
  • Karma: 0
Re: Major Update of the Midi remote Script, Ableton + Spark = <3
« Reply #5 on: January 30, 2014, 01:54:16 pm »
lovely. but is it supposed to work with the big Spark as well?

raztua

  • Apprentice
  • Apprentice
  • *
  • Posts: 49
  • Karma: 4
Re: Major Update of the Midi remote Script, Ableton + Spark = <3
« Reply #6 on: January 31, 2014, 04:14:47 pm »
Quote
lovely. but is it supposed to work with the big Spark as well?

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 :)

MartinW

  • Apprentice
  • Apprentice
  • *
  • Posts: 11
  • Karma: 1
Re: Major Update of the Midi remote Script, Ableton + Spark = <3
« Reply #7 on: February 01, 2014, 11:23:29 am »
Quote
lovely. but is it supposed to work with the big Spark as well?

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?

raztua

  • Apprentice
  • Apprentice
  • *
  • Posts: 49
  • Karma: 4
Re: Major Update of the Midi remote Script, Ableton + Spark = <3
« Reply #8 on: February 01, 2014, 04:46:22 pm »
Thanks MartinW.
It would be great to have a full support of the spark.

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 :)



MartinW

  • Apprentice
  • Apprentice
  • *
  • Posts: 11
  • Karma: 1
Re: Major Update of the Midi remote Script, Ableton + Spark = <3
« Reply #9 on: February 01, 2014, 04:49:21 pm »
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:

Code: [Select]
from __future__ import with_statement #compatibility for Live 9, need to be written at the first line of the script
import Live #you import Live, in order to be able to use its components
from _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_instance
self.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 closed
for 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)
         
def turn_led_on(self,chan,bt):
self._send_midi((chan,bt,64))
def turn_led_off(self,bt):
self._send_midi((chan,bt,64))

raztua

  • Apprentice
  • Apprentice
  • *
  • Posts: 49
  • Karma: 4
Re: Major Update of the Midi remote Script, Ableton + Spark = <3
« Reply #10 on: February 01, 2014, 05:21:43 pm »
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 :

MartinW

  • Apprentice
  • Apprentice
  • *
  • Posts: 11
  • Karma: 1
Re: Major Update of the Midi remote Script, Ableton + Spark = <3
« Reply #11 on: February 01, 2014, 06:50:45 pm »
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:

Code: [Select]
self._send_midi((144,29,1))
Still nothing happens..  ???

raztua

  • Apprentice
  • Apprentice
  • *
  • Posts: 49
  • Karma: 4
Re: Major Update of the Midi remote Script, Ableton + Spark = <3
« Reply #12 on: February 01, 2014, 07:37:44 pm »
i have been looking at you script but it is hard to know what's wrong.

Can u use midiox please to tell me what messages are sent

moreover i have been looking at your script

i see no reason why it doesnt work. Can you check if track and remote are on by the way i have tried your script it worked fine on my sparkle

on disconnect use turn_led_off ( copy paste mistake ;) )



MartinW

  • Apprentice
  • Apprentice
  • *
  • Posts: 11
  • Karma: 1
Re: Major Update of the Midi remote Script, Ableton + Spark = <3
« Reply #13 on: February 01, 2014, 08:10:08 pm »
i have been looking at you script but it is hard to know what's wrong.

Can u use midiox please to tell me what messages are sent

moreover i have been looking at your script

i see no reason why it doesnt work. Can you check if track and remote are on by the way i have tried your script it worked fine on my sparkle

on disconnect use turn_led_off ( copy paste mistake ;) )


Here's the result from me pressing and releasing all 16 sequencer buttons on after another in midi-ox:

Code: [Select]
TIMESTAMP IN PORT STATUS DATA1 DATA2 CHAN NOTE EVENT     
 Opened MIDI Input
 Opened MIDI Output
 00000988   3   4     90    11    00    1  F  0 Note Off   
 00000AB4   3   4     80    11    00    1  F  0 Note Off   
 00000C44   3   4     90    11    01    1  F  0 Note On   
 00000DA2   3   4     80    11    01    1  F  0 Note Off   
 00000F00   3   4     90    11    02    1  F  0 Note On   
 00000FFA   3   4     80    11    02    1  F  0 Note Off   
 00001158   3   4     90    11    03    1  F  0 Note On   
 00001284   3   4     80    11    03    1  F  0 Note Off   
 00001415   3   4     90    11    04    1  F  0 Note On   
 0000150F   3   4     80    11    04    1  F  0 Note Off   
 0000169F   3   4     90    11    05    1  F  0 Note On   
 00001799   3   4     80    11    05    1  F  0 Note Off   
 0000198D   3   4     90    11    06    1  F  0 Note On   
 00001A87   3   4     80    11    06    1  F  0 Note Off   
 00001C17   3   4     90    11    07    1  F  0 Note On   
 00001D11   3   4     80    11    07    1  F  0 Note Off   
 00001EA2   3   4     90    11    08    1  F  0 Note On   
 00001FCE   3   4     80    11    08    1  F  0 Note Off   
 000021C1   3   4     90    11    09    1  F  0 Note On   
 000022BC   3   4     80    11    09    1  F  0 Note Off   
 000024B0   3   4     90    11    0A    1  F  0 Note On   
 000025AA   3   4     80    11    0A    1  F  0 Note Off   
 0000275F   3   4     90    11    0B    1  F  0 Note On   
 00002859   3   4     80    11    0B    1  F  0 Note Off   
 00002A8C   3   4     90    11    0C    1  F  0 Note On   
 00002B86   3   4     80    11    0C    1  F  0 Note Off   
 00002E06   3   4     90    11    0D    1  F  0 Note On   
 00002F00   3   4     80    11    0D    1  F  0 Note Off   
 000030C6   3   4     90    11    0E    1  F  0 Note On   
 000031C0   3   4     80    11    0E    1  F  0 Note Off   
 000033B4   3   4     90    11    0F    1  F  0 Note On   
 000034DD   3   4     80    11    0F    1  F  0 Note Off   

Seems weird that the first button always sends 'note off', both when I press the button and when I release it?
Tried triggering the other buttons, with python, didn't work either so that's not the issue. I don't really know what all those numbers mean but I'll try to find out how to make sense of it. Maybe you'll find something in the meantime.

And track and remote are on..

« Last Edit: February 01, 2014, 08:14:44 pm by MartinW »

raztua

  • Apprentice
  • Apprentice
  • *
  • Posts: 49
  • Karma: 4
Re: Major Update of the Midi remote Script, Ableton + Spark = <3
« Reply #14 on: February 01, 2014, 08:54:41 pm »
Ill tell you how it works :
Quote
00000C44   3   4     90    11    01    1  F  0 Note On   
 00000DA2   3   4     80    11    01    1  F  0 Note Off 

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 ?
 


 

Carbonate design by Bloc
SMF 2.0.17 | SMF © 2019, Simple Machines