Android, How to use microphone in order to calculate sound frequencies?

前端 未结 2 430
执念已碎
执念已碎 2021-02-03 15:21

I\'m working on Audio tuner application in order to tune musical instruments. User should play a note, then in my application I should show which frequency it has.

The f

2条回答
  •  滥情空心
    2021-02-03 15:31

    I'm also trying to do this. I haven't managed it myself yet, as I'm completely new to android development, but here are two useful links to the source code of other tuners, one in Java, one not:

    • http://www.psychicorigami.com/2009/01/17/a-5k-java-guitar-tuner/
    • http://www.codeproject.com/Articles/32172/FFT-Guitar-Tuner

    EDIT: Thought I better link to the MANY alternatives on this site with people trying to make a guitar tuner.

    • How to create tuner that runs continuously?
    • Sound convertion to frequency in android
    • Real time pitch detection

    RE-EDIT: FFT.java

    Solved my problems. (Not linked properly because I'm a new user)

提交回复
热议问题