3

please anyone know is there any sample code for beat detection iPhone?.How to implement fft algorithm in iphone to detect music beats?.I see in one forum that apple's sample code auriotouch doing the beat detection, is it correct?.

thanks

4

1 回答 1

4

你真的想做节拍检测,还是只想显示输出电平?AVAudioPlayer 有

- (float)peakPowerForChannel:(NSUInteger)channelNumber;

该方法允许您通过定期调用它来轻松创建输出电平表。

于 2011-12-23T23:43:42.930 回答