From the Wiki:
Can someone explain to me how "mask" works. I don't seem to be able to find any documentation on this.
Also, is it possible to combine 2 progress bars in one somehow ?
I have two progress bars one next to each other. I want to treat them as one if possible. Since these progress bars don't have sequential CC values I can't define them as a single bar.
If it's not possible to define them as a single progress bar, is there a way I can trick this via VDJ Script on the mapper level ?
Thanks!
PS:
The bars I'm trying to combine are:
<bar cc="0x4D" ccoff="0x4E" min="0x37" max="0x41" name="PRG1" />
<bar cc="0x4D" ccoff="0x4E" min="0x22" max="0x2A" name="PRG2" />
VirtualDJ Wiki wrote :
Progress bars and VU meters
Progress bars are defined by a <bar> element, with the following properties:
- cc: the MIDI cc
- min: (optional) value to send for 0% (default 0)
- max: (optional) value to send for 100% (default 0x7F)
- inverted: (optional) invert the direction of the bar
- mask: (optional) mask to apply to the value to send
- ccoff: (optional) MIDI cc where to send the value before it changes
Progress bars and VU meters
Progress bars are defined by a <bar> element, with the following properties:
- cc: the MIDI cc
- min: (optional) value to send for 0% (default 0)
- max: (optional) value to send for 100% (default 0x7F)
- inverted: (optional) invert the direction of the bar
- mask: (optional) mask to apply to the value to send
- ccoff: (optional) MIDI cc where to send the value before it changes
Can someone explain to me how "mask" works. I don't seem to be able to find any documentation on this.
Also, is it possible to combine 2 progress bars in one somehow ?
I have two progress bars one next to each other. I want to treat them as one if possible. Since these progress bars don't have sequential CC values I can't define them as a single bar.
If it's not possible to define them as a single progress bar, is there a way I can trick this via VDJ Script on the mapper level ?
Thanks!
PS:
The bars I'm trying to combine are:
<bar cc="0x4D" ccoff="0x4E" min="0x37" max="0x41" name="PRG1" />
<bar cc="0x4D" ccoff="0x4E" min="0x22" max="0x2A" name="PRG2" />
Posté Wed 06 Mar 13 @ 6:40 am
I really HATE to do this, but "bump"!!!
Posté Mon 11 Mar 13 @ 11:10 am
can you
"get vu_meter & param_cast 'percentage' & param_multiply 200% & param_add -50% & get vu_meter"
"get vu_meter & param_cast 'percentage' & param_greater 49% ? get vu_meter : nothing"
or something like that ...still not sure how "param_cast" works though
"get vu_meter & param_cast 'percentage' & param_multiply 200% & param_add -50% & get vu_meter"
"get vu_meter & param_cast 'percentage' & param_greater 49% ? get vu_meter : nothing"
or something like that ...still not sure how "param_cast" works though
Posté Tue 12 Mar 13 @ 1:23 am
I went the "hard" way and defined each single LED on it's own.
Now everything works as I wanted... :P
However I will try to test your suggestion.
Thanks!
Now everything works as I wanted... :P
However I will try to test your suggestion.
Thanks!
Posté Tue 12 Mar 13 @ 2:44 am