noisered uses a constant FFT size of 2048 samples #550

Open
opened 2025-08-06 15:24:00 +00:00 by martinwguy · 0 comments
martinwguy commented 2025-08-06 15:24:00 +00:00 (Migrated from codeberg.org)

noisered uses a constant FFT size of 2048 samples

Description

noisered works by doing FFTs on the input file of a constant size of 2048 samples,
so its precision in time and in frequency depends on the sample rate in use.
For example, at 48000Hz, its frequency resolution is 48000/2048
which is 23Hz and it can resolve 23 sonic events per second.

Now that we have FFTW support, it would be better to let users
choose the FFT size (or, rather, the FFT frequency, which is (sample_rate/fft_size)
to choose the spacing of the frequency bins and the resolvable number of events per second.

# noisered uses a constant FFT size of 2048 samples ## Description `noisered` works by doing FFTs on the input file of a constant size of 2048 samples, so its precision in time and in frequency depends on the sample rate in use. For example, at 48000Hz, its frequency resolution is 48000/2048 which is 23Hz and it can resolve 23 sonic events per second. Now that we have FFTW support, it would be better to let users choose the FFT size (or, rather, the FFT frequency, which is (sample_rate/fft_size) to choose the spacing of the frequency bins and the resolvable number of events per second.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
martinwguy/sox_ng#550
No description provided.