In my skin I have several settings/commands in the onload section. As far as I can tell, they all work... except for two: the "deck 1 volume 0%" and the "deck 1 volume 0%" commands. VirtualDJ always opens with the faders up to the max. Is my syntax wrong?
geposted Sat 09 Nov 24 @ 9:18 am
volume isn't a script, you mean level
geposted Sat 09 Nov 24 @ 9:25 am
Try to put these to <oninit action=""/> instead of <onload>
geposted Sat 09 Nov 24 @ 9:28 am
@LocoDog:
Nonetheless, I had tried that already.
@DJDad:
I tried it but there's no difference in using either command.
Nonetheless, I had tried that already.
@DJDad:
I tried it but there's no difference in using either command.
geposted Sat 09 Nov 24 @ 10:20 am
Note: In the same skin I have buttons to load songs to a deck, and there the command works.
"load & volume 0%"
"load & volume 0%"
geposted Sat 09 Nov 24 @ 10:31 am
I tried with ..
<onload action="deck 1 volume 0%"/>
on a skin and works as expected.
Perhaps something else prevents this from getting executed, like a ONINIT action in your Keyboard Mapping, or some connected Hardware/Controller ?
Can you share your complete onload action ?
Also try to split your onload action to multiple onloads
like..
<onload action="action 1"/>
<onload action="action 2"/>
..
<onload action="action n"/>
Maybe this "small delay" helps.
<onload action="deck 1 volume 0%"/>
on a skin and works as expected.
Perhaps something else prevents this from getting executed, like a ONINIT action in your Keyboard Mapping, or some connected Hardware/Controller ?
Can you share your complete onload action ?
Also try to split your onload action to multiple onloads
like..
<onload action="action 1"/>
<onload action="action 2"/>
..
<onload action="action n"/>
Maybe this "small delay" helps.
geposted Sat 09 Nov 24 @ 10:34 am
I have no keyboard mapping or hardware controllers. Just a touch screen.
<oninit action="setting 'automixMode' 'radio' & setting 'smartScratch' 'No' & setting 'videoRandomTransition' on & setting 'videoVolumeLink' 'No' & setting 'crossfaderDisable' 'Yes' & setting 'videoCrossfader' 'smart' & setting 'loopBackMode' 'smart' & deck all master_tempo ? nothing : deck all master_tempo & deck 1 volume 0% & deck 1 video_level 100% & deck 1 stem 'Vocal' 100% & deck 1 stem 'Instru' 100% & deck 1 stem 'Bass' 100% & deck 1 stem 'Kick' 100% & deck 1 stem 'HiHat' 100% & deck 2 volume 0% & deck 2 video_level 100% & deck 2 stem 'Vocal' 100% & deck 2 stem 'Instru' 100% & deck 2 stem 'Bass' 100% & deck 2 stem 'Kick' 100% & deck 2 stem 'HiHat' 100% & deck 3 volume 0% & deck 3 video_level 0% & deck 3 pfl 0% & deck 3 stem 'Vocal' 100% & deck 3 stem 'Instru' 100% & deck 3 stem 'Bass' 100% & deck 3 stem 'Kick' 100% & deck 3 stem 'HiHat' 100% & deck 4 volume 0% & deck 4 video_level 0% & deck 4 pfl 0% & deck 4 stem 'Vocal' 100% & deck 4 stem 'Instru' 100% & deck 4 stem 'Bass' 100% & deck 4 stem 'Kick' 100% & deck 4 stem 'HiHat' 100% & deck 5 volume 70% & deck 5 video_level 0% & setting 'autoHeadphones' 'no' & headphone_mix 0% & setting 'samplerOutputDeck' 6 & sampler_volume_master 100% & setting 'samplerVideoVolumeLink' 'No' & deck 6 volume 70% & deck 6 video_level 100% & setting 'prelistenOutput' 7 & deck 7 volume 70% & deck 7 video_level 0% & setting 'equalizerInHeadphones' 'yes'"/>
<oninit action="setting 'automixMode' 'radio' & setting 'smartScratch' 'No' & setting 'videoRandomTransition' on & setting 'videoVolumeLink' 'No' & setting 'crossfaderDisable' 'Yes' & setting 'videoCrossfader' 'smart' & setting 'loopBackMode' 'smart' & deck all master_tempo ? nothing : deck all master_tempo & deck 1 volume 0% & deck 1 video_level 100% & deck 1 stem 'Vocal' 100% & deck 1 stem 'Instru' 100% & deck 1 stem 'Bass' 100% & deck 1 stem 'Kick' 100% & deck 1 stem 'HiHat' 100% & deck 2 volume 0% & deck 2 video_level 100% & deck 2 stem 'Vocal' 100% & deck 2 stem 'Instru' 100% & deck 2 stem 'Bass' 100% & deck 2 stem 'Kick' 100% & deck 2 stem 'HiHat' 100% & deck 3 volume 0% & deck 3 video_level 0% & deck 3 pfl 0% & deck 3 stem 'Vocal' 100% & deck 3 stem 'Instru' 100% & deck 3 stem 'Bass' 100% & deck 3 stem 'Kick' 100% & deck 3 stem 'HiHat' 100% & deck 4 volume 0% & deck 4 video_level 0% & deck 4 pfl 0% & deck 4 stem 'Vocal' 100% & deck 4 stem 'Instru' 100% & deck 4 stem 'Bass' 100% & deck 4 stem 'Kick' 100% & deck 4 stem 'HiHat' 100% & deck 5 volume 70% & deck 5 video_level 0% & setting 'autoHeadphones' 'no' & headphone_mix 0% & setting 'samplerOutputDeck' 6 & sampler_volume_master 100% & setting 'samplerVideoVolumeLink' 'No' & deck 6 volume 70% & deck 6 video_level 100% & setting 'prelistenOutput' 7 & deck 7 volume 70% & deck 7 video_level 0% & setting 'equalizerInHeadphones' 'yes'"/>
geposted Sat 09 Nov 24 @ 10:42 am
@DJDad: That did the trick! I didn't know you could have more than one oninit in a skin. Many thanks!
geposted Sat 09 Nov 24 @ 10:45 am
I thought I'd separate the deck commands, but that doesn't work either.
<oninit action="deck 1 (volume 0% & video_level 100% & stem 'Vocal' 100% & stem 'Instru' 100% & stem 'Bass' 100% & stem 'Kick' 100% & stem 'HiHat' 100%)"/>
<oninit action="deck 2 (volume 0% & video_level 100% & stem 'Vocal' 100% & stem 'Instru' 100% & stem 'Bass' 100% & stem 'Kick' 100% & stem 'HiHat' 100%)"/>
<oninit action="deck 3 (volume 0% & video_level 0% & pfl 0% & stem 'Vocal' 100% & stem 'Instru' 100% & stem 'Bass' 100% & stem 'Kick' 100% & stem 'HiHat' 100%)"/>
<oninit action="deck 4 (volume 0% & video_level 0% & pfl 0% & stem 'Vocal' 100% & stem 'Instru' 100% & stem 'Bass' 100% & stem 'Kick' 100% & stem 'HiHat' 100%)"/>
<oninit action="deck 5 (volume 70% & video_level 0%)"/>
<oninit action="deck 6 (volume 70% & video_level 100%)"/>
<oninit action="deck 7 (volume 70% & video_level 0%)"/>
<oninit action="setting 'automixMode' 'radio' & setting 'smartScratch' 'No' & setting 'videoRandomTransition' on & setting 'videoVolumeLink' 'No' & setting 'crossfaderDisable' 'Yes' & setting 'videoCrossfader' 'smart' & setting 'loopBackMode' 'smart' & (deck all master_tempo ? nothing : deck all master_tempo) & setting 'autoHeadphones' 'no' & headphone_mix 0% & setting 'samplerOutputDeck' 6 & sampler_volume_master 100% & setting 'samplerVideoVolumeLink' 'No' & setting 'prelistenOutput' 7 & setting 'equalizerInHeadphones' 'yes'"/>
Do you really have to seperate every single command in oninit?
<oninit action="deck 1 (volume 0% & video_level 100% & stem 'Vocal' 100% & stem 'Instru' 100% & stem 'Bass' 100% & stem 'Kick' 100% & stem 'HiHat' 100%)"/>
<oninit action="deck 2 (volume 0% & video_level 100% & stem 'Vocal' 100% & stem 'Instru' 100% & stem 'Bass' 100% & stem 'Kick' 100% & stem 'HiHat' 100%)"/>
<oninit action="deck 3 (volume 0% & video_level 0% & pfl 0% & stem 'Vocal' 100% & stem 'Instru' 100% & stem 'Bass' 100% & stem 'Kick' 100% & stem 'HiHat' 100%)"/>
<oninit action="deck 4 (volume 0% & video_level 0% & pfl 0% & stem 'Vocal' 100% & stem 'Instru' 100% & stem 'Bass' 100% & stem 'Kick' 100% & stem 'HiHat' 100%)"/>
<oninit action="deck 5 (volume 70% & video_level 0%)"/>
<oninit action="deck 6 (volume 70% & video_level 100%)"/>
<oninit action="deck 7 (volume 70% & video_level 0%)"/>
<oninit action="setting 'automixMode' 'radio' & setting 'smartScratch' 'No' & setting 'videoRandomTransition' on & setting 'videoVolumeLink' 'No' & setting 'crossfaderDisable' 'Yes' & setting 'videoCrossfader' 'smart' & setting 'loopBackMode' 'smart' & (deck all master_tempo ? nothing : deck all master_tempo) & setting 'autoHeadphones' 'no' & headphone_mix 0% & setting 'samplerOutputDeck' 6 & sampler_volume_master 100% & setting 'samplerVideoVolumeLink' 'No' & setting 'prelistenOutput' 7 & setting 'equalizerInHeadphones' 'yes'"/>
Do you really have to seperate every single command in oninit?
geposted Sat 09 Nov 24 @ 10:56 am
No, you don't. Just don't use brackets...
This works:
<oninit action="deck 1 volume 0% & deck 1 video_level 100% & deck 1 stem 'Vocal' 100% & deck 1 stem 'Instru' 100% & deck 1 stem 'Bass' 100% & deck 1 stem 'Kick' 100% & deck 1 stem 'HiHat' 100%"/>
<oninit action="deck 2 volume 0% & deck 2 video_level 100% & deck 2 stem 'Vocal' 100% & deck 2 stem 'Instru' 100% & deck 2 stem 'Bass' 100% & deck 2 stem 'Kick' 100% & deck 2 stem 'HiHat' 100%"/>
<oninit action="deck 3 volume 0% & deck 3 video_level 0% & deck 3 pfl 0% & deck 3 stem 'Vocal' 100% & deck 3 stem 'Instru' 100% & deck 3 stem 'Bass' 100% & deck 3 stem 'Kick' 100% & deck 3 stem 'HiHat' 100%"/>
<oninit action="deck 4 volume 0% & deck 4 video_level 0% & deck 4 pfl 0% & deck 4 stem 'Vocal' 100% & deck 4 stem 'Instru' 100% & deck 4 stem 'Bass' 100% & deck 4 stem 'Kick' 100% & deck 4 stem 'HiHat' 100%"/>
<oninit action="deck 5 volume 70% & deck 5 video_level 0%"/>
<oninit action="deck 6 volume 70% & deck 6 video_level 100%"/>
<oninit action="deck 7 volume 70% & deck 7 video_level 0%"/>
<oninit action="setting 'automixMode' 'radio' & setting 'smartScratch' 'No' & setting 'videoRandomTransition' on & setting 'videoVolumeLink' 'No' & setting 'crossfaderDisable' 'Yes' & setting 'videoCrossfader' 'smart' & setting 'loopBackMode' 'smart' & (deck all master_tempo ? nothing : deck all master_tempo) & setting 'autoHeadphones' 'no' & headphone_mix 0% & setting 'samplerOutputDeck' 6 & sampler_volume_master 100% & setting 'samplerVideoVolumeLink' 'No' & setting 'prelistenOutput' 7 & setting 'equalizerInHeadphones' 'yes'"/>
Thank you, DJDad.
This works:
<oninit action="deck 1 volume 0% & deck 1 video_level 100% & deck 1 stem 'Vocal' 100% & deck 1 stem 'Instru' 100% & deck 1 stem 'Bass' 100% & deck 1 stem 'Kick' 100% & deck 1 stem 'HiHat' 100%"/>
<oninit action="deck 2 volume 0% & deck 2 video_level 100% & deck 2 stem 'Vocal' 100% & deck 2 stem 'Instru' 100% & deck 2 stem 'Bass' 100% & deck 2 stem 'Kick' 100% & deck 2 stem 'HiHat' 100%"/>
<oninit action="deck 3 volume 0% & deck 3 video_level 0% & deck 3 pfl 0% & deck 3 stem 'Vocal' 100% & deck 3 stem 'Instru' 100% & deck 3 stem 'Bass' 100% & deck 3 stem 'Kick' 100% & deck 3 stem 'HiHat' 100%"/>
<oninit action="deck 4 volume 0% & deck 4 video_level 0% & deck 4 pfl 0% & deck 4 stem 'Vocal' 100% & deck 4 stem 'Instru' 100% & deck 4 stem 'Bass' 100% & deck 4 stem 'Kick' 100% & deck 4 stem 'HiHat' 100%"/>
<oninit action="deck 5 volume 70% & deck 5 video_level 0%"/>
<oninit action="deck 6 volume 70% & deck 6 video_level 100%"/>
<oninit action="deck 7 volume 70% & deck 7 video_level 0%"/>
<oninit action="setting 'automixMode' 'radio' & setting 'smartScratch' 'No' & setting 'videoRandomTransition' on & setting 'videoVolumeLink' 'No' & setting 'crossfaderDisable' 'Yes' & setting 'videoCrossfader' 'smart' & setting 'loopBackMode' 'smart' & (deck all master_tempo ? nothing : deck all master_tempo) & setting 'autoHeadphones' 'no' & headphone_mix 0% & setting 'samplerOutputDeck' 6 & sampler_volume_master 100% & setting 'samplerVideoVolumeLink' 'No' & setting 'prelistenOutput' 7 & setting 'equalizerInHeadphones' 'yes'"/>
Thank you, DJDad.
geposted Sat 09 Nov 24 @ 11:00 am