我一直在AVAudioPlayer工作,我想绘制一个看起来像这样的波形:
答案 0 :(得分:1)
以下项目源代码可以帮助您:
https://github.com/ioslovers/ATTabandHoldAudioRecord
除此之外,apple提供了以下示例代码: https://developer.apple.com/library/ios/samplecode/SpeakHere/Introduction/Intro.html
其他相同的堆栈溢出重放显示实时绘图: https://stackoverflow.com/a/2402899/905514