登录:     


Forum: VirtualDJ Technical Support

Topic: Button to Toggle through saved audio settings
Is there a way to script a button to toggle through saved audio settings and automatically 'apply' the setting, and then with each setting that is toggled through, can I associate a button color to each setting?

Why? I want to be able to quickly toggle between stereo and mono settings, and between different devices I use that have different sound setups.
 

发表时间 yesterday @ 7:49 pm
It is a setting so you could map a button to toggle between them I suppose

apply_audio_config "whateveryouwant"
 

kradcliffe wrote :
It is a setting so you could map a button to toggle between them I suppose

apply_audio_config "whateveryouwant"


That's a good start. Now, if I only knew how to write a 'toggle' script...
 

This will toggle between an audio config named Config 1 and another one named Config 2
apply_audio_config "config 1" ? apply_audio_config "config 2" : apply_audio_config "config 1"


If you want to toggle between more, you can simply add them
 

klausmogensen wrote :
This will toggle between an audio config named Config 1 and another one named Config 2
apply_audio_config "config 1" ? apply_audio_config "config 2" : apply_audio_config "config 1"


If you want to toggle between more, you can simply add them


Awesome, thank you Klaus.