December 22, 2024, 11:32:22 am
Welcome, Guest. Please login or register
News:

Arturia Forums



Author Topic: Spark midi remote script : lets get it working  (Read 24629 times)

raztua

  • Apprentice
  • Apprentice
  • *
  • Posts: 49
  • Karma: 4
Spark midi remote script : lets get it working
« on: February 18, 2014, 05:00:18 pm »
It's time to work on the spark midi remote script,
to clarify the other post, we will work on the spark script here.

Where are we now ?

the table below showes the OUTPUT message for the 5 first pattern button ( when the spark software send information to the surface )

TIMESTAMPINPORTstatusDATA1DATA2CHANNOTEEVENT    
00000988 3 4 90 11 00 1 "F0"Note On   
00000AB4 3 4 80 11 00 1 "F0"Note Off   
00000C44 3 4 90 11 01 1 "F0"Note On   
00000DA2 3 4 80 11 01 1 "F0"Note Off   
00000F00 3 4 90 11 02 1 "F0"Note On   
00000FFA 3 4 80 11 02 1 "F0"Note Off   
00001158 3 4 90 11 03 1 "F0"Note On   
00001284 3 4 80 11 03 1 "F0"Note Off   
00001415 3 4 90 11 04 1 "F0"Note On   
0000150F 3 4 80 11 04 1 "F0"Note Off   

But the Input message ( when you press a key ) have different value.

What could be perfect is to have a scrrenshot of the sparkle, on wich for each pad the input and the output value is written ( and the velocity).

I am working on it tonight, so lets do it :)



« Last Edit: February 18, 2014, 05:53:00 pm by raztua »

pmwm

  • Apprentice
  • Apprentice
  • *
  • Posts: 31
  • Karma: 0
Re: Spark midi remote script : lets get it working
« Reply #1 on: February 18, 2014, 07:06:59 pm »
i am trying to collect the MIDI data coming from the Spark CDM through a MIDI port called "Spark Private IN". hope this helps for a start...
I am using the application "MIDI Monitor" on OS X.

Pad 1-8:
17:19:31.915   From Spark Controller Spark Private IN   Note On   1   C-2   36
17:19:31.947   From Spark Controller Spark Private IN   Note Off   1   C-2   0
17:19:34.120   From Spark Controller Spark Private IN   Note On   1   C#-2   88
17:19:34.152   From Spark Controller Spark Private IN   Note Off   1   C#-2   0
17:19:37.830   From Spark Controller Spark Private IN   Note On   1   D-2   50
17:19:37.862   From Spark Controller Spark Private IN   Note Off   1   D-2   0
17:19:38.247   From Spark Controller Spark Private IN   Note On   1   D#-2   39
17:19:38.279   From Spark Controller Spark Private IN   Note Off   1   D#-2   0
17:19:38.664   From Spark Controller Spark Private IN   Note On   1   E-2   84
17:19:38.696   From Spark Controller Spark Private IN   Note Off   1   E-2   0
17:19:39.063   From Spark Controller Spark Private IN   Note On   1   F-2   91
17:19:39.095   From Spark Controller Spark Private IN   Note Off   1   F-2   0
17:19:39.471   From Spark Controller Spark Private IN   Note On   1   F#-2   101
17:19:39.503   From Spark Controller Spark Private IN   Note Off   1   F#-2   0
17:19:39.876   From Spark Controller Spark Private IN   Note On   1   G-2   127
17:19:39.908   From Spark Controller Spark Private IN   Note Off   1   G-2   0


Buttons "Select" /"1-8/9-16" / "mute" / "Solo"
17:21:36.002   From Spark Controller Spark Private IN   Note On   1   F-1   38
17:21:36.152   From Spark Controller Spark Private IN   Note Off   1   F-1   38
17:21:36.852   From Spark Controller Spark Private IN   Note On   1   F-1   44
17:21:36.952   From Spark Controller Spark Private IN   Note Off   1   F-1   44
17:21:37.552   From Spark Controller Spark Private IN   Note On   1   F-1   40
17:21:37.652   From Spark Controller Spark Private IN   Note Off   1   F-1   40
17:21:38.302   From Spark Controller Spark Private IN   Note On   1   F-1   39
17:21:38.402   From Spark Controller Spark Private IN   Note Off   1   F-1   39

