Hello,
In Vdj 8.2 3568 changelog there's an option added "PitchResetSpeed" where can I have info ?
I'm trying to make a skin with one button and 3 leds to cycle between pitch_reset speed but no success. It's OK when I do the same thing with crossfader_curve...
In Vdj 8.2 3568 changelog there's an option added "PitchResetSpeed" where can I have info ?
I'm trying to make a skin with one button and 3 leds to cycle between pitch_reset speed but no success. It's OK when I do the same thing with crossfader_curve...
Posté Mon 23 Jan 17 @ 9:33 am
pitch_reset has accepted a param for a good long time now, with the param being a % per second to reset the pitch
before having no param mean the script defaulted to 1% change per second
now instead of defaulting to 1% it will look what has been set in options
before having no param mean the script defaulted to 1% change per second
now instead of defaulting to 1% it will look what has been set in options
Posté Mon 23 Jan 17 @ 9:53 am
I know this, but I can't make a script to cycle between 3 values (1%,5%,10%) with only one button and lighting a LED for each value. The same script with action="crossfader_curve 'full'..... It's OK but the script with action="pitch_reset 5%.... Doesn't
Posté Mon 23 Jan 17 @ 10:12 am
here is my script for crossfader_curve :
## Crossfader select button
<button class="roundbutton" action="crossfader_curve 'full' ? crossfader_curve 'smooth' : crossfader_curve 'smooth' ? crossfader_curve 'scratch' : crossfader_curve 'scratch' ? crossfader_curve 'cut' : crossfader_curve 'cut' ? crossfader_curve 'disabled' : crossfader_curve 'disabled' ? crossfader_curve 'full'">
<Tooltip>CF-Mode select</Tooltip>
<pos x="755" y="650" width="60" height="30"/>
</button>
## Crossfader curve lights
** full **
<button action="crossfader_curve 'full'">
<size width="35" height="11"/>
<pos x="803" y="605"/>
<selected x="62" y="2228"/>
<down x="62" y="2228"/>
</button>
** Smooth **
<button action="crossfader_curve 'smooth'">
<size width="65" height="11"/>
<pos x="851" y="605"/>
<selected x="111" y="2228"/>
<down x="111" y="2228"/>
</button>
** scratch **
<button action="crossfader_curve 'scratch'">
<size width="65" height="11"/>
<pos x="922" y="605"/>
<selected x="182" y="2228"/>
<down x="182" y="2228"/>
</button>
** cut **
<button action="crossfader_curve 'cut'">
<size width="55" height="11"/>
<pos x="1002" y="605"/>
<selected x="262" y="2228"/>
<down x="262" y="2228"/>
</button>
** Crossfader on/off **
<button action="crossfader_curve 'disabled'">
<size width="65" height="11"/>
<pos x="1059" y="605"/>
<selected x="319" y="2228"/>
<down x="319" y="2228"/>
</button>
and here for pitch reset :
## Pitch Reset Speed Button
<button class="roundbutton" action="pitch_reset '1%' ? pitch_reset '5%' : pitch_reset '5%' ? pitch_reset '10%' : pitch_reset '10%' ? pitch_reset '1%' " >
<Tooltip>pitch reset speed select</Tooltip>
<pos x="-35" y="+320" width="60" height="30"/>
</button>
## Pitch Reset Speed lights
** LOW **
<button action="pitch_reset '1%'">
<size width="23" height="8"/>
<pos x="-30" y="+260"/>
<selected x="1526" y="4675"/>
<down x="1526" y="4664"/>
</button>
** MEDIUM **
<button action="pitch_reset '5%' ">
<size width="23" height="8"/>
<pos x="-30" y="+280"/>
<selected x="1550" y="4675"/>
<down x="1550" y="4664"/>
</button>
** HIGH **
<button action="pitch_reset '10%' ">
<size width="23" height="8"/>
<pos x="-30" y="+300"/>
<selected x="1574" y="4675"/>
<down x="1574" y="4664"/>
</button>
## Crossfader select button
<button class="roundbutton" action="crossfader_curve 'full' ? crossfader_curve 'smooth' : crossfader_curve 'smooth' ? crossfader_curve 'scratch' : crossfader_curve 'scratch' ? crossfader_curve 'cut' : crossfader_curve 'cut' ? crossfader_curve 'disabled' : crossfader_curve 'disabled' ? crossfader_curve 'full'">
<Tooltip>CF-Mode select</Tooltip>
<pos x="755" y="650" width="60" height="30"/>
</button>
## Crossfader curve lights
** full **
<button action="crossfader_curve 'full'">
<size width="35" height="11"/>
<pos x="803" y="605"/>
<selected x="62" y="2228"/>
<down x="62" y="2228"/>
</button>
** Smooth **
<button action="crossfader_curve 'smooth'">
<size width="65" height="11"/>
<pos x="851" y="605"/>
<selected x="111" y="2228"/>
<down x="111" y="2228"/>
</button>
** scratch **
<button action="crossfader_curve 'scratch'">
<size width="65" height="11"/>
<pos x="922" y="605"/>
<selected x="182" y="2228"/>
<down x="182" y="2228"/>
</button>
** cut **
<button action="crossfader_curve 'cut'">
<size width="55" height="11"/>
<pos x="1002" y="605"/>
<selected x="262" y="2228"/>
<down x="262" y="2228"/>
</button>
** Crossfader on/off **
<button action="crossfader_curve 'disabled'">
<size width="65" height="11"/>
<pos x="1059" y="605"/>
<selected x="319" y="2228"/>
<down x="319" y="2228"/>
</button>
and here for pitch reset :
## Pitch Reset Speed Button
<button class="roundbutton" action="pitch_reset '1%' ? pitch_reset '5%' : pitch_reset '5%' ? pitch_reset '10%' : pitch_reset '10%' ? pitch_reset '1%' " >
<Tooltip>pitch reset speed select</Tooltip>
<pos x="-35" y="+320" width="60" height="30"/>
</button>
## Pitch Reset Speed lights
** LOW **
<button action="pitch_reset '1%'">
<size width="23" height="8"/>
<pos x="-30" y="+260"/>
<selected x="1526" y="4675"/>
<down x="1526" y="4664"/>
</button>
** MEDIUM **
<button action="pitch_reset '5%' ">
<size width="23" height="8"/>
<pos x="-30" y="+280"/>
<selected x="1550" y="4675"/>
<down x="1550" y="4664"/>
</button>
** HIGH **
<button action="pitch_reset '10%' ">
<size width="23" height="8"/>
<pos x="-30" y="+300"/>
<selected x="1574" y="4675"/>
<down x="1574" y="4664"/>
</button>
Posté Mon 23 Jan 17 @ 10:21 am
pitch_reset is an action, pitch_reset 1% (or any other value) will return true when the pitch is in progress of being reset or false otherwise.
To cycle, you could use the config option by using the "setting" action.
setting "pitchResetSpeed" 0.01 ? ... : ...
To cycle, you could use the config option by using the "setting" action.
setting "pitchResetSpeed" 0.01 ? ... : ...
Posté Mon 23 Jan 17 @ 10:35 am
this is my first question, where can I have infos on 'pitchResetSpeed'...
(I'm sorry but I'm not a programmer, just trying to adapt a skin for my need and learning a bit processing a step by a step)
is there an equivalent word like 'crossfader_curve' ? or a skin that use 'pitchresetSpeed' that I can analyse ?
thanks
(I'm sorry but I'm not a programmer, just trying to adapt a skin for my need and learning a bit processing a step by a step)
is there an equivalent word like 'crossfader_curve' ? or a skin that use 'pitchresetSpeed' that I can analyse ?
thanks
Posté Mon 23 Jan 17 @ 11:13 am
As Adion wrote above, the syntax you need to use is the setting "pitchResetSpeed"
Something like this based on your example above:
** LOW **
<button action="setting 'pitchResetSpeed' 0.01'">
<size width="23" height="8"/>
<pos x="-30" y="+260"/>
<selected x="1526" y="4675"/>
<down x="1526" y="4664"/>
</button>
** MEDIUM **
<button action="setting 'pitchResetSpeed' 0.05">
<size width="23" height="8"/>
<pos x="-30" y="+280"/>
<selected x="1550" y="4675"/>
<down x="1550" y="4664"/>
</button>
** HIGH **
<button action="setting 'pitchResetSpeed' 0.1 ">
<size width="23" height="8"/>
<pos x="-30" y="+300"/>
<selected x="1574" y="4675"/>
<down x="1574" y="4664"/>
</button>
Something like this based on your example above:
** LOW **
<button action="setting 'pitchResetSpeed' 0.01'">
<size width="23" height="8"/>
<pos x="-30" y="+260"/>
<selected x="1526" y="4675"/>
<down x="1526" y="4664"/>
</button>
** MEDIUM **
<button action="setting 'pitchResetSpeed' 0.05">
<size width="23" height="8"/>
<pos x="-30" y="+280"/>
<selected x="1550" y="4675"/>
<down x="1550" y="4664"/>
</button>
** HIGH **
<button action="setting 'pitchResetSpeed' 0.1 ">
<size width="23" height="8"/>
<pos x="-30" y="+300"/>
<selected x="1574" y="4675"/>
<down x="1574" y="4664"/>
</button>
Posté Mon 23 Jan 17 @ 11:20 am
Also your pitch reset "cycle" button should change to something like this:
## Pitch Reset Speed Button
<button class="roundbutton" action="setting 'pitchResetSpeed' 0.1 ? setting 'pitchResetSpeed' 0.01 : setting 'pitchResetSpeed' 0.01 ? setting 'pitchResetSpeed' 0.05 : setting 'pitchResetSpeed' 0.1" >
<Tooltip>pitch reset speed select</Tooltip>
<pos x="-35" y="+320" width="60" height="30"/>
</button>
## Pitch Reset Speed Button
<button class="roundbutton" action="setting 'pitchResetSpeed' 0.1 ? setting 'pitchResetSpeed' 0.01 : setting 'pitchResetSpeed' 0.01 ? setting 'pitchResetSpeed' 0.05 : setting 'pitchResetSpeed' 0.1" >
<Tooltip>pitch reset speed select</Tooltip>
<pos x="-35" y="+320" width="60" height="30"/>
</button>
Posté Mon 23 Jan 17 @ 11:23 am
sorry to be so noob, but this is for 3 buttons ? I want only one and cycle between values and want something like this :
## Pitch Reset Speed Button
<button class="roundbutton" setting="'pitchresetspeed' 0.1 ? 'pitchresetspeed' 0.05 : 'pitchresetspeed' 0.05 ? 'pitchresetspeed' 0.1 : 'pitchresetspeed' 0.1 ? 'pitchresetspeed' 0.01 " >
<Tooltip>pitch reset speed select</Tooltip>
<pos x="-35" y="+320" width="60" height="30"/>
</button>
## pitch reset speed LED
** LOW **
<button action="setting 'pitchResetSpeed' 0.01'">
<size width="23" height="8"/>
<pos x="-30" y="+260"/>
<selected x="1526" y="4675"/>
<down x="1526" y="4664"/>
</button>
** MEDIUM **
<button action="setting 'pitchResetSpeed' 0.05">
<size width="23" height="8"/>
<pos x="-30" y="+280"/>
<selected x="1550" y="4675"/>
<down x="1550" y="4664"/>
</button>
** HIGH **
<button action="setting 'pitchResetSpeed' 0.1 ">
<size width="23" height="8"/>
<pos x="-30" y="+300"/>
<selected x="1574" y="4675"/>
<down x="1574" y="4664"/>
</button>
## Pitch Reset Speed Button
<button class="roundbutton" setting="'pitchresetspeed' 0.1 ? 'pitchresetspeed' 0.05 : 'pitchresetspeed' 0.05 ? 'pitchresetspeed' 0.1 : 'pitchresetspeed' 0.1 ? 'pitchresetspeed' 0.01 " >
<Tooltip>pitch reset speed select</Tooltip>
<pos x="-35" y="+320" width="60" height="30"/>
</button>
## pitch reset speed LED
** LOW **
<button action="setting 'pitchResetSpeed' 0.01'">
<size width="23" height="8"/>
<pos x="-30" y="+260"/>
<selected x="1526" y="4675"/>
<down x="1526" y="4664"/>
</button>
** MEDIUM **
<button action="setting 'pitchResetSpeed' 0.05">
<size width="23" height="8"/>
<pos x="-30" y="+280"/>
<selected x="1550" y="4675"/>
<down x="1550" y="4664"/>
</button>
** HIGH **
<button action="setting 'pitchResetSpeed' 0.1 ">
<size width="23" height="8"/>
<pos x="-30" y="+300"/>
<selected x="1574" y="4675"/>
<down x="1574" y="4664"/>
</button>
Posté Mon 23 Jan 17 @ 11:32 am
oops saw your post after mine.... ok, will try
Posté Mon 23 Jan 17 @ 11:41 am
I must have missed something .... or too complicated for me :-( ... it doesn't work
I've used this code, but nothing :
## Pitch Reset Speed Button
<button class="roundbutton" action="setting 'pitchResetSpeed' 0.01 ? setting 'pitchResetSpeed' 0.05 : setting 'pitchResetSpeed' 0.05 ? setting 'pitchResetSpeed' 0.1 : setting 'pitchResetSpeed' 0.1 ? setting 'pitchResetSpeed' 0.01" >
<Tooltip>pitch reset speed select</Tooltip>
<pos x="-35" y="+320" width="60" height="30"/>
</button>
## pitch reset speed LED
** LOW **
<button action="setting 'pitchResetSpeed' 0.01">
<size width="23" height="8"/>
<pos x="-30" y="+260"/>
<selected x="1526" y="4675"/>
<down x="1526" y="4664"/>
</button>
** MEDIUM **
<button action="setting 'pitchResetSpeed' 0.05">
<size width="23" height="8"/>
<pos x="-30" y="+280"/>
<selected x="1550" y="4675"/>
<down x="1550" y="4664"/>
</button>
** HIGH **
<button action="setting 'pitchResetSpeed' 0.1">
<size width="23" height="8"/>
<pos x="-30" y="+300"/>
<selected x="1574" y="4675"/>
<down x="1574" y="4664"/>
</button>
I've used this code, but nothing :
## Pitch Reset Speed Button
<button class="roundbutton" action="setting 'pitchResetSpeed' 0.01 ? setting 'pitchResetSpeed' 0.05 : setting 'pitchResetSpeed' 0.05 ? setting 'pitchResetSpeed' 0.1 : setting 'pitchResetSpeed' 0.1 ? setting 'pitchResetSpeed' 0.01" >
<Tooltip>pitch reset speed select</Tooltip>
<pos x="-35" y="+320" width="60" height="30"/>
</button>
## pitch reset speed LED
** LOW **
<button action="setting 'pitchResetSpeed' 0.01">
<size width="23" height="8"/>
<pos x="-30" y="+260"/>
<selected x="1526" y="4675"/>
<down x="1526" y="4664"/>
</button>
** MEDIUM **
<button action="setting 'pitchResetSpeed' 0.05">
<size width="23" height="8"/>
<pos x="-30" y="+280"/>
<selected x="1550" y="4675"/>
<down x="1550" y="4664"/>
</button>
** HIGH **
<button action="setting 'pitchResetSpeed' 0.1">
<size width="23" height="8"/>
<pos x="-30" y="+300"/>
<selected x="1574" y="4675"/>
<down x="1574" y="4664"/>
</button>
Posté Mon 23 Jan 17 @ 1:52 pm
What exactly is not working ? The cycle button ? Try this ..
action="setting 'pitchResetSpeed' 0.01 ? setting 'pitchResetSpeed' 0.05 : setting 'pitchResetSpeed' 0.05 ? setting 'pitchResetSpeed' 0.1 : setting 'pitchResetSpeed' 0.01"
action="setting 'pitchResetSpeed' 0.01 ? setting 'pitchResetSpeed' 0.05 : setting 'pitchResetSpeed' 0.05 ? setting 'pitchResetSpeed' 0.1 : setting 'pitchResetSpeed' 0.01"
Posté Mon 23 Jan 17 @ 2:52 pm
The cycle Button doesn't seems to work, and the LEDs are not lighting
Posté Mon 23 Jan 17 @ 5:22 pm
hmm then probably you are using an older build.?
pitchResetSpeed setting was added in 3568. Please check your VirtualDJ Build number.
pitchResetSpeed setting was added in 3568. Please check your VirtualDJ Build number.
Posté Mon 23 Jan 17 @ 6:43 pm
you guys are the best (and I have a lot to learn from you) effectively was on b3523 :-( Update to b3573 and seems to work OK, but with this values, the speeds are too slow. What are the range of values for 'PitchResetSpeed' because I try to change them, but sometimes the cycle button stop to work, or the LEDs not lighting.
Posté Tue 24 Jan 17 @ 4:40 am
OK, all is fine now. Thank you for your help.
Posté Wed 25 Jan 17 @ 1:11 pm