iOS xcode microphone volume detection?

前端 未结 1 1965
孤独总比滥情好
孤独总比滥情好 2021-02-10 12:22

What frameworks are required to detect how loud someone is talking into a microphone... Also, can anyone tell me what to search for in the documentation or google so I can creat

1条回答
  •  死守一世寂寞
    2021-02-10 12:38

    This seems to be a duplicate of:

    Realtime microphone sound level monitoring

    However, that question is old and the accepted answer links to a deprecated library. They now recommend that you instead use AVAudioRecorder. They suggest this tutorial and it seems to be what you are looking for.

    0 讨论(0)
提交回复
热议问题