Tempo detection

Hi,


Is there any framework or function in iOS that can do tempo detection on an audio sample and/or an audio stream?


I'm currently doing this using a third-party library written in c++, but it is cumbersome and I want to get away from it if I can.


Thanks,

Frank