[chuck-users] dur frame?

Kassen signal.automatique at gmail.com
Thu Jan 29 00:57:36 EST 2009

Fellow ChucKists,

suppose we have a stream of data coming in over HID (or MIDI or whatever).
Suppose we wish to have something done based on the data that came in over
the last frame and we want to make sure this gets done before the next frame
starts and hence before any new data could come in. This would be useful to
create smooth transitions based on HID data at the expense of lagging one
frame. How would we go about this?

I don't think we can without introducing "magic numbers" based on our
settings. I'd like to propose the introduction of a duration named "frame"
of a length of a "n::samp" where n is the size of a single frame in samples.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cs.princeton.edu/pipermail/chuck-users/attachments/20090129/3ad2a75e/attachment.html>

More information about the chuck-users mailing list