Allocation-less, perhaps planned, Constant Q transform

I’m reading up on FFTs and STFTs again for 1D real data, and eliminating startup work and allocations with rFFT plans looks promising. I’m also interested in spacing the frequency bins logarithmically like how musical pitches are, but I can’t find an up-to-date ready-to-use option for planning constant Q transforms, let alone a real one. I’m reading that it can be computed with FFT, but I lack the fundamental knowledge to implement it. Any pointers will be great.

Check this:
GitHub - r9y9/ConstantQ.jl: A fast constant-q transform in Julia

1 Like