I started messing with my Animata OSC plugin for Quartz Composer and trying out different kinds of data I could feed from QC to Animata. The Audio Input patch is the obvious choice, so might as well get that over with first.
The first test. Just playing various samples and seeing how the communication works. Not very exciting, since I’m not using any images in Animata.
Click here to download the Quartz composition and the Animata file I used in the video above. The only special thing worth noting in the .qtz is that I’m normalizing the bands a little bit and scaling the values. Otherwise the 0-band would always peak out and the others wouldn’t really output anything useful. Requires the Animata OSC plugin for Quartz Composer.
I will probably post something more interesting tomorrow. The point with this test was more to do something I’ve been meaning to do for a long time. That is to figure out exactly what is the frequency range of the different spectrum bands of the Audio Input patch.
Please note, I think the information below is not valid anymore. Maybe it never was. (Edited 26/5/2014)
My testing method was not the most accurate, but should be fine for this purpose. I just want to have a rough idea of what is going on. They way I measured this was by generating different frequencies with the Max/MSP cycle~ object and then seeing at what frequency the maximum value jumped from one band to the next one. Here are my results. The frequency is in Hz: Band 0: 0 – 580 Band 1: 580 – 1000 Band 2: 1000 – 1500 Band 3: 1500 – 2000 Band 4: 2000 – 3200 Band 5: 3200 – 4800 Band 6: 4800 – 6140 Band 7: 6140 – 8230 Band 8: 8230 – 10300 Band 9: 10300 – 12380 Band 10: 12380 – 15110 Band 11: 15110 – 17880 Band 12: 17880 – 20000 There was no point trying to measure Bands 13-15 since they go over 20kHz and my sound card can’t handle that. Actually, in normal use – normal use for me meaning music visualizations – there’s not much point using the bands above 8, since the amplitude at those frequencies is barely noticeable.
Let me know if you are doing something cool with Quartz Composer and Animata.