ticks in ms
- szaszhareen
- Posts: 527
- Joined: Wed Nov 23, 2011 1:15 am
- Location: deep beneath the earths crust
ticks in ms
something that's been bugging me for a while: how can you convert values from ticks to ms and back?
useful for envelopes and such, i find myself wanting to do it all the time but can't figure it out. it's got to be some simple math based on tpb/bpm.
useful for envelopes and such, i find myself wanting to do it all the time but can't figure it out. it's got to be some simple math based on tpb/bpm.
-
- Posts: 107
- Joined: Sat Dec 17, 2011 7:57 pm
Re: ticks in ms
Cheapo Statistics are your friend.
- szaszhareen
- Posts: 527
- Joined: Wed Nov 23, 2011 1:15 am
- Location: deep beneath the earths crust
Re: ticks in ms
sounds like a plan. do you have a link to the machine? it's not on buzzmachines and google was no help.
- magmavander
- Posts: 689
- Joined: Tue Nov 22, 2011 5:22 pm
- Location: France
- Contact:
Re: ticks in ms
bpm = beats per minute
tpb = ticks per beat
i'll leave the rest to you as an excercise
tpb = ticks per beat
i'll leave the rest to you as an excercise
Re: ticks in ms
You still learn new things, even after years of Buzz use/abuse. Thanks!synthphase wrote:Cheapo Statistics are your friend.
- szaszhareen
- Posts: 527
- Joined: Wed Nov 23, 2011 1:15 am
- Location: deep beneath the earths crust
Re: ticks in ms
thanks for sharing that mag
if i add this machine to the gens folder and try to add it to machine view, i get the error dialong:
same thing happens when i add it to the effects folder:
does it need to be in a different folder? the readme is unclear on this, i assumed it would go in effects.
i'd really like to be able to just figure it out on paper, i don't necessarily need another machine for this.
i've thought of something like:
128 bpm/8 tpb = 16 ticks
16 ticks at 128 bpm = ?ms
?ms at 128 bpm = 16 ticks
my math skills are not very good (something I'm working on fixing ), so this is the sort of formula i'm thinking of. obviously, my brain gets stuck at figuring out where to look for the ms value i need.
if i add this machine to the gens folder and try to add it to machine view, i get the error dialong:
Code: Select all
LoadLibrary("C:/Program Files(x86)/Jeskola/Buzz/Gear/Generators/cheapo statistic.dll") failed. the specified module could not be found.
Code: Select all
LoadLibrary("C:/Program Files(x86)/Jeskola/Buzz/Gear/Effects/cheapo statistic.dll") failed. the specified module could not be found.
i'd really like to be able to just figure it out on paper, i don't necessarily need another machine for this.
i've thought of something like:
128 bpm/8 tpb = 16 ticks
16 ticks at 128 bpm = ?ms
?ms at 128 bpm = 16 ticks
my math skills are not very good (something I'm working on fixing ), so this is the sort of formula i'm thinking of. obviously, my brain gets stuck at figuring out where to look for the ms value i need.
Re: ticks in ms
Step 1
128bmp * 8tpb=1024 tick per minute.
1 min = 60 sec.
60sec/1024tpm=Time per tick. In this case 58.6ms
0.0586*1024=60sec. Time per tick*ticks=time
Step 2(only works when you have done step 1 in these examples I'm going to use the results from previous step 1)
1024/60=ticks per sec =17.0666
1sec/17.0666666=58.6ms per tick
16ticks*0.0586sec=0.94sec per 16ticks (just an 4*4 example because it might become handy)
I have never really had to use it for this but 1/f=T is used much in electronics like for an example. 1/1Hz=1sec or 1/50Hz=20ms per cycle .
So I could have confused some conversions. But it looks right to me(I also am getting a bit rusty when it comes to math)
Edit: I forgot to do the conversions back and forth. I'm not really used to explain my calculations just showing the math behind the result so some things may be a little unclear to the reader.
Hope this helps or at least steer you into the right direction
128bmp * 8tpb=1024 tick per minute.
1 min = 60 sec.
60sec/1024tpm=Time per tick. In this case 58.6ms
0.0586*1024=60sec. Time per tick*ticks=time
Step 2(only works when you have done step 1 in these examples I'm going to use the results from previous step 1)
1024/60=ticks per sec =17.0666
1sec/17.0666666=58.6ms per tick
16ticks*0.0586sec=0.94sec per 16ticks (just an 4*4 example because it might become handy)
I have never really had to use it for this but 1/f=T is used much in electronics like for an example. 1/1Hz=1sec or 1/50Hz=20ms per cycle .
So I could have confused some conversions. But it looks right to me(I also am getting a bit rusty when it comes to math)
Edit: I forgot to do the conversions back and forth. I'm not really used to explain my calculations just showing the math behind the result so some things may be a little unclear to the reader.
Hope this helps or at least steer you into the right direction
- szaszhareen
- Posts: 527
- Joined: Wed Nov 23, 2011 1:15 am
- Location: deep beneath the earths crust
Re: ticks in ms
THANKS!
this is exactly what i was looking for, i really appreciate it!
this is exactly what i was looking for, i really appreciate it!
Re: ticks in ms
I love buzz. the music program where the musican has to have a PhD in mathematics.UNZ wrote:bpm = beats per minute
tpb = ticks per beat
i'll leave the rest to you as an excercise
Re: ticks in ms
It should be in the effects folder.szaszhareen wrote: same thing happens when i add it to the effects folder:does it need to be in a different folder? the readme is unclear on this, i assumed it would go in effects.Code: Select all
LoadLibrary("C:/Program Files(x86)/Jeskola/Buzz/Gear/Effects/cheapo statistic.dll") failed. the specified module could not be found.
I think some plugins like cheapo's need other dll's in order to work.
I don't have these problems myself, because I also installed old buzz 1.2 (in a seperate folder!).
And I used the old fixkit to install the old buzz 1.2 there, which puts some dll's in the windows folder,
so the newer 2008+ buzz builds profit from that too, I guess
(using the fixkit set up is not recommended for the newer builds, btw)
I guess you need msvcr70.dll , but I don't know what the safest way is to try dll's.
Re: ticks in ms
ms = 1000 / (bpm / 60 * tpb)
edit: now where's my PhD !?
edit: now where's my PhD !?
Re: ticks in ms
http://musiccalculator.com/#bpm-delay-timing
PhD in google search
I tried to find a Music Calculator: musiccalc.exe,
but http://musiccalculator.com/ has much more options.
PhD in google search
I tried to find a Music Calculator: musiccalc.exe,
but http://musiccalculator.com/ has much more options.
Re: ticks in ms
The funny thing for me is that I actually had to use more math using FT2 than Buzz because FT2 did not stretch the samples to FF or 80(like Pro2 and 4 does). So the next beat in FT2 for a 4 beat sample could be like 2C and then next beat was then 58(and if you had to timestretch anything. Oh bother). But in buzz it was 40 than 80 or 20 then 40. Much easier.rajmond wrote:
I love buzz. the music program where the musican has to have a PhD in mathematics.
- szaszhareen
- Posts: 527
- Joined: Wed Nov 23, 2011 1:15 am
- Location: deep beneath the earths crust
Re: ticks in ms
for summarizing that so beautifully, i hereby bestow upon you the first ever and only honorary phd from the non-accredited unincorporated university of szashareen state LLC!UNZ wrote:ms = 1000 / (bpm / 60 * tpb)
edit: now where's my PhD !?