Hi everyone,
I am the proud owner of a Denon Prime 4, which works like a dream with Virtual DJ. Just one thing: I would like to make the loop pads blink when active. Now, the pad color is just a bit more bright, but I don't think that's clear enough. So I would like the active loop pad to blink, so I can see which one is active easier.
Can anyone provide me with the script code to do that? Thanks!
I am the proud owner of a Denon Prime 4, which works like a dream with Virtual DJ. Just one thing: I would like to make the loop pads blink when active. Now, the pad color is just a bit more bright, but I don't think that's clear enough. So I would like the active loop pad to blink, so I can see which one is active easier.
Can anyone provide me with the script code to do that? Thanks!
Mensajes Fri 05 Nov 21 @ 10:02 pm
It looks like the Prime 4 simply selects the standard loop pad page for looping - so you simply change the loop pad page a little
The pads on a pad page are a little different in that they have a script for just controlling color, which makes things a little easier, because you don't have to change the action script
So what you do is go to the pad pages editor, select the loop pad page, go the the first pad you want to change, and go to it's color tab
That will say: color 'green'
The default dimming is then handled by auto-dim function (the checkbox)
What you then do is change the script to query the same script as the push action.
So for pad 1 that will be: loop_pad 1
To query it you add a question mark for "Is this thing on". So that is: loop_pad 1 ?
Then you add the blink action and another question mark to query "is the blinking turning the led on or off at this very milisecond"
So: loop_pad 1 ? blink ?
Then you add what it should do for blink on and blink off - and finally what it should do if the action is not on (as in: this loop is not running at the moment).
Then you get for instance
loop_pad 1 ? blink ? color 'green' : color 'red' : color 'green'
to have it blink between full on green and full on red
The green in the end for "not on" will still be dimmed due to the auto-dim function, so it will look like before when the loop is not in use
In the editor it looks like this:
Other options could be
loop_pad 1 ? blink ? color 'green' : color 'black' : color 'green'
To have it blink between full on green and off (black)
or maybe
loop_pad 1 ? blink 200ms ? color 'green' : color 'red' : color 'green'
to have it blink at another tempo
or maybe even
loop_pad 1 ? blink ? color 50% 'green' : color 'green' : color 'green'
to keep it all green, and have the blinking go between a dimmed green and a full on green
... you then of course have to do it for the other 7 pads as well
The pads on a pad page are a little different in that they have a script for just controlling color, which makes things a little easier, because you don't have to change the action script
So what you do is go to the pad pages editor, select the loop pad page, go the the first pad you want to change, and go to it's color tab
That will say: color 'green'
The default dimming is then handled by auto-dim function (the checkbox)
What you then do is change the script to query the same script as the push action.
So for pad 1 that will be: loop_pad 1
To query it you add a question mark for "Is this thing on". So that is: loop_pad 1 ?
Then you add the blink action and another question mark to query "is the blinking turning the led on or off at this very milisecond"
So: loop_pad 1 ? blink ?
Then you add what it should do for blink on and blink off - and finally what it should do if the action is not on (as in: this loop is not running at the moment).
Then you get for instance
loop_pad 1 ? blink ? color 'green' : color 'red' : color 'green'
to have it blink between full on green and full on red
The green in the end for "not on" will still be dimmed due to the auto-dim function, so it will look like before when the loop is not in use
In the editor it looks like this:
Other options could be
loop_pad 1 ? blink ? color 'green' : color 'black' : color 'green'
To have it blink between full on green and off (black)
or maybe
loop_pad 1 ? blink 200ms ? color 'green' : color 'red' : color 'green'
to have it blink at another tempo
or maybe even
loop_pad 1 ? blink ? color 50% 'green' : color 'green' : color 'green'
to keep it all green, and have the blinking go between a dimmed green and a full on green
... you then of course have to do it for the other 7 pads as well
Mensajes Sun 07 Nov 21 @ 6:33 am
I did a quick video on it:
Mensajes Sun 07 Nov 21 @ 7:30 am