Comments

zemlin wrote on 5/9/2004, 5:20 AM
1ms = 1/1000 sec.
1000 ms = 1 sec
60 sec = 1 minute
60,000 ms = 1 minute

1 BPM = 1 beat / 1 minute
1 BPM = 1 beat / 60,000 ms

Your conversion factor is 60,000.
60 BPM = 1 beat per second = 1 beat per 1000 ms
so if you have 1000 ms and want to convert to BPM

60,000/(1000 ms) = 60
Chienworks wrote on 5/9/2004, 7:17 AM
Actually they are inversely related so there isn't a factor. Divide either into 60,000 to get the other.

60,000 / 120bpm = 500ms
60,000 / 750ms = 80bpm
60,000 / 96bpm = 625ms
60,000 / 833.333ms = 72bpm

etc ...
HM wrote on 5/10/2004, 1:07 AM
maybe this helps too!

This tool calculates a given length in seconds of an audio sample into temp in BPM and reverse. You can also adjust the number of measures and beat resolution. Length can be read directly from WAV files. Also included is a calculator for time/tempo stretch rate calculation if you want to adjust the tempo or time to a fixed value (e.g. matching to the tempo of a sequencer song). The length of a song can also be calculated from the tempo and the number of measures as well as the length of single notes. An integrated beat counter allows DJs to measure the tempo of a running song. A metronome can be run according to the counted tempo also.

http://www.ucsoft.de/downloads/ucsc141.zip

cheers

mark
MrPhil wrote on 5/10/2004, 7:23 AM
actually, it's
60s / 120bpm = 0.5 seconds = 500ms
and
60 / 0.5 = 120bpm

No need for all those extra (un-correct) zeros
Chienworks wrote on 5/10/2004, 7:54 AM
MrPhil, what's uncorrect about them? The original question was asked about milliseconds. Without the extra zeros you're calculating in seconds instead of milliseconds. You're showing a converstion from BPM -> seconds -> milliseconds, which is two steps instead of one.
nlamartina wrote on 5/10/2004, 10:01 AM
Another similar tool from AnalogX. Smaller and simpler, so it doesn't do all the fancy stuff, but it's also very quick and convinient. Also calculates subdivisions.
roger_74 wrote on 5/10/2004, 11:22 AM
How about having something comparable to the AnalogX Delay Calculator sitting right on the toolbar in Vegas? Is there a need for that? If so, just say the word.
PipelineAudio wrote on 5/10/2004, 11:34 AM
YES!, and more roger. analog x's calc only goes from BPM to MS not the other way around, but better yet

A calc that does ms to bpm, bpm to ms, and oscillation time from bpm, so you could set flangers to the music for instance.

is that even possible? that would ROCK
roger_74 wrote on 5/10/2004, 11:41 AM
Just to clarify; On the toolbar would be a button that launces the calculator, the actual calculator would not be on the toolbar.

MS to BPM and BPM to MS, sure, but what is oscillation time from BPM?
Rednroll wrote on 5/10/2004, 11:49 AM
I've been using a BPM to MS, MS to BPM software.....sorry forgot the name of who makes it, but I think there's a lot of them available. It also allows you to define the delay calculation for the selected note value. So in other words, you tell it the BPM is 120BPM, then you assign it a note value, let's say a 1/4 note, and it calculates the delay time in mS for the quater note with a master tempo of 120BPM.

Roger74, along with Pipe's suggestions, another thing that would be nice, if the calculator had a tap tempo key, where you could tap a key on your PC keyboard and it calculates the average BPM for you.
roger_74 wrote on 5/10/2004, 11:52 AM
I already have a tap tempo script, called... TapTempo. I just noticed I haven't put a V5 version of it there yet. I'll do that right away.
PipelineAudio wrote on 5/10/2004, 12:36 PM
the oscillation thing would give you the frequency settings to match say tremolo, vibrato, amplitude modulation, flanger, and phaser effects to the project's tempo
MrPhil wrote on 5/12/2004, 7:03 AM
Going from 0.5 seconds to 500 ms isn't a conversion, it's the same thing.

