dump the spectoscope~ . Getting its values.

rhetoric's icon

Hello
I am quite a noob when it comes to sound. so please forgive me.
i would like to have the spectroscope~ values. Is that possible? I really like this visual representation of sound.
I would like to represent the sound visually, if possible at each sample, lets say from 0Hz to 20000Hz.
The spectroscope~ (not in sonogram mode) displays exatly this sound vizualisation. Maybee there is another approach, but i would like to have thse values (maybee as a list) for each sample in a certain resolution, e.g. 128 or so.

From where can i get these values? It seems something rather simple, but I don't get it.
The capture~ object doesn't seem to represent this spectrum. neither does the fft analysis.

i would need it for a music visualizer (pack these values into a matrix, deform meshes.. etc)
Also with the jitter AudioObject I don't get this result.

thanks for your help.

rhetoric's icon

i found this thread, asking for exactly the same thing..
https://cycling74.com/forums/spectrumfft-to-osc-how-to-pfft-question

but no helping answer there either..

Floating Point's icon

well the answer _is_ in that thread-- it's called pfft~

you'll need to do tutorials and look at example patches to fully understand it, but it does exactly what you want.

if you want to change the data resolution, the simplest way is to change the window size of the fft, and maybe use only every 4th analysis window... (thinking out loud here)

an example of what you can do with spectral visualization is also in this thread:
https://cycling74.com/forums/sharing-is-fun-fft-geometry-remix-waterfall

T