no the test for the bottom as I posted earlier only works in context of moving round folders, it doesn't work as a query.
geposted Thu 07 Mar 24 @ 12:41 am
thanks…is theren’t any solution? :(
geposted Thu 07 Mar 24 @ 6:23 am
There is one thing but it's more complicated than I can be bothered explaining in detail.
make a scroller, test for bottom, anything that opens add that header to a string variable, day to day use test if variable contains header in use.
You'd have to run the scroller any time you change folder layout.
PS please don't quote when it's obvious to whom you're replying to.
make a scroller, test for bottom, anything that opens add that header to a string variable, day to day use test if variable contains header in use.
You'd have to run the scroller any time you change folder layout.
PS please don't quote when it's obvious to whom you're replying to.
geposted Thu 07 Mar 24 @ 6:51 am
for my request i would use script: get_browsed_scrollpos
that is 0 only when cursor is in last folder 👍 but script:
get_browsed_scrollpos & param_cast ‘text’ & param _contains ‘0’
non work correctly :( could you help me? Tuanks!!
that is 0 only when cursor is in last folder 👍 but script:
get_browsed_scrollpos & param_cast ‘text’ & param _contains ‘0’
non work correctly :( could you help me? Tuanks!!
geposted Thu 07 Mar 24 @ 11:16 pm
get_browsed_scrollpos & param_cast ‘text’ & param _contains ‘0’ works well for my request 👍
geposted Tue 12 Mar 24 @ 11:25 am
hi! i would all decks in beatlock with same masterdeck tempo, my script is:
-deck all beatlock on ? deck all beatlock off : deck all sync ‘masterdeck’ & deck all beatlock on
but doesn’t work :( could you help me?
thanks!
-deck all beatlock on ? deck all beatlock off : deck all sync ‘masterdeck’ & deck all beatlock on
but doesn’t work :( could you help me?
thanks!
geposted Sat 16 Mar 24 @ 6:03 pm
deck all isn't great for queries, query individuals, something like this
or like this
param_equal get_decks 4 ? param_equal `param_add "param_add 'deck 1 beatlock' 'deck 2 beatlock'" "param_add 'deck 3 beatlock' 'deck 4 beatlock'"` 4 ? deck all beatlock off : deck all beatlock on : param_equal get_decks 2 ? param_equal `param_add 'deck 1 beatlock' 'deck 2 beatlock'` 2 ? deck all beatlock off : deck all beatlock on :
or like this
deck 1 beatlock && deck 2 beatlock && deck 3 beatlock && deck 4 beatlock ? deck all beatlock off : deck all beatlock on
geposted Sat 16 Mar 24 @ 6:23 pm
solved: my right script is:
deck all beatlock & deck 1 masterdeck ? deck 2 sync & deck 3 sync & deck 4 sync : deck 2 masterdeck ? deck 1 sync & deck 3 sync & deck 4 sync : deck 3 masterdeck ? deck 1 sync & deck 2 sync & deck 4 sync : deck 4 masterdeck ? deck 1 sync & deck 2 sync & deck 3 sync : nothing
👍
deck all beatlock & deck 1 masterdeck ? deck 2 sync & deck 3 sync & deck 4 sync : deck 2 masterdeck ? deck 1 sync & deck 3 sync & deck 4 sync : deck 3 masterdeck ? deck 1 sync & deck 2 sync & deck 4 sync : deck 4 masterdeck ? deck 1 sync & deck 2 sync & deck 3 sync : nothing
👍
geposted Sun 17 Mar 24 @ 10:46 pm
I've asked you to stop quoting when it's clear whom you're replying to in this thread. Now I'm telling you, I will stop replying to you if I have to edit your posts again.
What's wrong with just?
deck all beatlock
It will sync from that
What's wrong with just?
deck all beatlock
It will sync from that
geposted Sun 17 Mar 24 @ 11:56 pm
DECK ALL
A useful deck specifier for when you want all decks to do something but there are logical implications.
Check the var_list after pressing this button
result2's value may come as a surprise, what's happened under the hood the script actually performed is this
It repeated the script for each deck so result2 is incremented 4 times
Playing with the logic, you can do something like this
make every other deck [other than the calling deck] play
Short and sweet,
If you need to use deck all for simple scripts there's no problem.
If you need deck all in more complicated scripts it's probably best to contain it in ( ) [deck specified in brackets only stay true inside the brackets]
There's probably some shortcuts here for complicated multideck scripts, just be wary, things can get confusing fast.
A useful deck specifier for when you want all decks to do something but there are logical implications.
Check the var_list after pressing this button
deck all set result1 `get_deck` & set $result1 +1 & deck 1 set result2 +1
result2's value may come as a surprise, what's happened under the hood the script actually performed is this
( deck 1 set result1 `get_deck` & set $result1 +1 & deck 1 set result2 +1 ) &
( deck 2 set result1 `get_deck` & set $result1 +1 & deck 1 set result2 +1 ) &
( deck 3 set result1 `get_deck` & set $result1 +1 & deck 1 set result2 +1 ) &
( deck 4 set result1 `get_deck` & set $result1 +1 & deck 1 set result2 +1 )
It repeated the script for each deck so result2 is incremented 4 times
Playing with the logic, you can do something like this
make every other deck [other than the calling deck] play
set $deckvar `get_deck` & deck all param_equal `get_var $deckvar` `get_deck` ? : play_pause
Short and sweet,
If you need to use deck all for simple scripts there's no problem.
If you need deck all in more complicated scripts it's probably best to contain it in ( ) [deck specified in brackets only stay true inside the brackets]
There's probably some shortcuts here for complicated multideck scripts, just be wary, things can get confusing fast.
geposted Mon 18 Mar 24 @ 12:51 am
locodog wrote :
I've asked you to stop quoting when it's clear whom you're replying to in this thread. Now I'm telling you, I will stop replying to you if I have to edit your posts again.
What's wrong with just?
deck all beatlock
It will sync from that
What's wrong with just?
deck all beatlock
It will sync from that
ok, i have understand, but i rewrite correct script for all users that have same request, ok? in all these pages (supreme blog for me!) i have read many and many script that have illuminated me for my personal mapper modifiers…and i think other members could make some thing…but if you don’t want these anymore, i stop post correct script, ok!
Thanks for all support Locodog 👍
geposted Wed 20 Mar 24 @ 9:00 am
locodog wrote :
I've asked you to stop quoting when it's clear whom you're replying to in this thread. Now I'm telling you, I will stop replying to you if I have to edit your posts again.
What's wrong with just?
deck all beatlock
It will sync from that
What's wrong with just?
deck all beatlock
It will sync from that
…mmm not that i would…because ‘deck all beatlock’ sync other deck to the focused deck and not to the masterdeck..i wont masterdeck 👍 but i solved..thanks a lot
geposted Wed 20 Mar 24 @ 7:27 pm
@mg_1978
You're wrong on several levels, but if you're not going to respect my request, I don't see why I should bother replying to correct you.
You're wrong on several levels, but if you're not going to respect my request, I don't see why I should bother replying to correct you.
geposted Thu 21 Mar 24 @ 1:25 am
Hi!
virtualfolder_add ‘Sampler/Recordings’
why don’t work? Recordings is not a folder? 🤔 thanks a lot
virtualfolder_add ‘Sampler/Recordings’
why don’t work? Recordings is not a folder? 🤔 thanks a lot
geposted Fri 22 Mar 24 @ 5:46 pm
A user requested this [make beatjump wrap round an existing loop]
I thought it kind of interesting
for jumping forward in the loop things to consider;
are we in a loop ? [if not nothing special needed]
is our jump bigger than the whole loop ? [idiot check, if true do nothing],
is our current position in the loop added to the beatjump, smaller than the loop size? [if so nothing special needed] [we get our position in the loop in beats by param_multiply get_loop loop_position]
if false do some math, our loop size * -1, added to beatjump gives us the amount we need to jump back. [wrap around]
a forward button it would be like this
Backwards is a little different
mainly our wrap check, is beatjump value smaller than current loop position.
[if it is nothing special needed]
if false, our beatjump value * -1, added to our loop size is the amount we need to jump forward [wrap around]
a backwards button like this
Case of encoders it would be something like this.
[same as above combined, but also need to deal with the implicit of the encoder]
Senky Dragon wrote :
Is there a way to make beatjump wrap round a loop?
If I set a 32 beat loop, am currently 28 beats through the loop, and jump forward 8 beats, I would expect to be on beat 4 of the existing loop.
If I set a 32 beat loop, am currently 28 beats through the loop, and jump forward 8 beats, I would expect to be on beat 4 of the existing loop.
I thought it kind of interesting
for jumping forward in the loop things to consider;
are we in a loop ? [if not nothing special needed]
is our jump bigger than the whole loop ? [idiot check, if true do nothing],
is our current position in the loop added to the beatjump, smaller than the loop size? [if so nothing special needed] [we get our position in the loop in beats by param_multiply get_loop loop_position]
if false do some math, our loop size * -1, added to beatjump gives us the amount we need to jump back. [wrap around]
a forward button it would be like this
loop 0 ? beatjump +1 : param_bigger get_loop beatjump ? nothing : param_bigger `param_add 'param_multiply get_loop loop_position' beatjump` get_loop ? beatjump +1 : param_add 'param_multiply get_loop -1' 'beatjump' & param_cast relative & goto
Backwards is a little different
mainly our wrap check, is beatjump value smaller than current loop position.
[if it is nothing special needed]
if false, our beatjump value * -1, added to our loop size is the amount we need to jump forward [wrap around]
a backwards button like this
loop 0 ? beatjump -1 : param_bigger get_loop beatjump ? nothing : param_smaller `param_multiply get_loop loop_position` beatjump ? beatjump -1 : param_add get_loop 'param_multiply beatjump -1' & param_cast relative & goto
Case of encoders it would be something like this.
[same as above combined, but also need to deal with the implicit of the encoder]
param_bigger 0 ? loop 0 ? beatjump +1 : param_bigger get_loop beatjump ? nothing : param_bigger `param_add 'param_multiply get_loop loop_position' beatjump` get_loop ? beatjump +1 : param_multiply 0 & param_add "param_add 'param_multiply get_loop -1' 'beatjump'" & param_cast relative & goto : loop 0 ? beatjump -1 : param_bigger get_loop beatjump ? nothing : param_smaller `param_multiply get_loop loop_position` beatjump ? beatjump -1 : param_multiply 0 & param_add "param_add get_loop 'param_multiply beatjump -1'" & param_cast relative & goto
geposted Thu 11 Apr 24 @ 6:55 pm
Hi, I can't use JOG_WHEEL to smoothly change the position of the end of the loop section. Is there any option? Thanks
geposted Sat 20 Apr 24 @ 11:19 pm
see the wheel_mode script
geposted Sat 20 Apr 24 @ 11:24 pm
wheel_mode 'loop_out' ? wheel_mode 'loop_out,jog' : loop ? wheel_mode 'loop_out,jog' : loop_out
Already solved. Bye.
Already solved. Bye.
geposted Sat 20 Apr 24 @ 11:27 pm
I'm trying to modify Touchdan's Title (Video Skin) to work for my needs.
I'd noticed that the title didn't always appear, or seemed to favour one deck over the other, so I investigated...
The original code looks like it checks the crossfader position to determine whether to show or not:
I don't use the crossfader (so it sits centrally) which I guess is why the titles are inconsistent.
I found is_audible being used in another videoskin so borrowed the code:
That works, but I've been trying to add a delay so that the text appears after 5 seconds of play rather than immediately, but so far have failed in all attempts.
(no idea what the 'or scratch' is doing)
I'd noticed that the title didn't always appear, or seemed to favour one deck over the other, so I investigated...
The original code looks like it checks the crossfader position to determine whether to show or not:
visibility="pulse 25000ms '`param_equal get_crossfader_result 0 ? deck left load_pulse : param_equal get_crossfader_result 1 ? deck right load_pulse : fadeout 1000ms 750ms`'"
I don't use the crossfader (so it sits centrally) which I guess is why the titles are inconsistent.
I found is_audible being used in another videoskin so borrowed the code:
visibility="is_audible 'or scratch' & fadeout 1000ms 500ms"
That works, but I've been trying to add a delay so that the text appears after 5 seconds of play rather than immediately, but so far have failed in all attempts.
(no idea what the 'or scratch' is doing)
geposted Sun 21 Apr 24 @ 9:43 am
Try load_pulse_active
visibility="load_pulse_active 2000ms 5000ms & fadeout 1000ms 500ms"
geposted Sun 21 Apr 24 @ 12:03 pm