Quick Sign In:  

Forum: General Discussion

Topic: Script for setting all sampler volumes when starting VirtualDJ
I have several samples and want to set all the volumes of the samples at 10%. Right now, it looks like this under ONINIT:

sampler_volume 1 30% & sampler_volume 2 30% & sampler_volume 3 30% & sampler_volume 4 30% & sampler_volume 5 30% & sampler_volume 6 30% & sampler_volume 7 30%

Is there a way to do the above so that I don't have to set it for each sampler slot? I know about the sampler_volume_master , so that I could just do this:

sampler_volume_master 30%

But then I would have to create a custom knob to readjust the master sampler volume and prefer not to do that.

So is there a way to do a different script so that the volumes for all the individual slots go to 30%, something like this?

sampler_volume 1-7 30% - this does not work

Thanks.
 

Posted Thu 09 May 24 @ 11:17 am
You could put them in a group, then adjust the volume of the group.
 

Posted Thu 09 May 24 @ 11:35 am
locoDogPRO InfinityModeratorMember since 2013
oninit like this
... & ( deck master audible ? : sampler_select 1 & repeat_start rsiSampleVol 30ms `get_sampler_count` & sampler_volume 30% & sampler_select +1 ) & ...
 

Posted Thu 09 May 24 @ 12:01 pm
Wow, Locodog. Just brilliant! Thanks.
 

Posted Thu 09 May 24 @ 3:07 pm