debug Awesome Line Drawer: added Audio Analysis

gabemott's picture

I had VDMX crash a dozen times last night during a show. I finally figured out it seemed likely that it was the awesomelinedrawer.qtz file that I had modified slightly to have colored lines as RG and B. In VDMX I had added an audio analysis.

Today I thought to not do the audio analysis in VDMX but to do it directly in QC.

Well, once I built it, it crashed Quartz Composer. I'm now wondering if it's my computer that has something wrong with audio.

If anyone wants to have a try at this it would be helpful, let me know if it crashes your quartz composer as well.

All I did was add color and audio analysis to goto10's awesome line drawer: http://vimeo.com/groups/creativeapps/videos/14005977

When I launch the attached it runs for about 10 seconds before it crashes. Hopefully it crashes on your machine too ;) and we can figure out what's wrong in the file.

PreviewAttachmentSize
awesomelinedrawer 2.qtz62.16 KB

cybero's picture
Re: debug Awesome Line Drawer: added Audio Analysis

[10.7.x] - doesn't crash, although I've got problems getting the spectrum values in Soundflower. Problem for me vis a vis Lion and Soundflower on my machine though. Once I got over that little snag with Soundflower I was able to get your composition working well upon my machine, no crash. I think it works better with Kineme Audio Tools, BTW, two separate spectrum wave form outputs, two sets of awesome lines :-)

PreviewAttachmentSize
awesomelinedrawer 2.png
awesomelinedrawer 2.png19.52 KB

photonal's picture
Re: debug Awesome Line Drawer: added Audio Analysis

Does crash for me. Using both QC 32bit & 64bit on 10.6.8

benoitlahoz's picture
Re: debug Awesome Line Drawer: added Audio Analysis

Doesn't crash for me in 10.7.1 - 64bits.

cybero's picture
Re: debug Awesome Line Drawer: added Audio Analysis

Well, I guess that kind of points the fickle finger of fate right at 10.6.8 as being significantly different in how it deals with perfectly good coding and noodling :-) Not sure just what is spitting its dummy out on 10.6.x, what's in the Console. Anything illuminating [like an LED perhaps •~ :-)]. Console's the place to look.

BTW, one thing I've noticed is just how efficient this set up is at running several versions concurrently. Find attached a real Russian doll macro patching with two sets of lines for each spectrum channel [Kineme Audio Tools] and with each set of lines being fed colour values from an HSL interpolated iteration.

I'm looking to eventually exchange the HSL iteration for an RGB colour mixing iteration.

57 - 60 fps - amazing.

PreviewAttachmentSize
awesomelinedrawer 2_a.qtz278.45 KB

photonal's picture
Re: debug Awesome Line Drawer: added Audio Analysis

I'm seeing a lot of Duplicate Class implementations in the Console window. '...One of the two will be used. Which one is undefined.'

Maybe some tidying up in the QC Plugin/Patches directories might help things. When I get round to it :)

cybero's picture
Re: debug Awesome Line Drawer: added Audio Analysis

I don't think that duplicated plugins are going to result in a total crash on gabemott's composition. Duplicated plugins needs a clean up for sure.

Strikes me it is something else other than such duplicates.

Looking through my Console I can see a number of patches | plugins that need to be cleared out or are in a couple of cases, actually duplicates and yet no problem with running the composition or any of the derived variants I've put together .

jersmi's picture
Re: debug Awesome Line Drawer: added Audio Analysis

10.6.8 -- does not crash.

gabemott -- are you using soundflower? i have been having problems with sf for about 6 months. i use plogue bidule and ableton live for audio stuff. porting soundflower signal around is quite buggy/crashy at present. i've been paying attention to how i create aggregate audio devices and i have been keeping soundflower off unless i really need it. haven't looked to see if there's an update, but there was not for a long time (year-ish).

cybero's picture
Re: debug Awesome Line Drawer: added Audio Analysis

Interesting to hear of your success with this posted composition on 10.6.x. I concur that Soundflower can be a trifle unreliable, though I seem to have overcome almost all such problems except with Screenium screen capture. Indeed, using Soundflower through Kineme Audio Tools worked very well indeed.

I shall be posting a screen capture of my work to date with the 'russian doll' macro patch compositional variant I posted earlier which is based upon gabemott's variant of goto's awesome line drawer. Part of it is captured in Snapz Pro - shortly finishing its demo period and partly captured in Screenium.

I've mailed Synium about the problem their product has that seems related directly to Soundflower, however, Snapz Pro seems quite capable of dealing with Soundflower as a sound source, it just treats it as being the active sound track when it is enabled in System Prefs and running Soundflowerbed, just as it does with any currently active audio source.

& - just to happily contradict myself, my latest screen captures, using Soundflower as the sound source is to be found at http://vimeo.com/30283105 and it does exhibit some of those snaps and crackles. More Rice Krispies than audio fidelity :-)

jersmi's picture
Re: debug Awesome Line Drawer: added Audio Analysis

Re: Soundflower, maybe they fixed it for 10.7? At the time (six months back or so) I posted reports on their google code page. I was mostly using it in QC at the time with Kineme AudioTools. I was having to uninstall/reinstall to get it to work. For me: audio problems where it would take over the signal with LOUD glitching dropouts, intermittent behavior in QC, or would not send any signal. Real problems.

cybero's picture
Re: debug Awesome Line Drawer: added Audio Analysis

Well cycling '74 aren't seemingly interested in updating Soundflower.

In the case of Synium, who produce Screenium, they are now a company with a software title that was built from the ground up to be dependent upon Soundflower.

Now that's a real quandry IMHO.

Not without solutions though.