Forum: Old versions

Use this forum if you are still using an old version like VirtualDJ 7.


NOTE: VirtualDJ 7 is not maintained anymore.
Topic: Is it possible to auto lower volume on mic use?
Hey all!

Here is what I want to do: When I press the mic button on I'd like for the music volume to fade on both decks to, say, 60%. Then increase again when I turn the mic off.

Is something like this possible?

I'm using VDJ8 with the default skin.

Posted Sat 18 Apr 15 @ 12:44 pm
There is no auto ducking feature as standard in VDJ - but it is possible to achieve using script.

Forum script guru Locodog has sent me some script code to do this, but I've not tested it yet.

Posted Sat 18 Apr 15 @ 1:12 pm

Posted Sat 18 Apr 15 @ 2:39 pm
locodogPRO InfinityMember since 2013
@groovin, abandon the previous pm's this is better.
That's not a fade that's a cut.

For an actual fade, it's trickier.


2 Dial, 1 Button Ducking with the Volume FX

first get and install the "Volume" FX
http://www.virtualdj.com/plugins/index.html?addonid=16845

Put this on a dial (custom or HW, custom will do) This sets the bottom level
(you'll only have to set this once, ever)
set '@$DukLevel' & var_equal '@$DukLevel' 0 ? set '@$DukLevel' "`get_var '@$DukLevel' & param_add 0.01"


Put this on another dial. This sets the rate, slow to very fast, (Over 100%, 7.5s to less than 0.5s )
(it too only needs to be set once)
set '@$DukRate'


Put this on a custom_button
var_equal '$DukVar' 0 ? mic on & deck 1 effect_active "Volume" 1 & deck 2 effect_active "Volume" 1 & deck 1 effect_slider "Volume" 2 60% & deck 2 effect_slider "Volume" 2 60% & set '$DukCounter' 1 & repeat_start_instant 'DukSweep' 10ms 201 & var_greater '@$DukLevel' '$DukCounter' ? set '$DukVar' 1 & repeat_stop 'DukSweep' : var_smaller '@$DukRate' 0.1 ? set '$DukCounter' '`get_var "$DukCounter" & param_add -0.005' & deck 1 effect_slider "Volume" 1 -0.5% & deck 2 effect_slider "Volume" 1 -0.5% : var_smaller '@$DukRate' 0.2 ? set '$DukCounter' '`get_var "$DukCounter" & param_add -0.01' & deck 1 effect_slider "Volume" 1 -1% & deck 2 effect_slider "Volume" 1 -1% : var_smaller '@$DukRate' 0.3 ? set '$DukCounter' '`get_var "$DukCounter" & param_add -0.015' & deck 1 effect_slider "Volume" 1 -1.5% & deck 2 effect_slider "Volume" 1 -1.5% : var_smaller '@$DukRate' 0.4 ? set '$DukCounter' '`get_var "$DukCounter" & param_add -0.02' & deck 1 effect_slider "Volume" 1 -2% & deck 2 effect_slider "Volume" 1 -2% : var_smaller '@$DukRate' 0.5 ? set '$DukCounter' '`get_var "$DukCounter" & param_add -0.025' & deck 1 effect_slider "Volume" 1 -2.5% & deck 2 effect_slider "Volume" 1 -2.5% : var_smaller '@$DukRate' 0.6 ? set '$DukCounter' '`get_var "$DukCounter" & param_add -0.05' & deck 1 effect_slider "Volume" 1 -5% & deck 2 effect_slider "Volume" 1 -5% : var_smaller '@$DukRate' 0.7 ? set '$DukCounter' '`get_var "$DukCounter" & param_add -0.06' & deck 1 effect_slider "Volume" 1 -6% & deck 2 effect_slider "Volume" 1 -6% : var_smaller '@$DukRate' 0.8 ? set '$DukCounter' '`get_var "$DukCounter" & param_add -0.07' & deck 1 effect_slider "Volume" 1 -7% & deck 2 effect_slider "Volume" 1 -7% : var_smaller '@$DukRate' 0.9 ? set '$DukCounter' '`get_var "$DukCounter" & param_add -0.08' & deck 1 effect_slider "Volume" 1 -8% & deck 2 effect_slider "Volume" 1 -8% : var_smaller '@$DukRate' 0.99 ? set '$DukCounter' '`get_var "$DukCounter" & param_add -0.09' & deck 1 effect_slider "Volume" 1 -9% & deck 2 effect_slider "Volume" 1 -9% : set '$DukCounter' '`get_var "$DukCounter" & param_add -0.1' & deck 1 effect_slider "Volume" 1 -10% & deck 2 effect_slider "Volume" 1 -10% : mic off & repeat_start_instant 'DukSweep' 10ms 202 & var_greater '$DukCounter' 1 ? set '$DukVar' 0 & repeat_stop 'DukSweep' & set '$DukCounter' 1 & deck 1 effect_active "Volume" 0 & deck 2 effect_active "Volume" 0 : var_smaller '@$DukRate' 0.1 ? set '$DukCounter' '`get_var "$DukCounter" & param_add +0.005' & deck 1 effect_slider "Volume" 1 +0.5% & deck 2 effect_slider "Volume" 1 +0.5% : var_smaller '@$DukRate' 0.2 ? set '$DukCounter' '`get_var "$DukCounter" & param_add +0.01' & deck 1 effect_slider "Volume" 1 +1% & deck 2 effect_slider "Volume" 1 +1% : var_smaller '@$DukRate' 0.3 ? set '$DukCounter' '`get_var "$DukCounter" & param_add +0.015' & deck 1 effect_slider "Volume" 1 +1.5% & deck 2 effect_slider "Volume" 1 +1.5% : var_smaller '@$DukRate' 0.4 ? set '$DukCounter' '`get_var "$DukCounter" & param_add +0.02' & deck 1 effect_slider "Volume" 1 +2% & deck 2 effect_slider "Volume" 1 +2% : var_smaller '@$DukRate' 0.5 ? set '$DukCounter' '`get_var "$DukCounter" & param_add +0.025' & deck 1 effect_slider "Volume" 1 +2.5% & deck 2 effect_slider "Volume" 1 +2.5% : var_smaller '@$DukRate' 0.6 ? set '$DukCounter' '`get_var "$DukCounter" & param_add +0.05' & deck 1 effect_slider "Volume" 1 +5% & deck 2 effect_slider "Volume" 1 +5% : var_smaller '@$DukRate' 0.7 ? set '$DukCounter' '`get_var "$DukCounter" & param_add +0.06' & deck 1 effect_slider "Volume" 1 +6% & deck 2 effect_slider "Volume" 1 +6% : var_smaller '@$DukRate' 0.8 ? set '$DukCounter' '`get_var "$DukCounter" & param_add +0.07' & deck 1 effect_slider "Volume" 1 +7% & deck 2 effect_slider "Volume" 1 +7% : var_smaller '@$DukRate' 0.9 ? set '$DukCounter' '`get_var "$DukCounter" & param_add +0.08' & deck 1 effect_slider "Volume" 1 +8% & deck 2 effect_slider "Volume" 1 +8% : var_smaller '@$DukRate' 0.99 ? set '$DukCounter' '`get_var "$DukCounter" & param_add +0.09' & deck 1 effect_slider "Volume" 1 +9% & deck 2 effect_slider "Volume" 1 +9% : set '$DukCounter' '`get_var "$DukCounter" & param_add +0.1' & deck 1 effect_slider "Volume" 1 +10% & deck 2 effect_slider "Volume" 1 +10%

Posted Sat 18 Apr 15 @ 2:46 pm
Perfect!

Thank you so much, locodog! Appreciate it.

Posted Sat 18 Apr 15 @ 3:04 pm
You could also set up a slider to do this for you.

Depending on how much you want to lower the volume, you could use the following script on any free slider or knob.

mic_volume & param_multiply 0.5 & param_invert & deck 1 volume & deck 2 volume & deck 3 volume & deck 4 volume

When on 0%, all 4 decks have 100% volume and the mic volume is 0%.
When it's on 100%, all decks have 50% volume and your mic 100%.

I hope this helps someone =)

Regards, Daniel

Posted Thu 23 Apr 15 @ 4:26 am