Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Audio Input



From: Yehuda Landsman <email@hidden>
Is there any way I can limit the frequency of how often the audio input patch provides samples? I want to create a composition driven by audio, but as it is raw, the image changes too frequently. My gut feeling is that this can be accomplished somehow using a conditional, but I haven't been able to figure out how.

Try the attached Sample and Hold patch. It is essentially a JavaScript patch that checks the current time, putting the input on the output whenever a supplied interval passes.


I'm not sure how this could be done outside of a JavaScript patch. Using an LFO patch with a conditional might work, however if the condition is too strict (must equal 1.0) the condition might be missed during a frame. If the condition is too lax (must be greater than 0.9) you'll get a flurry of samples every interval. The JavaScript takes care of that.

Attachment: Sample and Hold.qtz
Description: application/quartzcomposer


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.