Buttons 1-16:
17:22:20.651   From Spark Controller Spark Private IN   Note Off   1   F-1   0
17:22:20.751   From Spark Controller Spark Private IN   Note Off   1   F-1   0
17:22:21.001   From Spark Controller Spark Private IN   Note On   1   F-1   1
17:22:21.151   From Spark Controller Spark Private IN   Note Off   1   F-1   1
17:22:21.351   From Spark Controller Spark Private IN   Note On   1   F-1   2
17:22:21.501   From Spark Controller Spark Private IN   Note Off   1   F-1   2
17:22:21.701   From Spark Controller Spark Private IN   Note On   1   F-1   3
17:22:21.851   From Spark Controller Spark Private IN   Note Off   1   F-1   3
17:22:22.052   From Spark Controller Spark Private IN   Note On   1   F-1   4
17:22:22.252   From Spark Controller Spark Private IN   Note Off   1   F-1   4
17:22:22.452   From Spark Controller Spark Private IN   Note On   1   F-1   5
17:22:22.552   From Spark Controller Spark Private IN   Note Off   1   F-1   5
17:22:22.802   From Spark Controller Spark Private IN   Note On   1   F-1   6
17:22:22.952   From Spark Controller Spark Private IN   Note Off   1   F-1   6
17:22:23.152   From Spark Controller Spark Private IN   Note On   1   F-1   7
17:22:23.302   From Spark Controller Spark Private IN   Note Off   1   F-1   7
17:22:23.503   From Spark Controller Spark Private IN   Note On   1   F-1   8
17:22:23.653   From Spark Controller Spark Private IN   Note Off   1   F-1   8
17:22:23.853   From Spark Controller Spark Private IN   Note On   1   F-1   9
17:22:24.003   From Spark Controller Spark Private IN   Note Off   1   F-1   9
17:22:24.203   From Spark Controller Spark Private IN   Note On   1   F-1   10
17:22:24.403   From Spark Controller Spark Private IN   Note Off   1   F-1   10
17:22:24.553   From Spark Controller Spark Private IN   Note On   1   F-1   11
17:22:24.753   From Spark Controller Spark Private IN   Note Off   1   F-1   11
17:22:24.903   From Spark Controller Spark Private IN   Note On   1   F-1   12
17:22:25.103   From Spark Controller Spark Private IN   Note Off   1   F-1   12
17:22:25.303   From Spark Controller Spark Private IN   Note On   1   F-1   13
17:22:25.453   From Spark Controller Spark Private IN   Note Off   1   F-1   13
17:22:25.653   From Spark Controller Spark Private IN   Note On   1   F-1   14
17:22:25.803   From Spark Controller Spark Private IN   Note Off   1   F-1   14
17:22:26.003   From Spark Controller Spark Private IN   Note On   1   F-1   15
17:22:26.153   From Spark Controller Spark Private IN   Note Off   1   F-1   15

Buttons "Record" / "Stop" / "Pause/Play" / "TAP":
17:23:18.854   From Spark Controller Spark Private IN   Note On   1   F-1   52
17:23:19.004   From Spark Controller Spark Private IN   Note Off   1   F-1   52
17:23:23.204   From Spark Controller Spark Private IN   Note On   1   F-1   51
17:23:23.354   From Spark Controller Spark Private IN   Note Off   1   F-1   51
17:23:24.054   From Spark Controller Spark Private IN   Note On   1   F-1   50
17:23:24.254   From Spark Controller Spark Private IN   Note Off   1   F-1   50
17:23:27.204   From Spark Controller Spark Private IN   Note On   1   F-1   49
17:23:27.354   From Spark Controller Spark Private IN   Note Off   1   F-1   49

the 8 x 3 encoders are relative. they send 65 clockwise and 63 counterclockwise.
their CC numbers are:
00 03 06 09 12 15 18 21
01 04 07 10 13 16 19 22
02 05 08 11 14 17 20 23

the encoders "Cutoff / Resonance / Aux 1 / Aux 2 / Panning / Volume" send: 29 / 28 / 27 / 26 / 25 / 24

encoder Tempo: 35
encoder Divide: 34
encoder Move: 33
encoder Shuffle: 32
encoder Master Volume: 31

