Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • D dblclockfft
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3
    • Issues 3
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Dan Gisselquist
  • dblclockfft
  • Issues
  • #14
Closed
Open
Issue created Oct 10, 2022 by Administrator@rootContributor

How would I use this FFT for my 20khz sampled audio signal?

Created by: Magmanat

I am using windows, but i use windows subsystem for linux (WSL) to make the fft program and also to generate my FFT's

I am using a BASYS3 board with 100MHz clock, I want my FFT to be able to bin the audio signal of 20Khz sampling to around a 20Hz frequency resolution Is it possible to get some guidance to use this?

./fftgen -f 1024 -n 12 -m 6 -p 20 -k 5000

these are the current commands i use to generate my FT as i believe that to have 20Hz binning resolution it is 20Khz / 1024 which gives me 20Hz bins.

my pmod mic 3 outputs 12 bit data and i have an oled screen that has 64 pixels in height hence i put the output in 6 bits to be able to map my output to the oled screen

-p 20 as i saw that BASYS3 has DSP elements and hence this is more efficient

-k 5000 as i am currently using my 100Mhz clock while pushing in the 20khz samples

is this the correct implementation? or am i doing something wrongly

Assignee
Assign to
Time tracking