Can SC generate a frequency spectrogram of a given wav file? (and back again)

  1. Is there (an easy) way in Supercollider to generate a frequency spectrogram (image or number matrix) of a given sound/wav file?

  2. Is there (an easy) way in Supercollider to convert it back again? Despite the effect it won’t be equal to the original sound file.

Assuming that you want to see it on NRT, this is the only thing that I’ve seen so far to do this:

http://sccode.org/1-4WU

1 Like

Hello,

Is the sc-code pointed out by @fmiramar still the only way to use spectrogram in SC?
(Anyway, it is already impressive!) Or am I missing something?

There is also a real-time spectrogram Quark:

@fmiramar
Thank you very much! This is better for me for general purposes!

1 Like