BPM stands for Beats Per Minute, not Beats Per 60,000 ms
Seconds is a main unit of measure, ms is not.

The use for all extra zeros is not wrong if you count your minutes in milliseconds, but mostly we count a minute as 60 seconds.
Maybe I should have said un-necessary instead of un-correct use of zeroes.
Of course the result is the same either way.
Rednroll wrote on 5/12/2004, 8:19 AM
It's all easy multiplication and division, if you put the units in it. You're trying to convert from BPM (ie Beats/Min) to mS/Beat.

If you're converting 120 BPM, the math would look like this.

(120 Beat/Min) x ( 1Min/60 Seconds) x (1Sec/1000 mS)

You can see that in this equation that "Min" and "Sec" cancel out and you're left with the units expressed in "Beat/mS", what you want is mS/Beat, so by inverting the "Beat/mS", will give you "mS/Beat" and give you your final answer. You could use Microsoft excel, and create a spread sheet with the above math and easily create your own BPM to mS converter.

120/60x1000=.002 mS/Beat
Invert= 500 mS/Beat

Here's what you can do in Excel to easily create your own BPM calculator and then print it out.

In Cell "B1" enter the Equation "=1/(A1/60000)"
Now any number for the BPM you enter in Cell "A1" get's converted to mS
Now in Cell "A2", enter the equation "=A1+1"
Goto the bottom of cell A2 and drag the bottom right corner down through the column A. Goto Cell B1 and do the same for all Column B.
Now when you enter a BPM in cell A1, it will give you a list of BPM to mS conversions. You could make further cells, that divide this by 2 for 8th notes, divide by 4 for 16th notes, multiple times 2 for half notes, multiple times 4 for whole notes...etc.

You could print this spreed sheet out, and add nice headings and such and tape it on the wall next to your DAW, and never have to run another BPM, to mS calculator during a session again.

If anyone's interested, I've already created an Excel spread sheet which converts BPM to mS and mS to BPM, with a spread sheet which displays mS 1/4,1/8, 1/16,1/32, 1/2, and whole note values.

Email me at REDNROLL AT HOTMAIL.COM, and I'll send you the excel file
roger_74 wrote on 5/15/2004, 11:49 AM
Here's Tempo Calculator 1.0.

After installing you can put it's icon on the toolbar by going to Options > Customize Toolbar

I will need some guidance for the frequency setting you wanted though, I'm not quite clear on what is needed. What would be suitable values for say BPM 120, and how many values do you want?
MJhig wrote on 5/15/2004, 11:59 AM
Wow! Looks very handy Roger_74 but you list it as for Vegas 5, will it not run in Vegas 4?

MJ
roger_74 wrote on 5/15/2004, 12:04 PM
I'll have a version done for V4 later today. The installation won't be automatic though, since V4 doesn't have the same script menu.
PipelineAudio wrote on 5/15/2004, 12:05 PM
A big fat HELL YEAH from the land of double digit temperatures! thank you roger

now wheres my magical tom fader script?
roger_74 wrote on 5/15/2004, 1:03 PM
A V4 version is now available for download. I don't have V4 installed so please let me know if there are any problems.
roger_74 wrote on 5/15/2004, 1:06 PM
How much would you pay for the magical part? :-)

Just kidding. In two weeks I will have some more free time, I'll see what I can come up with.
PipelineAudio wrote on 5/15/2004, 2:26 PM
why does this show up in the script menu but not in the scripts I can throw in " customize toolbar" ?
roger_74 wrote on 5/15/2004, 2:55 PM
Strange, it works here but I think I had the same problem with another script. After a restart it showed up.
MJhig wrote on 5/15/2004, 3:35 PM
Roger, thanks very much for the work. I'm at a 98 SE machine today and unfortunately opening the script in V4 produces nothing. The GUI shudders a couple of times then nothing. I'll get to my XP machine later and test. Both have Net framework and other *.js scripts run on this machine.

Appreciatively,
MJ
roger_74 wrote on 5/15/2004, 3:49 PM
Since V5 was released I'm afraid I haven't given much thought to Win98. There's no real reason for it not to work in 98, but make sure you have v1.1 of the Net framework.