Discussion on GetTheBeat - Find the BPM for any song

15 comments found.

have video show out? i have interest.

Thank you for your interest, but i don’t have a video to explain the application :( I suggest this code if you search a perfect way to find a song beat.

Oops…or do you have uploaded to App Store? can i test it?

No, sorry. You can download it, is cheaper. Don’t worry, the sound analysis work’s great! I’ve spent a lot of time to find a good way to process audio files ;)

Thank for this app. This is brilliant. I would like to add other page. However I am not sure how to make vague background things. Can you tell me how to make it ?

Hi tiborou, thank’s to buy the code. To add a new page, you have to add a new UIViewController. You can add this controller with the “Main.storyboard” If you want to know how to work with storyboard, this is a great website to explain it: http://www.raywenderlich.com/50308/storyboards-tutorial-in-ios-7-part-1

This app is great. However, can it be modified to detect the BPM for each small parts of the song instead of the whole song ? If it is possible, can you give me some guidance about how to implement it ?

Hello imouto1994, to be able to scan a small piece of the song, you must access the class “PRBpmFinder.m”

Inside the class you will find the function ”- (void) getBpmFromSong: (NSString *) songtitle;”

The parameters to change are those related to “win_size” and “hop_size”

More hop_size parameter is smaller and more accurate is the scan (but slow) and vice versa. I advise you not to go beyond the benchmark “hop_size = win_size/20;”

If you need more information about audio input and output position can refer to the manuals of the framework mentioned in the manual for the management of audio files.

Thank you for buying my application ;). If you like my app, give me a good rating in the rating.

Thanks, may I ask one more question ? Is BPM the attribute determining the speed or strength of beat in each part of a song or is it something else ? Because as I see the tempo is not changing for the entire song :( Sorry but I’m still new to this field

Am I able to reuse the icon and other graphics?

Buy the extended license ;)

Will it be okay if I change the background images and app icons?

Yes. ;) Rate me! Bye

I am interested in buying this Code however I want to make sure It will solve my needs: Within your app, is there a way to count the BPM and do something about it? For example, after 40 beats, do this. On the other hand, is there a way to loop one part of the song and not the whole song, depending on the number of beats? thanks in advance!

Hi nashmusic, the application only works by scanning the whole song.

If you are interest, you can buying the app study the core audio framework. In the manual find the link to do this. Bye.

Hi, I am getting the following error for some songs and the app crashes : Let me know what this error is about:

GetTheBeat[8870:3507] error AVAudioPlayer Error Domain=NSOSStatusErrorDomain Code=-39 “The operation couldn’t be completed. (OSStatus error -39.)”

Hi kraghavan,

can you give me the nane, extensions, dimension, format, and “all info” about the song in analysis?


Hallo, i’m wondering if you can make the app with a own database. So I can add my own beats?

Thanks in advance

Yep, you can add a database and add manually the bpm

But this feature is not in my present project. p


Will this code calculate BPM for any audio file format running on iPhone? Like wav, mp3, arc, m4a etc?

Also i assume you will also provide the code which calculates the BPM?

Is it verified with iOS 8?

Thanks san

Now Yes. p


I have bundled two songs mp3 and WAV and when i try to run BPM calculate on them i get the below crash

2014-09-30 19:16:39.328 GetTheBeat[1484:767712] * Terminating app due to uncaught exception ‘NSInvalidArgumentException’, reason: ‘Invalid iPod Library URL: file:///private/var/mobile/Containers/Bundle/Application/90B29867-FFCA-4DF8-84B6-2C3109D98C82/GetTheBeat.app/Rhythm_Math_Mix.wav’

Any help appreciated.

Thanks San

have you download the latest version? Have you open a .xcworkspace file?

Hi, When I try to run the code I am left with this error: Semantic Issue Reference to “AVAssetExportSessionStatus” is ambiguous”

2 candidates found by name lookup:
typedef NSInteger AVAssetExportSessionStatus;
typedef NS_ENUM(NSInteger, AVAssetExportSessionStatus) {
Please instruct me on how to solve this

See the new version, iOS8 compatible. ;)


Quick question :)

If we detect the BPM for each small parts of the song instead of the whole song, will it detect accurate BPM?

Thanks San

Hi, Thanks for the code.. If I want to upgrade my license to extended, do I have to pay another $70, or can I pay $56 ($70-$14)

Thanks, R1

Hi rl1. Write to Envato. p

Hello! I just purchased this product, and I am wondering what the best way is to strip it down to it’s bare functionality. What Resources (outside of the Apple ones) are required?

Poking through the code, it looks like I need to only include “Aubio” and “TSLibrary” into my existing project, along with the PRBpmFinder.m/h files. Does this seem correct?

Yes, this is correct.

Hi,paoloandrea, Will that code could calculate BPM from audio files that are in ipod library? I want to detect BPM from files in iPhone not in this App.

The application calculate BMP in ipod Library.

Hi, Paolo, the code is working on a iPhone5 but not on iPhone6. I don’t get the BPM there. I used the first version which worked on iPh5, I used your latest version on iPhone6 . Also when the mediaPicker.showsCloudItems:NO is added, than I don’t get any song to analyze.If I discomment the line // , then I’m able to select my songs in library.However I don’t get the BPM on iPhone6. Do you know about this behaviour?