Connexion rapide:  

Forum: VirtualDJ Technical Support

Sujet Removing USB causes volume to suddenly stop

Ce topic est ancien et peut contenir des informations obselètes ou incorrectes.

This may be a no brainer (as in DON'T REMOVE ANY USB WHILE USING VDJ8!), but it's something I've always done since using my phone for internet with VDJ, I could attach and re attach anything (webcam, usb extension, wireless mouse dongle etc) and VDJ would just carry on as normal. That is until and since Build 3738. If i remove or attach anything vdjs slider volumes on deck 1 and deck 2 visually drop to zero and the sound stops, although vdj is still working as the waveforms and all other visuals are still going, when sliding the volume back up - it stays for about 2-4 seconds then drops again. I have to close the software and start it again but sometimes it still does it until I restart my laptop. I just realised a few minutes ago it even drops out when not using a controller, all I did was attach my phone and 20 seconds later vdj does the above. I've not gone back to using previous builds just yet, but it seems odd that Builds 3738 - 3761 has this issue. But Like I said at the start - Don't remove any usb while......etc etc

Dell Inspiron N7110n Windows 10 64bit, 16GB Ram, all drivers up to date
 

Posté Fri 02 Jun 17 @ 4:12 pm
AdionPRO InfinityCTOMember since 2006
Can you describe in more detail how to reproduce this problem?

If the sliders go down, something is putting them down. Things that can put the sliders down are skin, controllers, keyboard and plugins.
If I understand correctly, you say it happens without controller connected, and just connecting your phone.
If that is the case, try to do this with the default skin selected, and check in options->controllers that only 'keyboard' is listed. Perhaps also make sure that the keyboard mapping selected is either factory default or ignore.
Do the volume sliders still drop to zero when you connect your phone?
 

Posté Fri 02 Jun 17 @ 4:43 pm
Adion wrote :
Can you describe in more detail how to reproduce this problem?

If the sliders go down, something is putting them down. Things that can put the sliders down are skin, controllers, keyboard and plugins.
If I understand correctly, you say it happens without controller connected, and just connecting your phone.
If that is the case, try to do this with the default skin selected, and check in options->controllers that only 'keyboard' is listed. Perhaps also make sure that the keyboard mapping selected is either factory default or ignore.
Do the volume sliders still drop to zero when you connect your phone?


Keyboard is set to ignore
Skin : FRUiT same thing happens
Skin: Default same thing happens
ONINIT: deck 1 volume 0% & deck 2 volume 0% & deck 3 volume 0% deck 4 volume 0%

Tried different USB cable for the phone and tried all 4 USB ports and same thing happens
I've also tried ExclusiveAudioAccess set to Yes and No and still same thing.
 

Posté Fri 02 Jun 17 @ 5:07 pm
You answered your own question I believe, but please let us know WHERE do you use the <ONINIT> action you typed above ?
Because this action drops all volume levels to zero.

Most likely this action is set on your Keyboard mapper, no ?
LSL50 wrote :
ONINIT: deck 1 volume 0% & deck 2 volume 0% & deck 3 volume 0% deck 4 volume 0%


 

Posté Fri 02 Jun 17 @ 5:25 pm
VDJ normally boots up with all volume sliders on max. I use The ONINIT script so all volume sliders are at zero when vdj boots up. I then use the controller to raise them up. I've been using said script for at least 2 years with no side effect. Has the default start up been changed recently?
 

Posté Fri 02 Jun 17 @ 5:36 pm
LSL50 wrote :
Has the default start up been changed recently?


I don't think so...
But the script looks like it's doing exactly what you describe is happening
So I suggest trying to remove the script to test if the problem is in fact this script being triggered for some reason
 

Posté Fri 02 Jun 17 @ 5:40 pm
klausmogensen wrote :
LSL50 wrote :
Has the default start up been changed recently?


I don't think so...
But the script looks like it's doing exactly what you describe is happening
So I suggest trying to remove the script to test if the problem is in fact this script being triggered for some reason


Well Well Well, I removed the ONINIT script, restarted VDJ and of course all sliders are at max, I removed and re attached usb cable and nothing happened, tried all 4 usb ports and nothing happened. Looks like the script was the issue, but I still feel something must have changed in the recent builds to affect this?. But I'm happy (at the moment) that this solution worked. Thanks @Adion @PhantomDeejay and @ Klausmogensen for your help
 

Posté Fri 02 Jun 17 @ 5:51 pm
You still didn't answer my question.
WHERE do you use this script ?

What has changed for quite some time is the way VirtualDj enumerates devices.
Therefore unplugging USB devices or plugging them in could result an initialization cycle (device running ONEXIT and ONINIT sequence)

However this should not happen when plugging a device that's not a controller.

Also, which controller do you use ?
Most controllers these days should automatically set all sliders according to the hardware on device initialization.
 

Posté Fri 02 Jun 17 @ 10:01 pm
PS: I see a device named "autoexec" on your profile.
Can you send me the device definition and mapper to check how it's set to work?
 

Posté Fri 02 Jun 17 @ 10:04 pm
I use Numark Mixtrack Quad with custom mapping
I use this script (or did) as ONINIT. I'll send you the xml via message pm
 

Posté Mon 05 Jun 17 @ 6:38 pm


(Les anciens sujets et forums sont automatiquement fermés)