I use samples a lot so I have created a floating window I can fix on a second touchscreen monitor with 64 sample buttons on it for quick access.
For each sample button I have added an icon to indicate if the sample loops but I would also like to be able to add an icon to indicate if the sample is video or not.
I have tried is_video, but this understandably doesn't seem work with samples so I thought maybe I could make sure all video samples were in groups that had the text 'Video' in it and query that, however it appears the verb 'sampler_group_name' returns a list of the groups, not the group a selected sample is in, i.e. 'sampler_group_name 2' will return the name of the second group on that particular sample bank, not the group name of the second sample in the bank, so that's a bust.
At the moment, due to the way my controller is configured I always have a video sample loaded on sample slot 5 so I am using
"param_equal `sampler_color [BUTTON]` `sampler_color 5` ? true : false"
to see if the colors match regardless of what color the video group is on a particular bank, but that is a bit of a fudge.
Is there a way to query if a sample is video, or a way to get a specific samples group name, or failing that, a better fudge I haven't thought of that could give me the result I want.
Any help or pointers would be greatly appreciated.
For each sample button I have added an icon to indicate if the sample loops but I would also like to be able to add an icon to indicate if the sample is video or not.
I have tried is_video, but this understandably doesn't seem work with samples so I thought maybe I could make sure all video samples were in groups that had the text 'Video' in it and query that, however it appears the verb 'sampler_group_name' returns a list of the groups, not the group a selected sample is in, i.e. 'sampler_group_name 2' will return the name of the second group on that particular sample bank, not the group name of the second sample in the bank, so that's a bust.
At the moment, due to the way my controller is configured I always have a video sample loaded on sample slot 5 so I am using
"param_equal `sampler_color [BUTTON]` `sampler_color 5` ? true : false"
to see if the colors match regardless of what color the video group is on a particular bank, but that is a bit of a fudge.
Is there a way to query if a sample is video, or a way to get a specific samples group name, or failing that, a better fudge I haven't thought of that could give me the result I want.
Any help or pointers would be greatly appreciated.
发表时间 Sun 15 Sep 24 @ 1:48 pm
I can't think of anything yet other than making the first char of the sample name something you could query, like using a "+" or something.
发表时间 Sun 15 Sep 24 @ 9:20 pm
I did consider a special character in the sample name but since the name is displayed on the button anyway it seemed a bit redundant, altho I might revisit that thought.
Thanks for your consideration anyway, if you can't think of a better way to do it at least I know it can't be done and to stop trying.
Thanks for your consideration anyway, if you can't think of a better way to do it at least I know it can't be done and to stop trying.
发表时间 Mon 16 Sep 24 @ 12:22 pm
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.
发表时间 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`
发表时间 Wed 18 Sep 24 @ 4:09 pm
invert where you call led on/off
发表时间 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 🙏🏾
发表时间 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
发表时间 Thu 19 Sep 24 @ 3:24 am
Thanks Locodog... Much Appreciated
发表时间 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
发表时间 Wed 25 Sep 24 @ 1:10 am
Great, thanks for letting me know this addition to the script, I will get straight on it.
发表时间 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
发表时间 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
发表时间 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!!!
发表时间 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
发表时间 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
发表时间 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
发表时间 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
发表时间 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
发表时间 Sat 19 Oct 24 @ 2:31 pm
browser_shortcut X & search
X being the number of the shortcut.
发表时间 Sat 19 Oct 24 @ 2:41 pm