Dear colleagues,
I ask for your help in writing a script to control the flashing of the button. I have studied the Freestyler program and am now assigning controls to buttons in Launchpad. I ran into a problem: I can't make the button blink dimly when the function is not active, and brightly when the function is on. I would appreciate any help or advice on this issue.
the function on the button is written as follows:
var_equal '$FS_RCV_$FS_SND_OVER_01' 0 ? off & set '$FS_SND_OVER_01' 1 while_pressed : on & set '$FS_SND_OVER_01' 1 while_pressed
I wrote it like this: var_equal '$FS_RCV_$FS_SND_OVER_01' 0 ? blink 500ms ? color 'white' : off : color 'dark white
In this case, the button always blinks dimly, when I press and release the button, the function turns on, the button blinks dimly, I press it again - the function turns off, the button blinks dimly, but if you press and hold the button, it blinks brightly.
I ask for your help in writing a script to control the flashing of the button. I have studied the Freestyler program and am now assigning controls to buttons in Launchpad. I ran into a problem: I can't make the button blink dimly when the function is not active, and brightly when the function is on. I would appreciate any help or advice on this issue.
the function on the button is written as follows:
var_equal '$FS_RCV_$FS_SND_OVER_01' 0 ? off & set '$FS_SND_OVER_01' 1 while_pressed : on & set '$FS_SND_OVER_01' 1 while_pressed
I wrote it like this: var_equal '$FS_RCV_$FS_SND_OVER_01' 0 ? blink 500ms ? color 'white' : off : color 'dark white
In this case, the button always blinks dimly, when I press and release the button, the function turns on, the button blinks dimly, I press it again - the function turns off, the button blinks dimly, but if you press and hold the button, it blinks brightly.
Inviato Mon 16 Sep 24 @ 5:34 pm
What is wrong with this Script? It does what i want it to do, i.e toggle the loopchop effect on and off and give me LED Feedback but the only problem is that the LED is on by default and the effect is activated when the LED is off and the opposite when its on. Almost like i have to push the button to arm it before pressing again to get the desired feature. Any Help will be much appreciated,Thanks
var 'voiceThing' 0 ?
on & toggle 'voiceThing' & set 'VoxFXcount' `var 'VoxFXcount' ? get_var "VoxFXcount" & param_add 1 : get_text '1' & param_cast val` & set 'voxLoopCycle' 0 & effect_stems 'vocal' on & repeat_stop 'voxRoller2' & quantize_loop on & padfx 'loop roll' 0.9 0.75 & wait 1bt 1 & repeat_start 'voxRoller' 1bt & effect_slider 'loop roll' 2 -20% & cycle 'voxLoopCounter' 2 & var 'voxLoopCounter' 0 ? repeat_stop 'voxRoller' & repeat_start 'voxRoller2' 1bt & effect_slider 'loop roll' 1 -15% & cycle 'voxLoopCycle' 6 & var 'voxLoopCycle' 0 ? repeat_stop 'voxRoller2' : nothing : nothing : off & toggle 'voiceThing' & repeat_stop 'voxRoller2' & effect_active 'loop roll' off & get_var "VoxFXcount" & param_equal 1 ? effect_stems 'vocal' off & set 'VoxFXcount' `get_var "VoxFXcount" & param_add -1` : set 'VoxFXcount' `get_var "VoxFXcount" & param_add -1`
var 'effectActive' 0 ?
on & set 'VoxFXcount' `var 'VoxFXcount' ? get_var "VoxFXcount" & param_add 1 : get_text '1' & param_cast val` & set 'voxLoopCycle' 0 & effect_stems 'vocal' on & repeat_stop 'voxRoller2' & quantize_loop on & padfx 'loop roll' 0.9 0.75 & wait 1bt 1 & repeat_start 'voxRoller' 1bt & effect_slider 'loop roll' 2 -20% & cycle 'voxLoopCounter' 2 & var 'voxLoopCounter' 0 ? repeat_stop 'voxRoller' & repeat_start 'voxRoller2' 1bt & effect_slider 'loop roll' 1 -15% & cycle 'voxLoopCycle' 6 & var 'voxLoopCycle' 0 ? repeat_stop 'voxRoller2' : nothing : nothing : off & repeat_stop 'voxRoller2' & effect_active 'loop roll' off & get_var "VoxFXcount" & param_equal 1 ? effect_stems 'vocal' off & set 'VoxFXcount' `get_var "VoxFXcount" & param_add -1` : set 'VoxFXcount' `get_var "VoxFXcount" & param_add -1`
var 'voiceThing' 0 ?
on & toggle 'voiceThing' & set 'VoxFXcount' `var 'VoxFXcount' ? get_var "VoxFXcount" & param_add 1 : get_text '1' & param_cast val` & set 'voxLoopCycle' 0 & effect_stems 'vocal' on & repeat_stop 'voxRoller2' & quantize_loop on & padfx 'loop roll' 0.9 0.75 & wait 1bt 1 & repeat_start 'voxRoller' 1bt & effect_slider 'loop roll' 2 -20% & cycle 'voxLoopCounter' 2 & var 'voxLoopCounter' 0 ? repeat_stop 'voxRoller' & repeat_start 'voxRoller2' 1bt & effect_slider 'loop roll' 1 -15% & cycle 'voxLoopCycle' 6 & var 'voxLoopCycle' 0 ? repeat_stop 'voxRoller2' : nothing : nothing : off & toggle 'voiceThing' & repeat_stop 'voxRoller2' & effect_active 'loop roll' off & get_var "VoxFXcount" & param_equal 1 ? effect_stems 'vocal' off & set 'VoxFXcount' `get_var "VoxFXcount" & param_add -1` : set 'VoxFXcount' `get_var "VoxFXcount" & param_add -1`
var 'effectActive' 0 ?
on & set 'VoxFXcount' `var 'VoxFXcount' ? get_var "VoxFXcount" & param_add 1 : get_text '1' & param_cast val` & set 'voxLoopCycle' 0 & effect_stems 'vocal' on & repeat_stop 'voxRoller2' & quantize_loop on & padfx 'loop roll' 0.9 0.75 & wait 1bt 1 & repeat_start 'voxRoller' 1bt & effect_slider 'loop roll' 2 -20% & cycle 'voxLoopCounter' 2 & var 'voxLoopCounter' 0 ? repeat_stop 'voxRoller' & repeat_start 'voxRoller2' 1bt & effect_slider 'loop roll' 1 -15% & cycle 'voxLoopCycle' 6 & var 'voxLoopCycle' 0 ? repeat_stop 'voxRoller2' : nothing : nothing : off & repeat_stop 'voxRoller2' & effect_active 'loop roll' off & get_var "VoxFXcount" & param_equal 1 ? effect_stems 'vocal' off & set 'VoxFXcount' `get_var "VoxFXcount" & param_add -1` : set 'VoxFXcount' `get_var "VoxFXcount" & param_add -1`
Inviato Wed 18 Sep 24 @ 4:09 pm
invert where you call led on/off
Inviato Wed 18 Sep 24 @ 4:27 pm
sorry but I am very green with VDJ scripts. I can’t find the “led toggles” in the script I uploaded . Thanks for your help as always 🙏🏾
Inviato Thu 19 Sep 24 @ 2:44 am
var 'voiceThing' 0 ?
off & toggle 'voiceThing' & set 'VoxFXcount' `var 'VoxFXcount' ? get_var "VoxFXcount" & param_add 1 : get_text '1' & param_cast val` & set 'voxLoopCycle' 0 & effect_stems 'vocal' on & repeat_stop 'voxRoller2' & quantize_loop on & padfx 'loop roll' 0.9 0.75 & wait 1bt 1 & repeat_start 'voxRoller' 1bt & effect_slider 'loop roll' 2 -20% & cycle 'voxLoopCounter' 2 & var 'voxLoopCounter' 0 ? repeat_stop 'voxRoller' & repeat_start 'voxRoller2' 1bt & effect_slider 'loop roll' 1 -15% & cycle 'voxLoopCycle' 6 & var 'voxLoopCycle' 0 ? repeat_stop 'voxRoller2' : nothing : nothing : on & toggle 'voiceThing' & repeat_stop 'voxRoller2' & effect_active 'loop roll' off & get_var "VoxFXcount" & param_equal 1 ? effect_stems 'vocal' off & set 'VoxFXcount' `get_var "VoxFXcount" & param_add -1` : set 'VoxFXcount' `get_var "VoxFXcount" & param_add -1`
var 'effectActive' 0 ?
off & set 'VoxFXcount' `var 'VoxFXcount' ? get_var "VoxFXcount" & param_add 1 : get_text '1' & param_cast val` & set 'voxLoopCycle' 0 & effect_stems 'vocal' on & repeat_stop 'voxRoller2' & quantize_loop on & padfx 'loop roll' 0.9 0.75 & wait 1bt 1 & repeat_start 'voxRoller' 1bt & effect_slider 'loop roll' 2 -20% & cycle 'voxLoopCounter' 2 & var 'voxLoopCounter' 0 ? repeat_stop 'voxRoller' & repeat_start 'voxRoller2' 1bt & effect_slider 'loop roll' 1 -15% & cycle 'voxLoopCycle' 6 & var 'voxLoopCycle' 0 ? repeat_stop 'voxRoller2' : nothing : nothing : on & repeat_stop 'voxRoller2' & effect_active 'loop roll' off & get_var "VoxFXcount" & param_equal 1 ? effect_stems 'vocal' off & set 'VoxFXcount' `get_var "VoxFXcount" & param_add -1` : set 'VoxFXcount' `get_var "VoxFXcount" & param_add -1`
I'm not going to bother trying to figure out what it is supposed to be doing,
If you see "on" or "off" on their own in a script then that's for LED logic
Inviato Thu 19 Sep 24 @ 3:24 am
Thanks Locodog... Much Appreciated
Inviato Thu 19 Sep 24 @ 1:36 pm
@djkrysr new in EA build 8322
X being sample slot number
get_sample_info X type
X being sample slot number
Inviato Wed 25 Sep 24 @ 1:10 am
Great, thanks for letting me know this addition to the script, I will get straight on it.
Inviato Wed 25 Sep 24 @ 10:18 am
Tested the `get_sample_info` addition and it all works perfectly thanks.
Another thing I can' seem to work out is how to tell videos apart from karaoke tracks as they both return true with 'is_video', are you aware of a way to distinguish between the two formats using script as obviously VDJ can.
Thanks anyway
Another thing I can' seem to work out is how to tell videos apart from karaoke tracks as they both return true with 'is_video', are you aware of a way to distinguish between the two formats using script as obviously VDJ can.
Thanks anyway
Inviato Sat 05 Oct 24 @ 2:01 pm
Hi friends.
I´m triying program a custom button in each deck. who gets the loaded song and add it to a specific virtual folder.
I triyed lots of combinations but almost times the track added is from browser selection. and i would it be from each deck the track is playing or simply loaded on it.
i´ve triyed it by different ways but noone giveme succes.
thanks for any support.
regards
I´m triying program a custom button in each deck. who gets the loaded song and add it to a specific virtual folder.
I triyed lots of combinations but almost times the track added is from browser selection. and i would it be from each deck the track is playing or simply loaded on it.
get_text "`get_loaded_song 'drive'`:`get_loaded_song 'filepath'`" & param_cast 'text' & browser_gotofolder & add_to_list "R.B.K/OCTUBRE" & get_filename
get_text `get_loaded_song 'drive'`:`get_loaded_song 'filepath'`" & Add_to_list 'text'
search " `get_text "`get_loaded_song 'title`:`get_loaded_song 'artist'` " & param_cast 'text' & add_to_list "GUIYEYDJ/SEPT"
i´ve triyed it by different ways but noone giveme succes.
thanks for any support.
regards
Inviato Wed 09 Oct 24 @ 3:10 pm
Hi solved i got it....
I find the answer and almost script did it in a pad from @locodog it was rate n color and give me the way to get success...
If some one would use it i left here the script. is for use in custom buttom from player (not buttons in browser)
VIRTUALFOLDERSnow are calling "local list" so i`m not update it in my brain.
Maybe works finest if use get_tittle_artist instead get_tittle_remix, if you do it will be appreciate any comment about.
Hope it will be useful for someone.
Regards!!!
I find the answer and almost script did it in a pad from @locodog it was rate n color and give me the way to get success...
If some one would use it i left here the script. is for use in custom buttom from player (not buttons in browser)
get_title_remix & param_cast & search & repeat_start 'rsCTFD' 250ms 1 & add_to_list "YOUR VIRTUAL FOLDER/YOURVIRTUALSUBFOLDER"
VIRTUALFOLDERSnow are calling "local list" so i`m not update it in my brain.
Maybe works finest if use get_tittle_artist instead get_tittle_remix, if you do it will be appreciate any comment about.
Hope it will be useful for someone.
Regards!!!
Inviato Fri 11 Oct 24 @ 6:13 pm
Hi
I'm trying to map the left and right EQ_HI controls on a z2 to make it 4 deck compatible.
both left and right high EQ appear to activate the same midi control script. This is not a problem when it is calling eq_high (as it can determine whether it is left or right), however when I specify deck left eq_high, which swaps between A & C , the right high EQ knob also only works on the Deck A & C. eq_high on its own can determine the context somehow.
1) how is it context sensitve when the mapper appears to indicate it calls the same script.
2) how can I correct my code to allow the left high EQ to call deck left eq_high and the right EQ knob to call deck right eq_high ?
Thanks
I'm trying to map the left and right EQ_HI controls on a z2 to make it 4 deck compatible.
both left and right high EQ appear to activate the same midi control script. This is not a problem when it is calling eq_high (as it can determine whether it is left or right), however when I specify deck left eq_high, which swaps between A & C , the right high EQ knob also only works on the Deck A & C. eq_high on its own can determine the context somehow.
1) how is it context sensitve when the mapper appears to indicate it calls the same script.
2) how can I correct my code to allow the left high EQ to call deck left eq_high and the right EQ knob to call deck right eq_high ?
Thanks
Inviato Fri 11 Oct 24 @ 9:20 pm
In 4 decks controllers you have a button to select between 1-3 decks or 2-4
need one button for make change in each deck
Like
toggle "$deck13"
and other like
toggle "$deck24"
in your knob have to question this variable
eq_high left
var_equal "$deck13" 0 ? deck 1 eq_high : deck 3 eq_high
in eq_hi for right ....
var_equal "$deck24" 0 ? deck 2 eq_high : deck 4 eq_high
hope be useful.
good luck and comment if was useful .
bye
need one button for make change in each deck
Like
toggle "$deck13"
and other like
toggle "$deck24"
in your knob have to question this variable
eq_high left
var_equal "$deck13" 0 ? deck 1 eq_high : deck 3 eq_high
in eq_hi for right ....
var_equal "$deck24" 0 ? deck 2 eq_high : deck 4 eq_high
hope be useful.
good luck and comment if was useful .
bye
Inviato Fri 11 Oct 24 @ 11:25 pm
Hi…
wich is different about new script “sampler_rec_delete” and existing script “browser_remove”?
thanks
wich is different about new script “sampler_rec_delete” and existing script “browser_remove”?
thanks
Inviato Fri 18 Oct 24 @ 9:36 am
sampler_rec_delete deletes a sample from the 'recordings bank', not matter if it is visible or selected.
browser_remove removes the selected track from the list currently highlighted in the browser
browser_remove removes the selected track from the list currently highlighted in the browser
Inviato Fri 18 Oct 24 @ 9:59 am
Hello, i Need help for a Script:
I have put a shortcut on the folder/search Tidal and subfolder Video. this works great and I can search directly. Now I want to call up the shortcut with the keyboard.
Thnax
I have put a shortcut on the folder/search Tidal and subfolder Video. this works great and I can search directly. Now I want to call up the shortcut with the keyboard.
Thnax
Inviato Sat 19 Oct 24 @ 2:31 pm
browser_shortcut X & search
X being the number of the shortcut.
Inviato Sat 19 Oct 24 @ 2:41 pm
browser_shortcut X & search - this works perfectly.
Is it possible to have the same functionality as the ‘normal’ mp3 search? If there is no track in the database, does it search Tidal first? But just for videos?
Is it possible to have the same functionality as the ‘normal’ mp3 search? If there is no track in the database, does it search Tidal first? But just for videos?
Inviato Tue 29 Oct 24 @ 2:24 pm
hi there,
is there a way to use the script
I'm so used to have it like that.
is there a way to use the script
keyboard_shortcutanyhow to have the function "playback keys use shift" as in serato?
I'm so used to have it like that.
Inviato 4 days ago @ 9:12 pm
Aren't you then just mapping to SHIFT+KEY ?
but if you mean to toggle just map shift button to the script you included.
but if you mean to toggle just map shift button to the script you included.
Inviato 4 days ago @ 9:59 pm