Sign In:     


Forum: VirtualDJ Technical Support

Topic: Loop BPM
Let’s say I manually set a loop, and then set that as a saved loop , will VDJ give me the BPM of the loop??

In this video they show SDJ and I would love for VDJ to do the samething if it doesn’t already??

Jump to the 12:35 mark

https://www.youtube.com/watch?v=RUOb8yV2DjI&t=752s
 

Posted 2 days ago @ 9:13 pm
So it is calculable, but you have to have the machine assume the length of the sample in beats and to make sense with looping that's probably going to be 2 or 4, maybe 1.

set $choppedBPM2Beat `param_multiply "param_multiply 60000 'get_pitch_value & param_multiply 0.01 & param_1_x'" "param_add 'get_loop_in_time & param_invert' get_loop_out_time & param_1_x" & param_multiply 2`

That seems accurate to get the bpm of a loop, that last param_multiply is how many beats you'll be looping it into,

so then it's about getting that value to the other deck pitch, assuming just 2 decks.

set_deck `get_deck param_mod 2 & param_add 1` & get_var $choppedBPM2Beat & param_cast beats & pitch

In theory the fluid bpm could be put to use here, but I just can't get on with it


Whole thing as a custom_button

set $choppedBPM2Beat `param_multiply "param_multiply 60000 'get_pitch_value & param_multiply 0.01 & param_1_x'" "param_add 'get_loop_in_time & param_invert' get_loop_out_time & param_1_x" & param_multiply 2` & set_deck `get_deck param_mod 2 & param_add 1` & get_var $choppedBPM2Beat & param_cast beats & pitch

you could probably save the value to the loop name
 

Ok I put it on a custom button and have set my loop then saved and used the script as the name. I pressed the custom button and bring in my other track but nothing happens??

What am I doing wrong??
 

Not sure, dvs?, you're in the loop you press the button and the other bpm doesn't change?
 

Ok so I switched to the default skin (I use Phantoms GTS skin) and the button worked.

It kinda does what I want but Id rather have the BPM show as Im making the loop. With the button I have to set it and then play and then press the custom button to get the BPM.

A lot of button pressing lol!

Maybe this is a feature for a future update....

Thanks for checking it out LOCO 🙏🏾
 

phantoms skin must be deck master custom buttons,
you could use the custom button names as a visual so use these as 2 custom_button names

`deck 1 param_multiply 60000 "param_add 'get_time loopin elapsed & param_invert' 'get_time loopout elapsed' & param_1_x" & param_multiply 2`

`deck 2 param_multiply 60000 "param_add 'get_time loopin elapsed & param_invert' 'get_time loopout elapsed' & param_1_x" & param_multiply 2`
 

Yes sir that was it.

Think Ill hold off on this for right now.
 

It's an interesting idea, I thought about it a bit ago, with words you'd likely have a plan ahead, a loop prepared.
With sounds and polyrhythms is when I think it gets most interesting, it could be done on the fly, I'll think on it.
 

locoDog wrote :
phantoms skin must be deck master custom buttons

They are actually LEFT and RIGHT deck, but not deck 1, 2, 3, 4