Ah, right, the sample rate. Thanks, Tom -- I might take you up on the code offer at a later date.
So given the spectral resolution of the built-in audio patch (or Kineme's), how can I get something like in my little diagram? The Audio Processor custom patch spits out normalized readings for highs/mids/lows but my Javascript skills are woefully inadequate to the task of combining its output into a rough pitch meter. Sometimes I really wish I'd majored in CS.... thanks, dan On Mar 17, 2010, at 1:13 PM, Tom Butterworth wrote: > To calculate pitch you would need to sample the audio stream at a rate much > higher than QC's frame-rate, so this would have to be done in a custom plugin. > > I started on a plugin once to reads audio input for a similar use. Give a > shout if that code would be of any use to you. > > Cheers, Tom > > On 17 Mar 2010, at 17:06, Dan Winckler wrote: > >> Hi folks, >> >> I have been struggling to set up meaningful pitch-tracking in QC, e.g., take >> a relatively clean audio signal from a solo instrument and map its pitch, >> roughly, to an arbitrary range (0 to 1). I have tried various approaches >> with QC's built-in audio patches, Kineme's audio tools, and a variety of >> Javascript patches (get a mean from an array of values, etc). No dice. If >> any of you have any suggestions as to how to do this, I would be glad to >> hear them. >> >> Diagrammatic Visual Aid for Elucidation of the Subject in Question: >> >> [ audio input ] --> [ ???? ] --> [ 0 to 1 ] --> [ the color of a sprite, >> yay! woohoo! ] >> >> thanks, >> cheers, >> dan >> >> >> _______________________________________________ >> Do not post admin requests to the list. They will be ignored. >> Quartzcomposer-dev mailing list ([email protected]) >> Help/Unsubscribe/Update your Subscription: >> http://lists.apple.com/mailman/options/quartzcomposer-dev/bangnoise%40gmail.com >> >> This email sent to [email protected] > _______________________________________________ Do not post admin requests to the list. They will be ignored. Quartzcomposer-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com This email sent to [email protected]

