Giter Club home page Giter Club logo

Comments (1)

bewantbe avatar bewantbe commented on August 27, 2024

Hi!

Thank you for using my app.

I would guess that these artifacts are due to the emulator, not the app itself.

For screenshot-1.

I can see two noise floors. The higher one (around -54dB) should relate to the noise in the mic, the lower one (around -120dB) should relate to the anti-aliasing filter which limit the signal to 4kHz, and that means, maybe somewhere in the audio processing pathway, 8kHz sampling rate is assumed.

Your experiment further verified the existence of this 4kHz low-pass filter, because when input frequency is higher than 4kHz, the peak frequency no longer matches.

For screenshot-2, screenshot-3, screenshot-4.
The -120dB floor disappeared, which is weird, if the audio processing method didn't change and no automatic gain control applied, then it indicate recorder buffer overrun, which will leads to discontinuous samples and the slow-decaying spectrum.

Another possibility is, although not so sure about this, clipping in the input signal, so reduce the volume (hardware or software) may help.

I would suggest first turn on the "overrun warning" in the app preference, see if there is overrun. Also reduce input signal amplitude or volume.

I also tried it in the emulator (along with the Android Studio, in Linux), everything looks good. But I remember that in the old day (e.g. 4 years earlier), the running speed of the emulator is not fast enough so that there is constantly buffer overrun.

I notice that you are using "Lollipop" image, and Lollipop is released in November 2014. Consider update it and see if it works.

from audio-analyzer-for-android.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.