@twaga I think the scratch verb is only used for BASIC testing purposes.
But to answer the question, mainly to show how to get ms/beat values
first one is a more recent way
we get a constant 1, we cast it as beats, we then cast that beat to ms and it gives us ms/beat, and because scratch expects a +/- value we cast it one more time to a relative value and that puts it on the end of the scratch verb as a relative ms value.
second one
we don't have a divide verb, but we do have a parameter manipulation of
1 / parameter
we then multiply by 60000 [the number of ms in a minute]
and as before cast as relative.
But as I said before the scratch verb is VERY BASIC
If you're looking for scratch on a button press, you should look at this.
https://www.virtualdj.com/wiki/ScratchDNA.html
But to answer the question, mainly to show how to get ms/beat values
get_constant 1 & param_cast beats & param_cast ms & param_cast relative & scratch
get_bpm & param_1_x & param_multiply 60000 & param_cast ms & param_cast relative & scratch
first one is a more recent way
we get a constant 1, we cast it as beats, we then cast that beat to ms and it gives us ms/beat, and because scratch expects a +/- value we cast it one more time to a relative value and that puts it on the end of the scratch verb as a relative ms value.
second one
we don't have a divide verb, but we do have a parameter manipulation of
1 / parameter
we then multiply by 60000 [the number of ms in a minute]
and as before cast as relative.
But as I said before the scratch verb is VERY BASIC
If you're looking for scratch on a button press, you should look at this.
https://www.virtualdj.com/wiki/ScratchDNA.html
geposted 7 hours ago
Thank you. I have confirmed the correct behavior of your script. I know about scratchDNA, and we can adjust the size of the scratch using the alphabet.
But although we can adjust the timing based on the beat, I don't think we can adjust the size of the scratch based on the beat.
Is it possible to play only one beat and then pause by VDJscript?
But although we can adjust the timing based on the beat, I don't think we can adjust the size of the scratch based on the beat.
Is it possible to play only one beat and then pause by VDJscript?
geposted 3 hours ago
play & wait 1bt & pause
I tried this script, but it seems that the small amount of time it takes for the play command causes small error and shifts.
I tried this script, but it seems that the small amount of time it takes for the play command causes small error and shifts.
geposted 3 hours ago