(subject should say go to zero)
Hi all, the past hour vdj8 keeps putting the volume to zero on decks 1&2 while I'm trying to sort out tracks for the weekend, at the moment I'm using the laptop keyboard and oninit is set to have all 4 decks start at zero on start up which has been fine all this time. Obviously being it's NYE weekend I do not want this to happen, if anyone has any ideas let me know, in the meantime I'll be checking my settings etc to see if I can find the cause of this new issue. Thanks in advance.
Hi all, the past hour vdj8 keeps putting the volume to zero on decks 1&2 while I'm trying to sort out tracks for the weekend, at the moment I'm using the laptop keyboard and oninit is set to have all 4 decks start at zero on start up which has been fine all this time. Obviously being it's NYE weekend I do not want this to happen, if anyone has any ideas let me know, in the meantime I'll be checking my settings etc to see if I can find the cause of this new issue. Thanks in advance.
Posted Fri 30 Dec 16 @ 1:51 pm
Show your oninint script, also does a vdj restart stop the problem, there is a a way keyboard commands can get get stuck.
Posted Fri 30 Dec 16 @ 6:05 pm
locodog wrote :
Show your oninint script, also does a vdj restart stop the problem, there is a a way keyboard commands can get get stuck.
Sorry about the late reply, a restart does stop the issue and the issue only happened(s) when the controller is not plugged in, although it's only happened a total of 3 times so far. I thought I found the cause and tried to replicate it to no avail.
Here's the script: deck 1 volume 0% & deck 2 volume 0% & deck 3 volume 0% & deck 4 volume 0%
and below is this one: deck master effect_active 'EQ10'
Posted Thu 05 Jan 17 @ 4:47 am
Sounds like something is triggering the ONINIT of the keyboard.
Posted Thu 05 Jan 17 @ 10:45 am
The ONINIT is executed every time the controller initializes/re-connects, so there may be a possibility that you had some fast re-connections, USB losing signal etc. I would strongly advise to remove these actions from the ONINIT key and manually set your hardware volume to zero, each time you start a gig.
Posted Thu 05 Jan 17 @ 2:43 pm
Kind of throwing the baby out with the bath water there,
start your script quering a variable if false, set your volumes and set the variable to true, that way it will only be called once, as for the true reply, do nothing
start your script quering a variable if false, set your volumes and set the variable to true, that way it will only be called once, as for the true reply, do nothing
Posted Thu 05 Jan 17 @ 3:08 pm
The odd thing is, as far as I understand it, it does happen with NO controller (or other device) connected and the ONINIT is mapped for the keyboard.
Posted Thu 05 Jan 17 @ 5:53 pm
Init actions are also called each time you edit / save a mapper. So if you edit the keyboard mapper in the middle of a gig it's init action will execute and "mute" the decks.
As a safety measures I would query the state of all 4 decks before altering volumes ONINIT like this:
deck 1 loaded ? nothing : deck 2 loaded ? nothing deck 3 loaded ? nothing : deck 4 loaded ? nothing : deck 1 volume 0% & deck 2 volume 0% & deck 3 volume 0% & deck 4 volume 0%
This would ensure that the volumes will be set ONINIT only if all 4 decks are not loaded
As a safety measures I would query the state of all 4 decks before altering volumes ONINIT like this:
deck 1 loaded ? nothing : deck 2 loaded ? nothing deck 3 loaded ? nothing : deck 4 loaded ? nothing : deck 1 volume 0% & deck 2 volume 0% & deck 3 volume 0% & deck 4 volume 0%
This would ensure that the volumes will be set ONINIT only if all 4 decks are not loaded
Posted Fri 06 Jan 17 @ 9:03 pm