How to calculate the audio amplitude in real time (android)

后端 未结 3 1871
灰色年华
灰色年华 2021-01-05 23:33

I am working on an Android app where I need to calculate the audio amplitude in real time. As of now I am using MediaPlayer to play the track. Is t

3条回答
  •  花落未央
    2021-01-06 00:07

    Use this example:

    http://androidexample.com/Detect_Noise_Or_Blow_Sound_-_Set_Sound_Frequency_Thersold/index.php?view=article_discription&aid=108&aaid=130

    Hope this solves your problem....cheerz

提交回复
热议问题