buttons Pattern 1-16:
17:33:33.785   From Spark Controller Spark Private IN   Note On   1   F-1   16
17:33:33.935   From Spark Controller Spark Private IN   Note Off   1   F-1   16
17:33:34.586   From Spark Controller Spark Private IN   Note On   1   F-1   17
17:33:34.736   From Spark Controller Spark Private IN   Note Off   1   F-1   17
17:33:35.436   From Spark Controller Spark Private IN   Note On   1   F-1   18
17:33:35.586   From Spark Controller Spark Private IN   Note Off   1   F-1   18
17:33:35.787   From Spark Controller Spark Private IN   Note On   1   F-1   19
17:33:35.937   From Spark Controller Spark Private IN   Note Off   1   F-1   19
17:33:36.135   From Spark Controller Spark Private IN   Note On   1   F-1   20
17:33:36.235   From Spark Controller Spark Private IN   Note Off   1   F-1   20
17:33:36.436   From Spark Controller Spark Private IN   Note On   1   F-1   21
17:33:36.585   From Spark Controller Spark Private IN   Note Off   1   F-1   21
17:33:36.786   From Spark Controller Spark Private IN   Note On   1   F-1   22
17:33:36.936   From Spark Controller Spark Private IN   Note Off   1   F-1   22
17:33:37.087   From Spark Controller Spark Private IN   Note On   1   F-1   23
17:33:37.237   From Spark Controller Spark Private IN   Note Off   1   F-1   23
17:33:37.435   From Spark Controller Spark Private IN   Note On   1   F-1   24
17:33:37.585   From Spark Controller Spark Private IN   Note Off   1   F-1   24
17:33:37.785   From Spark Controller Spark Private IN   Note On   1   F-1   25
17:33:37.935   From Spark Controller Spark Private IN   Note Off   1   F-1   25
17:33:38.136   From Spark Controller Spark Private IN   Note On   1   F-1   26
17:33:38.286   From Spark Controller Spark Private IN   Note Off   1   F-1   26
17:33:38.487   From Spark Controller Spark Private IN   Note On   1   F-1   27
17:33:38.587   From Spark Controller Spark Private IN   Note Off   1   F-1   27
17:33:38.885   From Spark Controller Spark Private IN   Note On   1   F-1   28
17:33:39.035   From Spark Controller Spark Private IN   Note Off   1   F-1   28
17:33:39.185   From Spark Controller Spark Private IN   Note On   1   F-1   29
17:33:39.335   From Spark Controller Spark Private IN   Note Off   1   F-1   29
17:33:39.536   From Spark Controller Spark Private IN   Note On   1   F-1   30
17:33:39.686   From Spark Controller Spark Private IN   Note Off   1   F-1   30
17:33:40.087   From Spark Controller Spark Private IN   Note On   1   F-1   31
17:33:40.237   From Spark Controller Spark Private IN   Note Off   1   F-1   31

buttons Bank A/B/C/D:
17:34:08.737   From Spark Controller Spark Private IN   Note On   1   F-1   32
17:34:08.887   From Spark Controller Spark Private IN   Note Off   1   F-1   32
17:34:09.137   From Spark Controller Spark Private IN   Note On   1   F-1   33
17:34:09.337   From Spark Controller Spark Private IN   Note Off   1   F-1   33
17:34:09.537   From Spark Controller Spark Private IN   Note On   1   F-1   34
17:34:09.737   From Spark Controller Spark Private IN   Note Off   1   F-1   34
17:34:09.987   From Spark Controller Spark Private IN   Note On   1   F-1   35
17:34:10.187   From Spark Controller Spark Private IN   Note Off   1   F-1   35

button Song:
17:34:18.937   From Spark Controller Spark Private IN   Note On   1   F-1   45
17:34:19.137   From Spark Controller Spark Private IN   Note Off   1   F-1   45

the big dial:
17:34:33.734   From Spark Controller Spark Private IN   Control   1   30   65


« Last Edit: February 18, 2014, 07:16:17 pm by pmwm »

raztua

  • Apprentice
  • Apprentice
  • *
  • Posts: 49
  • Karma: 4
Re: Spark midi remote script : lets get it working
« Reply #2 on: February 18, 2014, 07:12:20 pm »
ok, this is exactly what i wanted i work on it and send you a pre-alpha version within half an hour

if i understand well, only the pad are sensitive to velocity

when you press select or 18/916  button and save on live, does it record the same note butwith a different velocity?
« Last Edit: February 18, 2014, 07:17:33 pm by raztua »

pmwm

  • Apprentice
  • Apprentice
  • *
  • Posts: 31
  • Karma: 0
Re: Spark midi remote script : lets get it working
« Reply #3 on: February 18, 2014, 07:18:13 pm »
pads have actually aftertouch like here:

