buzz forums

forums of the buzz
It is currently Sun Nov 18, 2018 9:17 pm

All times are UTC




Post new topic Reply to topic  [ 15 posts ] 
Author Message
 Post subject: ticks in ms
PostPosted: Sun Dec 22, 2013 12:41 am 
User avatar

Joined: Wed Nov 23, 2011 1:15 am
Posts: 492
Location: deep beneath the earths crust
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.


Top
 Profile  
 
 Post subject: Re: ticks in ms
PostPosted: Sun Dec 22, 2013 9:46 am 

Joined: Sat Dec 17, 2011 7:57 pm
Posts: 69
Cheapo Statistics are your friend.


Top
 Profile  
 
 Post subject: Re: ticks in ms
PostPosted: Mon Dec 23, 2013 1:37 am 
User avatar

Joined: Wed Nov 23, 2011 1:15 am
Posts: 492
Location: deep beneath the earths crust
sounds like a plan. do you have a link to the machine? it's not on buzzmachines and google was no help. :oops:


Top
 Profile  
 
 Post subject: Re: ticks in ms
PostPosted: Mon Dec 23, 2013 2:13 am 
User avatar

Joined: Tue Nov 22, 2011 5:22 pm
Posts: 499
Location: France
here it is ;)


Attachments:
cheapo statistics.zip [16.71 KiB]
Downloaded 116 times
Top
 Profile  
 
 Post subject: Re: ticks in ms
PostPosted: Mon Dec 23, 2013 11:25 pm 
User avatar

Joined: Mon Nov 21, 2011 9:42 pm
Posts: 691
bpm = beats per minute
tpb = ticks per beat

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


Top
 Profile  
 
 Post subject: Re: ticks in ms
PostPosted: Tue Dec 24, 2013 8:48 pm 
User avatar

Joined: Tue Nov 22, 2011 11:00 pm
Posts: 147
synthphase wrote:
Cheapo Statistics are your friend.

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


Top
 Profile  
 
 Post subject: Re: ticks in ms
PostPosted: Fri Dec 27, 2013 4:23 am 
User avatar

Joined: Wed Nov 23, 2011 1:15 am
Posts: 492
Location: deep beneath the earths crust
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.


Top
 Profile  
 
 Post subject: Re: ticks in ms
PostPosted: Fri Dec 27, 2013 11:05 am 

Joined: Wed Nov 23, 2011 12:03 am
Posts: 60
Location: Iceland
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:


Top
 Profile  
 
 Post subject: Re: ticks in ms
PostPosted: Mon Jan 06, 2014 8:42 am 
User avatar

Joined: Wed Nov 23, 2011 1:15 am
Posts: 492
Location: deep beneath the earths crust
THANKS! :mrgreen:

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


Top
 Profile  
 
 Post subject: Re: ticks in ms
PostPosted: Mon Jan 06, 2014 9:00 pm 
User avatar

Joined: Tue Mar 27, 2012 7:15 pm
Posts: 30
Location: Göteborg / Sweden
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.


Top
 Profile  
 
 Post subject: Re: ticks in ms
PostPosted: Tue Jan 07, 2014 1:10 am 
User avatar

Joined: Fri May 04, 2012 10:24 am
Posts: 95
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.


Top
 Profile  
 
 Post subject: Re: ticks in ms
PostPosted: Tue Jan 07, 2014 10:47 am 
User avatar

Joined: Mon Nov 21, 2011 9:42 pm
Posts: 691
ms = 1000 / (bpm / 60 * tpb)

edit: now where's my PhD !?


Top
 Profile  
 
 Post subject: Re: ticks in ms
PostPosted: Tue Jan 07, 2014 1:45 pm 
User avatar

Joined: Fri May 04, 2012 10:24 am
Posts: 95
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.


Top
 Profile  
 
 Post subject: Re: ticks in ms
PostPosted: Tue Jan 07, 2014 2:43 pm 

Joined: Wed Nov 23, 2011 12:03 am
Posts: 60
Location: Iceland
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. ;)


Top
 Profile  
 
 Post subject: Re: ticks in ms
PostPosted: Thu Jan 09, 2014 7:18 am 
User avatar

Joined: Wed Nov 23, 2011 1:15 am
Posts: 492
Location: deep beneath the earths crust
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 15 posts ] 

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group