Quick Sign In:  

Forum: VirtualDJ Technical Support

Topic: Increase the bpm by 1%
Hi,

I'd like to increase/decrease the bpm slowly of 1% each time I press a button.

I tried to put this 'pitch_bend +1% 500ms' on a pad through the pads editor but nothing happens.

Thanks
 

geposted Tue 05 Apr 22 @ 2:15 pm
Pitch bend is temporary and it's applied only while you keep the button pressed.

set 'pitchtarget' `get_pitch & param_add 1` & repeat_start_instant 'incpitch' 500ms & param_equal `get_pitch` `get_var 'pitchtarget'` ? repeat_stop 'incpitch' : pitch +0.05%

The code above is what you want I think.
You can adjust it's speed by either altering the time (currently it changes pitch every half second - 500ms) or the pitch step (currnently it moves by 0.05% on each step)
On the example above it will take 1/0.05 = 20 repeats to make the 1% increasement.
Those 20 repeats occur evry 500ms, so it's 20x0.5=10 seconds.
In other words the above script will increase tempo/pitch by 1% over 10 seconds every time you press it
 

geposted Tue 05 Apr 22 @ 2:32 pm
It's exactly that.

Thank you very much PhantomDeejay
 

geposted Tue 05 Apr 22 @ 2:53 pm
Thanks, this is great! Would you be able to help with the changes required for modifying the BPM within the course of a phrase, rather than a set amount of time?
 

geposted Sat 20 Jul 24 @ 9:16 pm
locoDogPRO InfinityModeratorMember since 2013
@ShrinivasKR I've done that for pitch reset.
 

geposted Tue 23 Jul 24 @ 6:59 am
locoDog wrote :
@ShrinivasKR I've done that for pitch reset.


Sweet, where can I find that?
 

geposted Wed 24 Jul 24 @ 2:05 am