17:36:03.030   From Spark Controller Spark Private IN   Note Off   1   C-2   0
17:36:03.083   From Spark Controller Spark Private IN   Aftertouch   1   C-2   28
17:36:03.105   From Spark Controller Spark Private IN   Aftertouch   1   C-2   39
17:36:03.126   From Spark Controller Spark Private IN   Aftertouch   1   C-2   47
17:36:03.148   From Spark Controller Spark Private IN   Aftertouch   1   C-2   67
17:36:03.169   From Spark Controller Spark Private IN   Aftertouch   1   C-2   75
17:36:03.191   From Spark Controller Spark Private IN   Aftertouch   1   C-2   82
17:36:03.212   From Spark Controller Spark Private IN   Aftertouch   1   C-2   89
17:36:03.234   From Spark Controller Spark Private IN   Aftertouch   1   C-2   94
17:36:03.255   From Spark Controller Spark Private IN   Aftertouch   1   C-2   93
17:36:03.276   From Spark Controller Spark Private IN   Aftertouch   1   C-2   104
17:36:03.298   From Spark Controller Spark Private IN   Aftertouch   1   C-2   106
17:36:03.319   From Spark Controller Spark Private IN   Aftertouch   1   C-2   107
17:36:03.341   From Spark Controller Spark Private IN   Aftertouch   1   C-2   111
17:36:03.362   From Spark Controller Spark Private IN   Aftertouch   1   C-2   115
17:36:03.384   From Spark Controller Spark Private IN   Aftertouch   1   C-2   125
17:36:03.405   From Spark Controller Spark Private IN   Aftertouch   1   C-2   127
17:36:04.414   From Spark Controller Spark Private IN   Aftertouch   1   C-2   123
17:36:04.435   From Spark Controller Spark Private IN   Aftertouch   1   C-2   120
17:36:04.478   From Spark Controller Spark Private IN   Aftertouch   1   C-2   124
17:36:04.500   From Spark Controller Spark Private IN   Aftertouch   1   C-2   125
17:36:04.521   From Spark Controller Spark Private IN   Aftertouch   1   C-2   127
17:36:04.907   From Spark Controller Spark Private IN   Aftertouch   1   C-2   126
17:36:04.929   From Spark Controller Spark Private IN   Aftertouch   1   C-2   127
17:36:04.950   From Spark Controller Spark Private IN   Aftertouch   1   C-2   126
17:36:04.993   From Spark Controller Spark Private IN   Aftertouch   1   C-2   125
17:36:05.058   From Spark Controller Spark Private IN   Aftertouch   1   C-2   124
17:36:05.079   From Spark Controller Spark Private IN   Aftertouch   1   C-2   121
17:36:05.101   From Spark Controller Spark Private IN   Aftertouch   1   C-2   117
17:36:05.122   From Spark Controller Spark Private IN   Aftertouch   1   C-2   116
17:36:05.165   From Spark Controller Spark Private IN   Aftertouch   1   C-2   115
17:36:05.186   From Spark Controller Spark Private IN   Aftertouch   1   C-2   111
17:36:05.208   From Spark Controller Spark Private IN   Aftertouch   1   C-2   100
17:36:05.229   From Spark Controller Spark Private IN   Aftertouch   1   C-2   99
17:36:05.251   From Spark Controller Spark Private IN   Aftertouch   1   C-2   96
17:36:05.272   From Spark Controller Spark Private IN   Aftertouch   1   C-2   85
17:36:05.294   From Spark Controller Spark Private IN   Aftertouch   1   C-2   81
17:36:05.315   From Spark Controller Spark Private IN   Aftertouch   1   C-2   78
17:36:05.337   From Spark Controller Spark Private IN   Aftertouch   1   C-2   74
17:36:05.358   From Spark Controller Spark Private IN   Aftertouch   1   C-2   61
17:36:05.380   From Spark Controller Spark Private IN   Aftertouch   1   C-2   46
17:36:05.401   From Spark Controller Spark Private IN   Aftertouch   1   C-2   35
17:36:05.423   From Spark Controller Spark Private IN   Aftertouch   1   C-2   34
17:36:05.444   From Spark Controller Spark Private IN   Aftertouch   1   C-2   32
17:36:05.466   From Spark Controller Spark Private IN   Aftertouch   1   C-2   27
17:36:05.487   From Spark Controller Spark Private IN   Aftertouch   1   C-2   24
17:36:05.508   From Spark Controller Spark Private IN   Aftertouch   1   C-2   18
17:36:05.530   From Spark Controller Spark Private IN   Aftertouch   1   C-2   5
17:36:05.540   From Spark Controller Spark Private IN   Note Off   1   C-2   0

the buttons use the velocity to be distinguished since they use the same pitch.

ok, this is exactly what i wanted i work on it and send you a pre-alpha version within half an hour

if i understand well, only the pad are sensitive to velocity

raztua

  • Apprentice
  • Apprentice
  • *
  • Posts: 49
  • Karma: 4
Re: Spark midi remote script : lets get it working
« Reply #4 on: February 18, 2014, 07:27:17 pm »
ok thank, and what about the test in live ?

