How to generate audio wave form programmatically while recording Voice in iOS?

前端 未结 3 1971
情书的邮戳
情书的邮戳 2021-01-30 11:52

\"enter

How to generate audio wave form programmatically while recording Voice in iOS?

3条回答
  •  迷失自我
    2021-01-30 12:03

    I was searching the same thing. (Making wave from the data of the audio recorder). I found some library that might be helpful and worth to check the code to understand the logic behind this.

    The calculation is all based with sin and mathematic formula. This is much simple if you take a look to the code!

    https://github.com/stefanceriu/SCSiriWaveformView

    or

    https://github.com/raffael/SISinusWaveView

    This is only few examples that you can find on the web.

提交回复
热议问题