Anmelden:     


Forum: General Discussion

Topic: sampler_play or sampler_select + variable
Hello,
Is there a way to create this type of script?
sampler_play + variable or sampler_select + variable
 

geposted Thu 12 Mar 26 @ 5:41 pm
get_var varname & param_cast & sampler_play
 

yes it works on a button but not on a slider.
This my script:
deck master & sampler_bank 'uc33\kick' & sampler_group_volume 'kick' & param_bigger 0.01 ? get_var uc33kick & param_cast & sampler_play & debug : sampler_stop

the debug return slider value.
I have try with sampler_play 'current' but it don't work when we use multiple bank.
The purpose it's to use multiple fader to volume and play pause sampler 's bank and use multiple knob to choose the sample in banks with this script
deck master & sampler_bank "uc33\kick" & sampler_select & sampler_play 'current' & set 'uc33kick' `get_sampler_slot`