Hello,
I wish to have a button which toggles pfl on the sampler the same way it was discussed here for the decks (forums/263346/VirtualDJ_Skins/Strange_behavior_on_turning_on_%26_off_the_deck_volume.html), but it seems not that simple for the sampler. I tried the following
- sampler_output '0' puts the sampler output on deck 1
- I have no sound in my headphones as long as the SamplerHeadphones VDJ option is set to off.
I tried also to use sampler_pfl but it seems to be linked only to the SamplerHeadphones option and I did not find a VDJ verb to modify a VDJ option that you can find in the configuration interface.
I wish to have a button which toggles pfl on the sampler the same way it was discussed here for the decks (forums/263346/VirtualDJ_Skins/Strange_behavior_on_turning_on_%26_off_the_deck_volume.html), but it seems not that simple for the sampler. I tried the following
<button action="sampler_output 'headphones' ? sampler_output '0' & get_var $samplervol & param_cast float & sampler_volume_master : sampler_output 'headphones' & set $samplervol `sampler_volume_master` & sampler_volume_master 0%"/>but it does not work:
- sampler_output '0' puts the sampler output on deck 1
- I have no sound in my headphones as long as the SamplerHeadphones VDJ option is set to off.
I tried also to use sampler_pfl but it seems to be linked only to the SamplerHeadphones option and I did not find a VDJ verb to modify a VDJ option that you can find in the configuration interface.
geposted 7 days ago @ 5:13 pm
You could use .. setting 'SamplerHeadphones' which also works as a toggle
geposted 7 days ago @ 6:52 pm
Thank you DJDAD, that's it!
The final code is:
The final code is:
<button action="sampler_pfl ? setting 'SamplerHeadphones' off & get_var $samplervol & param_cast float & sampler_volume_master : setting 'SamplerHeadphones' on & set $samplervol `sampler_volume_master` & sampler_volume_master 0"/>
geposted 7 days ago @ 8:11 pm