[Csnd] Spectra Layers

i posted this on the Csound Forum, but got no reply…

For discussion sake: are programs like SpectraLayers: Advanced Spectral Editor | Steinberg based on FFT with 1 Hz resolution, you think?
Could this, at present, be imitated by Csound opcodes?

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

My first thought is that a (brute force) 1Hz resolution is unlikely, as it would require the fft size to be very long (equivalent to 1 second of audio). The temporal resolution would then suffer greatly. The spectral editing methods could be imitated by Csound opcodes. I assume they (SpectraLayers, Rx etc) do some neat tricks to avoid artifacts when arbitrarily changing the amplitude of single bins, so it might be necessary to look into how that can be replicated.
Oeyvind

man. 31. mai 2021 kl. 10:27 skrev tjingboem <magknevel@gmail.com>:

i posted this on the Csound Forum, but got no reply…

For discussion sake: are programs like SpectraLayers: Advanced Spectral Editor | Steinberg based on FFT with 1 Hz resolution, you think?
Could this, at present, be imitated by Csound opcodes?

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

yes, for a 1Hz resolution you need a 1-second audio frame.
A 65536-size dft size in the phase vocoder will give sub-1Hz resolution in frequency at 44.1 or 48 KHz,
but lots of smearing in time.