I was looking at how the type line is parsed (because I want to add support for something like “;type generate stereo”) and I noticed that there’s
if (len >= 3 && tokens[2] == wxT("spectral")) {;
mIsSpectral = true;
}
So that would allow one to write (already) “;type generate spectral” (though I have no idea what that would do, even in theory) and “;type process spectral” etc. Are there any examples of the “spectral” plugins?
Ok, for process, the answer seems to be yes https://forum.audacityteam.org/t/spectral-bandpass-filter-plugin/61476/1 , although it does not appear to me that the feature is documented (at least at https://wiki.audacityteam.org/wiki/Nyquist_Plug-ins_Reference) What about “generate spectral”?