Quick Sign In:  

Forum: VirtualDJ Technical Support

Topic: Sampler_pfl | How to toggle the sampler in the headphones on / off.
djsvenbPRO InfinityMember since 2019
Hi,

I would like to create a button with which I can toggle the sampler in the headphones on / off.

Just found "Sampler_pfl", but it will not work as a button or as a slider and i can't find any details on how to use the command correctly.

I've also tried the following, but nothing happens here either.:

https://www.virtualdj.com/wiki/VDJScript%20Examples%20Database.html

deck master sampler_output ? sampler output "headphones" : deck master sampler_output


Hope someone can help.....
 

Posted Wed 19 Jan 22 @ 5:38 pm
Try the script:
setting 'samplerHeadphones'
as a toggle
 

Posted Wed 19 Jan 22 @ 7:49 pm
djsvenbPRO InfinityMember since 2019
klausmogensen wrote :
Try the script:
setting 'samplerHeadphones'
as a toggle


Thanks very much.

No toggle needed, the answer is:

setting 'samplerHeadphones'
 

Posted Wed 19 Jan 22 @ 9:57 pm
locoDogPRO InfinityModeratorMember since 2013
that's what he meant, setting with no value usually acts as a toggle.
 

Posted Wed 19 Jan 22 @ 10:37 pm