AVAudioPlayer - Metering - Want to build a waveform (graph)

后端 未结 4 1866
闹比i
闹比i 2021-01-06 01:12

I need to build a visual graph that represents voice levels (dB) in a recorded file. I tried to do it this way:

NSError *error = nil;
AVAudioPlayer *meterPlay         


        
4条回答
  •  一个人的身影
    2021-01-06 01:40

    I haven't used it myself, but Apple's avTouch iPhone sample has bar graphs powered by AVAudioPlayer, and you can easily check to see how they do it.

提交回复
热议问题