(if you don't want to read the long post, just have a look at the bold questions and help if you can, thanks a lot)
i'm getting into maxforlive little by little and i'm loving it.
As i use vvvv for the visual side of my work, i really care about the integration and communication of these two tools.
Today i was able for the first time to send a list of values (dynamically changing with a perlin noise) from vvvv to max, via OSC, and control (just as a test) a spectrum filter.
So far so good, i loved that.
Now i'm trying to do something i've always dreamed of, send an FFT analysis in realtime from max to vvvv.
vvvv has an FFT node, problem is i never trusted it for many reasons, but i'm sure that in max it works like a charm.
Actually i thought of using max to take the data from the Spectrum audio effect in Live and send that via OSC, but i'm not sure if max is able to communicate with Live native devices this way.
So my first question is, can i get max to communicate with the Spectrum device and retrieve its values as a list?
I didn't find a way, but i'm a beginner, so maybe there is one (i hope so).
---
So i tried to perform the spectrum analysis in a max patcher and get a list of values, but so far i couldn't
First of all, i guess the only way to do a spectrum analysis in max is FFT, right? i believe that the Spectrum device in Live basically use FFT.
I followed the msp tutorial about FFT, i understood most of it, but unfortunately it doesn't explain what i need, so i ask here.
What i did so far is basically:
plugin~ > fft~ > cartopol~ > number~
I used cartopol~ because what i need is the amplitude of the frequencies, the phase is useless if i'm not doing resynthesis, right?
Now in theory the right outlet of the number~ should give me the list of all the amplitude values, but if i print that, there's only one value coming out
Why is that happening?
I tried to search for an answer in the number~'s inspector, but in vain.
---
About the pfft~ , i'm a bit confused; as far as i understand, it'a better/easier/cleaner way to do FFT (it does the windowing and overlapping), right?
The problem is that it's not possible to unlock the pfft~ patcher, therefore i don't understand how it's possible to edit it, add inlets and outlets, etc.
So even if i find a way to get the list of values from a simple fft~, i wouldn't be able to do the same using the pfft~ (which i believe is better cause i probably will need windowing etc to clean the values) because i cannot work into its patcher! Please help me
That's it, sorry for the long post, but my problem should be quite clear.
Thanks in advance to everyone who will help and share his knowledge.
Greetings,
Pedro