raztua

  • Apprentice
  • Apprentice
  • *
  • Posts: 49
  • Karma: 4
Re: Spark midi remote script : lets get it working
« Reply #5 on: February 18, 2014, 08:03:00 pm »
Lets try a simple script : i have attached it to this post but i don't know how it works

if you don't find it it is on mediafire too :
sources
« Last Edit: February 18, 2014, 08:06:26 pm by raztua »

pmwm

  • Apprentice
  • Apprentice
  • *
  • Posts: 31
  • Karma: 0
Re: Spark midi remote script : lets get it working
« Reply #6 on: February 18, 2014, 08:19:59 pm »
you mean if Pad "9" sends a different note value that Pad "1"? no.
Pad 1:
17:42:05.983   From Spark Controller Spark Private IN   Note On   1   C-2   22
17:42:06.015   From Spark Controller Spark Private IN   Note Off   1   C-2   0

Pad 9:
17:42:21.210   From Spark Controller Spark Private IN   Note On   1   F-1   44
17:42:21.410   From Spark Controller Spark Private IN   Note Off   1   F-1   44
17:42:23.006   From Spark Controller Spark Private IN   Note On   1   C-2   8
17:42:23.038   From Spark Controller Spark Private IN   Note Off   1   C-2   0

or did I misunderstand you?

will now test your script...

when you press select or 18/916  button and save on live, does it record the same note butwith a different velocity?

raztua

  • Apprentice
  • Apprentice
  • *
  • Posts: 49
  • Karma: 4
Re: Spark midi remote script : lets get it working
« Reply #7 on: February 18, 2014, 08:41:09 pm »
thi script is really simple: you press play and you see the led blinking

pmwm

  • Apprentice
  • Apprentice
  • *
  • Posts: 31
  • Karma: 0
Re: Spark midi remote script : lets get it working
« Reply #8 on: February 18, 2014, 08:46:35 pm »
hm... doesn't seem to work at all:
* when I select it as Control Surface I don't get the red rectangular.
* when I hit Play (on the Spark hardware) nothing happens.

please have a look at the attached screenshot. your .RAR had a spark folder in a spark folder. I copied the inner folder into Live.app. I guess this is correct?
HOW THE HELL DO I ATTACH IMAGES???
« Last Edit: February 18, 2014, 08:52:26 pm by pmwm »

raztua

  • Apprentice
  • Apprentice
  • *
  • Posts: 49
  • Karma: 4
Re: Spark midi remote script : lets get it working
« Reply #9 on: February 18, 2014, 08:56:18 pm »
no it is a simple script, play button wont work on the surface and the yellow box is not set yet
just push play on the live software :)

pmwm

  • Apprentice
  • Apprentice
  • *
  • Posts: 31
  • Karma: 0
Re: Spark midi remote script : lets get it working
« Reply #10 on: February 18, 2014, 08:59:36 pm »
which LED exactly should blink?

no it is a simple script, play button wont work on the surface and the yellow box is not set yet
just push play on the live software :)

raztua

  • Apprentice
  • Apprentice
  • *
  • Posts: 49
  • Karma: 4
Re: Spark midi remote script : lets get it working
« Reply #11 on: February 18, 2014, 09:00:26 pm »
if you cant see the leds, it means that it doesn work, it should be the pattern buttons from 1 to 16

raztua

  • Apprentice
  • Apprentice
  • *
  • Posts: 49
  • Karma: 4
Re: Spark midi remote script : lets get it working
« Reply #12 on: February 18, 2014, 09:03:35 pm »
you are working on a mac??
you have to copy only one folder ( not the second folder )
and you can find info here : http://sonicbloom.net/en/ableton-live-tutorial-how-to-install-midi-remote-scripts/

pmwm

  • Apprentice
  • Apprentice
  • *
  • Posts: 31
  • Karma: 0
Re: Spark midi remote script : lets get it working
« Reply #13 on: February 18, 2014, 09:07:05 pm »
we might misunderstand each other. so lets be really precise:
Spark hardware is in Spark Mode
I load a new emtpy project
I hit PLAY in Live
I can see the postion marker run through the 16 white buttons

good? bad? right? wrong?

if you cant see the leds, it means that it doesn work, it should be the pattern buttons from 1 to 16

raztua

  • Apprentice
  • Apprentice
  • *
  • Posts: 49
  • Karma: 4
Re: Spark midi remote script : lets get it working
« Reply #14 on: February 18, 2014, 09:08:33 pm »
right ou have perfectly understood.
You have the choice between spark and midi mode?

 

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