exactly values for speed slider

47 views
Skip to first unread message

jur1...@gmail.com

unread,
Apr 9, 2018, 2:47:19 PM4/9/18
to Lightjams
how can I set a speed slider with sending a midi controller 0-128 to an exact value   1x,2x,3x  is there a function that helps?   

o865324

unread,
Apr 9, 2018, 2:54:36 PM4/9/18
to Lightjams

I do this in Cantabile on a tempo Source binding




and this in Lightjams
midi.controlraw(15,3)/2

That gives me a 1.0x speed at 120bpm.
Auto Generated Inline Image 1

Mathieu

unread,
Apr 9, 2018, 2:57:50 PM4/9/18
to ligh...@googlegroups.com
A midi value is between 0 and 127. If you use midi.noteRaw or midi.controlRaw, you'll get the exact midi value. If you use it to control a speed slider, 20 is 1x, 40 is 2x, etc.

jur1...@gmail.com

unread,
Apr 9, 2018, 4:41:51 PM4/9/18
to Lightjams
....that means to send the right values from cantabile directly  (20,40,60,80,100)

,to manipulate the values in cantabile......


and not to latch this values in Lightjams ? .....is this correct?

o865324

unread,
Apr 9, 2018, 4:48:58 PM4/9/18
to Lightjams
It maps the tempo from C3 to what lightjams wants.

so 60 bpm in Cantabile ends up as the Midi value of 20 when it gets to lightjams. My lightjams formula midi.controlraw(15,3)/2 takes this raw value of 20 and divides by 2 and makes it a percentage to give me 10% which is 0.5x speed





Auto Generated Inline Image 1

jur1...@gmail.com

unread,
Apr 10, 2018, 1:33:29 AM4/10/18
to Lightjams
...thanks for your help

this is not what I want to do....... but now I better understand what I have to do to make my slider work for me

I will use my effect rack slider for the rack effects for (0,5x,1x,2x)  (left, mid, right - sliderposition)
I also will route my slider values to a specific range (in this case the best way is to use 0 to 100)
second step is to set a filter on this and map all values directly in cantabile.

    0-33     to 10%
33 - 66     to 20%
66 -100    to 40%

normal slider position then is in the mid

jur1...@gmail.com

unread,
Apr 10, 2018, 2:11:13 AM4/10/18
to Lightjams
...nice .....works as expected


now I can directly half or double the individual effect-speed for each songstate

....I love this variety of possibilities

speed slider.PNG
Reply all
Reply to author
Forward
0 new messages