iOS SoundTouch framework BPM Detection example
问题 I have searched all over the web and cannot find a tutorial on how to use the SoundTouch library for beat detection. (Note: I have no C++ experience prior to this. I do know C, Objective-C, and Java. So I could have messed some of this up, but it compiles.) I added the framework to my project and managed to get the following to compile: NSString *path = [[NSBundle mainBundle] pathForResource:@"song" ofType:@"wav"]; NSData *data = [NSData dataWithContentsOfFile:path]; player =[[AVAudioPlayer