Git Product home page Git Product logo

Comments (3)

ZipCPU avatar ZipCPU commented on July 18, 2024

Sounds good. Let me know how it works out for you.

Some insights you might wish to consider:

  • The '-k 5000' is really pretty irrelevant. The max value supported here is '-k 3'. Larger numbers won't hurt though, so ... you are fine as you have it.
  • When using '-m 6', you'll be throwing most of your PMIC bits away. I'd be tempted to use '-m 12' and then only throw bits away at the end of the operation.
  • If your goal is to detect the presence of a tone, you might wish to look into windowing, and/or oversampling.

Dan

from dblclockfft.

Magmanat avatar Magmanat commented on July 18, 2024
  1. Ahh that makes more sense... Hahaha i was wondering why my output did not change
  2. Sounds good, i will probably use 12 bits, find the abs and then bitshift it down back to 6 bits
  3. Thanks for the heads up, for the moment i am crudely hardcoding notes into my program to detect, however i might need to use cents over a pitch method eventually, may i clarify that oversampling is just feeding my fft more points than my source?
    For e.g. clocking my fft at 40Khz when my source is 20Khz

But overall, wow what an amazing tool you have built... Really saving my life here thanks!

from dblclockfft.

ZipCPU avatar ZipCPU commented on July 18, 2024

You might find this article valuable. It explains some of the issues associated with overlap and oversampling. You might also find rudimentary logarithms to be valuable when trying to work with large dynamic ranges.

Good luck!

Dan

from dblclockfft.

Related Issues (13)

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.