Comments (3)
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.
- Ahh that makes more sense... Hahaha i was wondering why my output did not change
- Sounds good, i will probably use 12 bits, find the abs and then bitshift it down back to 6 bits
- 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.
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)
- Don't care output HOT 7
- Compiling under MINGW-w64/MSYS2 HOT 8
- Request to add a License to the project HOT 2
- Return value of `printf`.
- Output scaling factor HOT 2
- Timing optimization HOT 3
- longmpy declared as a wire instead of a reg in hwbfly.v HOT 1
- unexpected output HOT 3
- Could I just use the .v file in rtl to build my core? HOT 2
- Support FP32 format HOT 1
- X propagation : 4096 pt FFT HOT 1
- Undefined behaviour of o_result HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dblclockfft.