Wav_BPM

Scope device files created using the Scope SDK

Moderators: valis, garyb

Post Reply
Counterparts
Posts: 1963
Joined: Tue Aug 19, 2003 4:00 pm
Location: Bath, England

Post by Counterparts »

<a name="planetz-file"></a><a href="http://www.planetz.com/Pulsar/files/dev ... .zip"><img src="/forums/images/file_icon.gif" border="0" alt=" File"> File</a><BR> <a name="planetz-tag"></a>Price ($USD): 0<BR> <a name="planetz-tag"></a>Type: Utility<BR> <a name="planetz-tag"></a>Related To: Samples<BR> <a name="planetz-tag"></a>Requires: Windows P.C.<BR> _____________________________________<BR><BR> Beta1 of the 'BPM Calculator' (based on a sample).

Note: the .zip file currently also contains comdlg32.ocx - if the .exe doesn't run, then copy this .ocx file into the System32 directory and all should be well. I'll remove the need for this by writing my own file open dialog ASAP and build that into the application.

Use:

Run the executable
Click 'load' - a standard file open dialog appears
Select a sample (*.wav only)
The BPM is displayed! (for 4 bars of 4/4 as default)
Clicking the 'info' button brings up some information regarding the sample

At this stage, you can change:

time signature (3/4 or 4/4 only at the mo)
#bars - 0 through to 8
#beats - integral values only

Each time the bars or beats are changed, the BPM is recalculated

If the sample file is looped, the calculations are based on the length of the loop.

If the sample is not looped, then the calculations are based on the entire sample length.

Click 'quit' to exit.

Limitations:

3/3 or 4/4 time sigs only
BPM rounded to two decimal places
0 or 1 loops only!
PCM format .wav file, loop information is in the 'smpl' data chunk
Does not consider the potential "fractional sample" as part of the calculations (probably wouldn't make a lot of difference!)
Windows P.C. only
Only whole numbers of beats can be entered.

Note: if bars & Beats are both 0, then no BPM is displayed (can't divide by 0!)

I've done some preliminary testing, but would appreciate it if somebody could check some 'known samples'.

Regards,

Royston

<font size=-1>[ This Message was edited by: Counterparts on 2004-02-25 08:02 ]</font>
User avatar
Jngaelin
Posts: 465
Joined: Thu Nov 15, 2001 4:00 pm
Location: Sweden
Contact:

Post by Jngaelin »

Wow =) Thanx man !! :smile:

I'll try it out tomorrow. have to sleep now.
Been up for ehm.... hmm... 52 hours =).
aahaaaa so thats why my room is upside down!

I'll report my progress with your device in short !

Nice work!
_________________
Love to you all =)
(I Praise JAH)

<font size=-1>[ This Message was edited by: Jngaelin on 2004-02-29 20:22 ]</font>
samplaire
Posts: 2464
Joined: Tue Jun 05, 2001 4:00 pm
Location: Warsaw to Szczecin, Poland
Contact:

Post by samplaire »

Is it a Pulsar device?
Counterparts
Posts: 1963
Joined: Tue Aug 19, 2003 4:00 pm
Location: Bath, England

Post by Counterparts »

No, just a little windows .exe file.

Royston

p.s. any news, Jngaelin?
Post Reply