android AudioRecord amplitude reading from MIC

前端 未结 2 1050
太阳男子
太阳男子 2021-02-05 22:23

I am trying to record the sound from the MIC and draw a live graph. I am able to record and draw the graph. The problem is the values that are recorded using the code below are

相关标签:
2条回答
  • 2021-02-05 23:05

    Try using a higher sampling rate. The maximum is 48000, but 44100 is standard.

    Also, it is possible the microphone is just recording background noise.

    0 讨论(0)
  • 2021-02-05 23:06

    For anyone else looking for a way to do this, check out Samsung's fantastic example complete with source code

    Samsung example

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