Hi, would it be possible to have a script that adjusts to a specific BPM over a specified time or beat count? For example, Deck 1 is playing a track at 125 BPM. Can I have a keyboard trigger set to increase Deck 1 to 130 BPM over 8 beats or 4 seconds?
thanks
thanks
Posted Wed 05 Nov 25 @ 12:48 am
yes it can be done, the script is kind of involved, I'll have to remind myself how I figured it out,
The thing I made was a reset to quartz over beat duration which was tricky.
to get to another bpm over a time duration is easy, to get there over a beat duration [so it finishes by a specific beat] is harder but not impossible.
The thing I made was a reset to quartz over beat duration which was tricky.
to get to another bpm over a time duration is easy, to get there over a beat duration [so it finishes by a specific beat] is harder but not impossible.
Posted Wed 05 Nov 25 @ 3:59 am
Hey Loco - im fine with a time duration, or even the speed the pitch reset works would be fine as well. Is there anyway to use the embedded pitch reset to achieve a target BPM?
Thanks
Thanks
Posted Wed 05 Nov 25 @ 4:02 am
pitch reset can get to other values but because you might cross quartz it actually makes it harder [so I won't] but can be done, I'll have a think and and experiment and get back to you in a pm.
Posted Wed 05 Nov 25 @ 4:06 am
Sounds good, thank you!
Posted Wed 05 Nov 25 @ 4:07 am
You can use automatic bpm transition
The only catch is that the "target" BPM can only be one of the following: destination deck current, destination deck original, source deck current (this will bring the "other" deck's BPM to current BPM of the track) and source original.
For automatic BPM transition you can adjust the time period it takes to reach the BPM, in beats.
PS: Since pitch 126.15 bpm is a thing, I guess that with some cool scripting you could use automatic_bpm_transition to set the deck at "any" BPM, if you set the target first to a given value, and then use target current as the BPM option for the ABT.
The only catch is that the "target" BPM can only be one of the following: destination deck current, destination deck original, source deck current (this will bring the "other" deck's BPM to current BPM of the track) and source original.
For automatic BPM transition you can adjust the time period it takes to reach the BPM, in beats.
PS: Since pitch 126.15 bpm is a thing, I guess that with some cool scripting you could use automatic_bpm_transition to set the deck at "any" BPM, if you set the target first to a given value, and then use target current as the BPM option for the ABT.
Posted Wed 05 Nov 25 @ 9:45 am
Already done. Long form get_beatpos based, 2 user 'levers' at the start of the script, duration(beats) & target bpm
Posted Wed 05 Nov 25 @ 10:09 am
@The Hofff check your pm, [there must be a inbox notification visibility issue with mobile.]
Posted 5 days ago @ 4:16 am
This is how I did it:
Firstly add this to the keyboard mapper:
Then add some buttons to increment / decrement the target BPM:
Then another to change BPM:
You'll have to play around with the 250ms/±0.01 bpm part to suit your needs & also bare in mind it will probably over/undershoot the target amount very slightly.
Firstly add this to the keyboard mapper:
<map value="ONSONGLOAD" action="set 'newBPM' `get_bpm & param_cast 'int'`"/>
Then add some buttons to increment / decrement the target BPM:
set 'newBPM' `get_var 'newBPM' & param_add 1`
set 'newBPM' `get_var 'newBPM' & param_add -1`
Then another to change BPM:
param_smaller get_bpm `get_var 'newBPM'` ? repeat_start_instant 'BPMmoveRS' 250ms & param_bigger get_bpm `get_var 'newBPM'` ? repeat_stop 'BPMmoveRS' : pitch -0.01 bpm : repeat_start_instant 'BPMmoveRS' 250ms & param_smaller get_bpm `get_var 'newBPM'` ? repeat_stop 'BPMmoveRS' : pitch +0.01 bpm
You'll have to play around with the 250ms/±0.01 bpm part to suit your needs & also bare in mind it will probably over/undershoot the target amount very slightly.
Posted 4 days ago @ 3:35 pm
locoDog wrote :
@The Hofff check your pm, [there must be a inbox notification visibility issue with mobile.]
I see the message, cheers. A lot more involved than I though it would be. I will give it a try tonight and report back. Thanks!
Posted 4 days ago @ 3:39 pm





