buzz forums
http://forums.jeskola.net/

ticks in ms
http://forums.jeskola.net/viewtopic.php?f=2&t=1664
Page 1 of 1

Author:  szaszhareen [ Sun Dec 22, 2013 12:41 am ]
Post subject:  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.

Author:  synthphase [ Sun Dec 22, 2013 9:46 am ]
Post subject:  Re: ticks in ms

Cheapo Statistics are your friend.

Author:  szaszhareen [ Mon Dec 23, 2013 1:37 am ]
Post subject:  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. :oops:

Author:  magmavander [ Mon Dec 23, 2013 2:13 am ]
Post subject:  Re: ticks in ms

here it is ;)

Attachments:
cheapo statistics.zip [16.71 KiB]
Downloaded 148 times

Author:  UNZ [ Mon Dec 23, 2013 11:25 pm ]
Post subject:  Re: ticks in ms

bpm = beats per minute
tpb = ticks per beat

i'll leave the rest to you as an excercise ;)

Author:  Evelon [ Tue Dec 24, 2013 8:48 pm ]
Post subject:  Re: ticks in ms

synthphase wrote:
Cheapo Statistics are your friend.

You still learn new things, even after years of Buzz use/abuse. Thanks!

Author:  szaszhareen [ Fri Dec 27, 2013 4:23 am ]
Post subject:  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:

Code:
LoadLibrary("C:/Program Files(x86)/Jeskola/Buzz/Gear/Generators/cheapo statistic.dll") failed. the specified module could not be found.


same thing happens when i add it to the effects folder:

Code:
LoadLibrary("C:/Program Files(x86)/Jeskola/Buzz/Gear/Effects/cheapo statistic.dll") failed. the specified module could not be found.


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.

Author:  4516N41 [ Fri Dec 27, 2013 11:05 am ]
Post subject:  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 :mrgreen:

Author:  szaszhareen [ Mon Jan 06, 2014 8:42 am ]
Post subject:  Re: ticks in ms

THANKS! :mrgreen:

this is exactly what i was looking for, i really appreciate it! :D

Author:  rajmond [ Mon Jan 06, 2014 9:00 pm ]
Post subject:  Re: ticks in ms

UNZ wrote:
bpm = beats per minute
tpb = ticks per beat

i'll leave the rest to you as an excercise ;)


I love buzz. the music program where the musican has to have a PhD in mathematics.

Author:  vacuum [ Tue Jan 07, 2014 1:10 am ]
Post subject:  Re: ticks in ms

szaszhareen wrote:
same thing happens when i add it to the effects folder:
Code:
LoadLibrary("C:/Program Files(x86)/Jeskola/Buzz/Gear/Effects/cheapo statistic.dll") failed. the specified module could not be found.

does it need to be in a different folder? the readme is unclear on this, i assumed it would go in effects.


It should be in the effects folder.
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 :geek:
(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.

Author:  UNZ [ Tue Jan 07, 2014 10:47 am ]
Post subject:  Re: ticks in ms

ms = 1000 / (bpm / 60 * tpb)

edit: now where's my PhD !?

Author:  vacuum [ Tue Jan 07, 2014 1:45 pm ]
Post subject:  Re: ticks in ms

http://musiccalculator.com/#bpm-delay-timing

PhD in google search 8-)

I tried to find a Music Calculator: musiccalc.exe,
but http://musiccalculator.com/ has much more options.

Author:  4516N41 [ Tue Jan 07, 2014 2:43 pm ]
Post subject:  Re: ticks in ms

rajmond wrote:

I love buzz. the music program where the musican has to have a PhD in mathematics.


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. ;)

Author:  szaszhareen [ Thu Jan 09, 2014 7:18 am ]
Post subject:  Re: ticks in ms

UNZ wrote:
ms = 1000 / (bpm / 60 * tpb)

edit: now where's my PhD !?


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!

Image

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/