BlackBerry Forums Support Community

Closed Thread
LinkBack Thread Tools
Old 05-20-2008, 12:16 PM   #1 (permalink)
New Member
Join Date: May 2008
Model: 8100
Carrier: Rogers
Posts: 6
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Blackberry Sound editing and analyzing

Please Login to Remove!

Hi there,

I am currently doing my masters degree and for my thesis, I am working with the blackberry.

I need to be able to load in a music file (mp3 or wav, etc) and be able to read that file and determine the beats per minute (bpm) of that song. The trick is, I want to do this all on the blackberry.

Is there any functions or classes in the blackberry JDE, that allows you to do this? Would I somehow be able to program this in a normal java environment and then convert it to the blackberry?

Any help or suggestions would be great,
Thank you

Old 05-20-2008, 02:54 PM   #2 (permalink)
Talking BlackBerry Encyclopedia
richard.puckett's Avatar
Join Date: Oct 2007
Location: Seattle, WA
Model: 9020
Carrier: T-Mobile
Posts: 212
Post Thanks: 0
Thanked 0 Times in 0 Posts

Welcome to the forums.

Sounds like a very interesting project! AFAIK, there are no methods (on BlackBerry or in J2ME in general) that would do this sort of thing for you. There are implementations of Fourier transforms out there that you might be able to port over. Run it though a low bandpass filter and then detect "beats".

I was wanting to do this myself for an app that would trigger the vibrator for each beat. That would give the impression that the BlackBerry is really rocking out to a song - kind of like those cars that drive by and rattle your windows because they're cranking out the hip hop so loud.

Anyway, good luck. If you want help feel free to PM me.
Do your homework and know how to ask a good question.

Copyright 2004-2016
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.