not reading, lost interest,
deck X
on its own does nothing, it needs to be followed with the select verb.
deck X
on its own does nothing, it needs to be followed with the select verb.
Mensajes Thu 06 Oct 22 @ 10:30 pm
locodog wrote :
not reading, lost interest,
deck X
on its own does nothing, it needs to be followed with the select verb.
deck X
on its own does nothing, it needs to be followed with the select verb.
Why? Did I write something inappropriate?
deck X select - selects a deck and at the same time makes it the default working deck.
deck X - only specifies the deck with which the script will work.
Deck x is not in the LIST OF VERBS, but it works like this. However, I found it in many scripts.
Try below button
repeat_start_instant '$RP' 3000ms 3 &
deck 1 & play & wait 1000ms & stop &
deck 2 & play & wait 1000ms & stop
Mensajes Fri 07 Oct 22 @ 7:56 am
mg_1978 wrote :
hi at all! i would map a button that pushed “holding” 700ms set ‘variable’ 1 while_pressed, not holding make action1:
button= holding 700ms : set ‘variable’ 1 : var ‘variable’ 1 ? set ‘variable’ 0 : action1
but doesn’t work correctly :(
could you help me? thanks
button= holding 700ms : set ‘variable’ 1 : var ‘variable’ 1 ? set ‘variable’ 0 : action1
but doesn’t work correctly :(
could you help me? thanks
solved:
script is: var ‘variable’ 1 ? up ? set ‘variable’ 0 : nothing : holding 700ms ? set ‘variable’ 1 : action1
Mensajes Fri 07 Oct 22 @ 11:20 am
Greetings all
I have this script whic I use to colour code my tracks according to Key Colour. Found it within this site.
It runs automatically, but the (very slight) problem is that when it reaches to a track that is 12B, it stops.
Is there a way to change this behaviour?? I tried modifying the last line with no luck,
TIA
repeat_start 'colorTracks' ? on & repeat_stop 'colorTracks' : off & browser_window "songs" & browser_scroll "top" & repeat_start 'colorTracks' 100ms & browser_scroll 'bottom' ? repeat_stop 'colorTracks' & get_browsed_song 'harmonic' & param_cast 'text' & param_equal '01A' ? browsed_song color '#70ECD4' : param_equal '01B' ? browsed_song color '#00EDC9' : param_equal '02A' ? browsed_song color '#92F0A4' : param_equal '02B' ? browsed_song color '#27EC82' : param_equal '03A' ? browsed_song color '#B1EE86' : param_equal '03B' ? browsed_song color '#85ED4E' : param_equal '04A' ? browsed_song color '#E6E0A2' : param_equal '04B' ? browsed_song color '#E0C86E' : param_equal '05A' ? browsed_song color '#FEC8AC' : param_equal '05B' ? browsed_song color '#FFA279' : param_equal '06A' ? browsed_song color '#FFB3BF' : param_equal '06B' ? browsed_song color '#FF8C93' : param_equal '07A' ? browsed_song color '#FFB4D2' : param_equal '07B' ? browsed_song color '#FF85B4' : param_equal '08A' ? browsed_song color '#EBB7F9' : param_equal '08B' ? browsed_song color '#F087D9' : param_equal '09A' ? browsed_song color '#E7B6F8' : param_equal '09B' ? browsed_song color '#CE93FF' : param_equal '10A' ? browsed_song color '#C0CEFB' : param_equal '10B' ? browsed_song color '#A1B9FF' : param_equal '11A' ? browsed_song color '#94E5F8' : param_equal '11B' ? browsed_song color '#3ED2F8' : param_equal '12A' ? browsed_song color '#50EBF0' : param_equal '12B' ? browsed_song color '#01EDED' : nothing : get_browsed_song 'harmonic' & param_cast 'text' & param_equal '01A' ? browsed_song color '#70ECD4' & browser_scroll +1 : param_equal '01B' ? browsed_song color '#00EDC9' & browser_scroll +1 : param_equal '02A' ? browsed_song color '#92F0A4' & browser_scroll +1 : param_equal '02B' ? browsed_song color '#27EC82' & browser_scroll +1 : param_equal '03A' ? browsed_song color '#B1EE86' & browser_scroll +1 : param_equal '03B' ? browsed_song color '#85ED4E' & browser_scroll +1 : param_equal '04A' ? browsed_song color '#E6E0A2' & browser_scroll +1 : param_equal '04B' ? browsed_song color '#E0C86E' & browser_scroll +1 : param_equal '05A' ? browsed_song color '#FEC8AC' & browser_scroll +1 : param_equal '05B' ? browsed_song color '#FFA279' & browser_scroll +1 : param_equal '06A' ? browsed_song color '#FFB3BF' & browser_scroll +1 : param_equal '06B' ? browsed_song color '#FF8C93' & browser_scroll +1 : param_equal '07A' ? browsed_song color '#FFB4D2' & browser_scroll +1 : param_equal '07B' ? browsed_song color '#FF85B4' & browser_scroll +1 : param_equal '08A' ? browsed_song color '#EBB7F9' & browser_scroll +1 : param_equal '08B' ? browsed_song color '#F087D9' & browser_scroll +1 : param_equal '09A' ? browsed_song color '#E7B6F8' & browser_scroll +1 : param_equal '09B' ? browsed_song color '#CE93FF' & browser_scroll +1 : param_equal '10A' ? browsed_song color '#C0CEFB' & browser_scroll +1 : param_equal '10B' ? browsed_song color '#A1B9FF' & browser_scroll +1 : param_equal '11A' ? browsed_song color '#94E5F8' & browser_scroll +1 : param_equal '11B' ? browsed_song color '#3ED2F8' & browser_scroll +1 : param_equal '12A' ? browsed_song color '#50EBF0' & browser_scroll +1 : param_equal '12B' ? browsed_song color '#01EDED' & browser_scroll +1
I have this script whic I use to colour code my tracks according to Key Colour. Found it within this site.
It runs automatically, but the (very slight) problem is that when it reaches to a track that is 12B, it stops.
Is there a way to change this behaviour?? I tried modifying the last line with no luck,
TIA
repeat_start 'colorTracks' ? on & repeat_stop 'colorTracks' : off & browser_window "songs" & browser_scroll "top" & repeat_start 'colorTracks' 100ms & browser_scroll 'bottom' ? repeat_stop 'colorTracks' & get_browsed_song 'harmonic' & param_cast 'text' & param_equal '01A' ? browsed_song color '#70ECD4' : param_equal '01B' ? browsed_song color '#00EDC9' : param_equal '02A' ? browsed_song color '#92F0A4' : param_equal '02B' ? browsed_song color '#27EC82' : param_equal '03A' ? browsed_song color '#B1EE86' : param_equal '03B' ? browsed_song color '#85ED4E' : param_equal '04A' ? browsed_song color '#E6E0A2' : param_equal '04B' ? browsed_song color '#E0C86E' : param_equal '05A' ? browsed_song color '#FEC8AC' : param_equal '05B' ? browsed_song color '#FFA279' : param_equal '06A' ? browsed_song color '#FFB3BF' : param_equal '06B' ? browsed_song color '#FF8C93' : param_equal '07A' ? browsed_song color '#FFB4D2' : param_equal '07B' ? browsed_song color '#FF85B4' : param_equal '08A' ? browsed_song color '#EBB7F9' : param_equal '08B' ? browsed_song color '#F087D9' : param_equal '09A' ? browsed_song color '#E7B6F8' : param_equal '09B' ? browsed_song color '#CE93FF' : param_equal '10A' ? browsed_song color '#C0CEFB' : param_equal '10B' ? browsed_song color '#A1B9FF' : param_equal '11A' ? browsed_song color '#94E5F8' : param_equal '11B' ? browsed_song color '#3ED2F8' : param_equal '12A' ? browsed_song color '#50EBF0' : param_equal '12B' ? browsed_song color '#01EDED' : nothing : get_browsed_song 'harmonic' & param_cast 'text' & param_equal '01A' ? browsed_song color '#70ECD4' & browser_scroll +1 : param_equal '01B' ? browsed_song color '#00EDC9' & browser_scroll +1 : param_equal '02A' ? browsed_song color '#92F0A4' & browser_scroll +1 : param_equal '02B' ? browsed_song color '#27EC82' & browser_scroll +1 : param_equal '03A' ? browsed_song color '#B1EE86' & browser_scroll +1 : param_equal '03B' ? browsed_song color '#85ED4E' & browser_scroll +1 : param_equal '04A' ? browsed_song color '#E6E0A2' & browser_scroll +1 : param_equal '04B' ? browsed_song color '#E0C86E' & browser_scroll +1 : param_equal '05A' ? browsed_song color '#FEC8AC' & browser_scroll +1 : param_equal '05B' ? browsed_song color '#FFA279' & browser_scroll +1 : param_equal '06A' ? browsed_song color '#FFB3BF' & browser_scroll +1 : param_equal '06B' ? browsed_song color '#FF8C93' & browser_scroll +1 : param_equal '07A' ? browsed_song color '#FFB4D2' & browser_scroll +1 : param_equal '07B' ? browsed_song color '#FF85B4' & browser_scroll +1 : param_equal '08A' ? browsed_song color '#EBB7F9' & browser_scroll +1 : param_equal '08B' ? browsed_song color '#F087D9' & browser_scroll +1 : param_equal '09A' ? browsed_song color '#E7B6F8' & browser_scroll +1 : param_equal '09B' ? browsed_song color '#CE93FF' & browser_scroll +1 : param_equal '10A' ? browsed_song color '#C0CEFB' & browser_scroll +1 : param_equal '10B' ? browsed_song color '#A1B9FF' & browser_scroll +1 : param_equal '11A' ? browsed_song color '#94E5F8' & browser_scroll +1 : param_equal '11B' ? browsed_song color '#3ED2F8' & browser_scroll +1 : param_equal '12A' ? browsed_song color '#50EBF0' & browser_scroll +1 : param_equal '12B' ? browsed_song color '#01EDED' & browser_scroll +1
Mensajes Sat 08 Oct 22 @ 12:53 am
looked ok, try this thinned down version
repeat_start 'colorTracks' ? on & repeat_stop 'colorTracks' : off & browser_window "songs" & browser_scroll "top" & repeat_start 'colorTracks' 100ms & ( get_browsed_song 'harmonic' & param_cast 'text' &
param_equal '01A' ? browsed_song color '#70ECD4' :
param_equal '01B' ? browsed_song color '#00EDC9' :
param_equal '02A' ? browsed_song color '#92F0A4' :
param_equal '02B' ? browsed_song color '#27EC82' :
param_equal '03A' ? browsed_song color '#B1EE86' :
param_equal '03B' ? browsed_song color '#85ED4E' :
param_equal '04A' ? browsed_song color '#E6E0A2' :
param_equal '04B' ? browsed_song color '#E0C86E' :
param_equal '05A' ? browsed_song color '#FEC8AC' :
param_equal '05B' ? browsed_song color '#FFA279' :
param_equal '06A' ? browsed_song color '#FFB3BF' :
param_equal '06B' ? browsed_song color '#FF8C93' :
param_equal '07A' ? browsed_song color '#FFB4D2' :
param_equal '07B' ? browsed_song color '#FF85B4' :
param_equal '08A' ? browsed_song color '#EBB7F9' :
param_equal '08B' ? browsed_song color '#F087D9' :
param_equal '09A' ? browsed_song color '#E7B6F8' :
param_equal '09B' ? browsed_song color '#CE93FF' :
param_equal '10A' ? browsed_song color '#C0CEFB' :
param_equal '10B' ? browsed_song color '#A1B9FF' :
param_equal '11A' ? browsed_song color '#94E5F8' :
param_equal '11B' ? browsed_song color '#3ED2F8' :
param_equal '12A' ? browsed_song color '#50EBF0' :
param_equal '12B' ? browsed_song color '#01EDED' : )
& browser_scroll 'bottom' ? repeat_stop 'colorTracks' : browser_scroll +1
Mensajes Sat 08 Oct 22 @ 2:17 am
locodog wrote :
looked ok, try this thinned down version
Where would I put this?
Mensajes Sat 08 Oct 22 @ 5:42 am
On a custom button, for example.
Mensajes Sat 08 Oct 22 @ 7:41 am
I was using the original version but, this version is way faster and doesn't hang on different bitrates or formats, cheers @locodog (and good to see you back too)
Mensajes Sat 08 Oct 22 @ 9:41 am
Great work as always man
Works perfect now
Works perfect now
Mensajes Sat 08 Oct 22 @ 1:01 pm
Denny DennYo wrote :
Doesnt seem to let me copy/paste; do I have to type this in?On a custom button, for example.
Mensajes Sat 08 Oct 22 @ 1:43 pm
Djratedxxx919 wrote :
Denny DennYo wrote :
Doesnt seem to let me copy/paste; do I have to type this in?On a custom button, for example.
copy and paste no longer works in the new update !!!
Mensajes Sat 08 Oct 22 @ 1:49 pm
ctrl+v works only rightclick paste doesn't work
Mensajes Sat 08 Oct 22 @ 2:31 pm
hi at all, i have mapped a button:
button: mic_rec
and i have understand that at first press starts a mic recorder, second press stop mic recorder…but why at second press mic make off?
for this i have changed mapper to force mic always on:
button: mic_rec on ? mic_rec off & mic on : mic_rec on
but doesn’t work correctly…can you help me for have mic on at mic_rec end?
thanks
button: mic_rec
and i have understand that at first press starts a mic recorder, second press stop mic recorder…but why at second press mic make off?
for this i have changed mapper to force mic always on:
button: mic_rec on ? mic_rec off & mic on : mic_rec on
but doesn’t work correctly…can you help me for have mic on at mic_rec end?
thanks
Mensajes Thu 13 Oct 22 @ 6:06 am
Hi
I am really struggling getting to grips with param_ commands so thought I'd just ask
In the following script
<visual source="get_beat_counter" type="circle">
is there a way to add 1 to the value of 'get_beat_counter' ?
ie if 'get_beat_counter' is equal to 1, 'source' gets the value 2 etc
Thanks
I am really struggling getting to grips with param_ commands so thought I'd just ask
In the following script
<visual source="get_beat_counter" type="circle">
is there a way to add 1 to the value of 'get_beat_counter' ?
ie if 'get_beat_counter' is equal to 1, 'source' gets the value 2 etc
Thanks
Mensajes Fri 14 Oct 22 @ 2:25 pm
& param_add -1
go to the first page of this thread, there's a link to a whole part on param_ manipulations.
go to the first page of this thread, there's a link to a whole part on param_ manipulations.
Mensajes Fri 14 Oct 22 @ 3:01 pm
locodog wrote :
& param_add -1
go to the first page of this thread, there's a link to a whole part on param_ manipulations.
go to the first page of this thread, there's a link to a whole part on param_ manipulations.
If I understand what you are saying correctly I have modified my script to read
<visual source="get_beat_counter & param_add -1" type="circle">
however that doesn't appear to work, the result is a blank circle (i also copied that expression to a text zone action with the same result (blank), i'm not sure but is it because I am using 'get_beat_counter' rather then 'get var ....' that the script isn't performing the correct math.
I did read other pages of this thread to try & work it out but the scripts quoted were so long I am having trouble isolating the correct syntax for just adding 1 to a 'get' value,
Mensajes Fri 14 Oct 22 @ 3:45 pm
oh right it's not direct number, more 0.0-1.0 represented
the minus sign was a purposeful error for you to figure out how to subtract with param_add
you want to add 1/32 or whatever your counter ceiling is, bear in mind when the counter hits the ceiling [actual without manipulation] you need to wrap round to zero
the minus sign was a purposeful error for you to figure out how to subtract with param_add
you want to add 1/32 or whatever your counter ceiling is, bear in mind when the counter hits the ceiling [actual without manipulation] you need to wrap round to zero
Mensajes Fri 14 Oct 22 @ 4:17 pm
Hi
I've tried various things using your instructions (now on page 2 lol) and discovered that in a textzone I can create an action
action ="param_multiply get_beat_counter 16 & param_add 2" that will do what I want, when get_beat_counter is saying 1, the result is 2 etc up to 16=17.
However that won't work in a source= command, but I'm assuming now that the 'source' is expecting a value from 0-1, I will scratch my head to see how I can nudge it up by a factor so it 'appears' to be 1 ahead.
I've tried various things using your instructions (now on page 2 lol) and discovered that in a textzone I can create an action
action ="param_multiply get_beat_counter 16 & param_add 2" that will do what I want, when get_beat_counter is saying 1, the result is 2 etc up to 16=17.
However that won't work in a source= command, but I'm assuming now that the 'source' is expecting a value from 0-1, I will scratch my head to see how I can nudge it up by a factor so it 'appears' to be 1 ahead.
Mensajes Fri 14 Oct 22 @ 4:24 pm
Hi
What I have been trying to do is change the beat circle, trying to adjust how the circle fills as the beat progresses cause I would prefer beat 1 to have 1/16 of the circle filled & beat 16 to be a full circle, so I have changed the visual to
"get_beat_counter & param_add 0.06249" (0.625 is 1/16 & I want 16 to be full not off)
It appears to work just wandered if anyone had a scenario that could mess this up.
I will test it & see how it goes & thanks for the help so far LOCODOG.
Thanks again
What I have been trying to do is change the beat circle, trying to adjust how the circle fills as the beat progresses cause I would prefer beat 1 to have 1/16 of the circle filled & beat 16 to be a full circle, so I have changed the visual to
"get_beat_counter & param_add 0.06249" (0.625 is 1/16 & I want 16 to be full not off)
It appears to work just wandered if anyone had a scenario that could mess this up.
I will test it & see how it goes & thanks for the help so far LOCODOG.
Thanks again
Mensajes Fri 14 Oct 22 @ 4:38 pm
hi! with this script:
button: virtualfolder_add ‘sampler/pippo’
i can add sample focused in browser window “songs” in sampler bank named “pippo”; but if i would add sample not in soecific sampler bank (not only “pippo”), but in sampler bank selected at this time
button: virtualfolder_add ‘sampler/‘get_sampler_bank’ ‘
but doesn’t work :(
can you help me?
thanks
button: virtualfolder_add ‘sampler/pippo’
i can add sample focused in browser window “songs” in sampler bank named “pippo”; but if i would add sample not in soecific sampler bank (not only “pippo”), but in sampler bank selected at this time
button: virtualfolder_add ‘sampler/‘get_sampler_bank’ ‘
but doesn’t work :(
can you help me?
thanks
Mensajes Sat 15 Oct 22 @ 5:46 am