[chuck-users] dur frame?

Tom Lieber lieber at princeton.edu
Thu Jan 29 01:25:15 EST 2009


2009/1/29 Kassen <signal.automatique at gmail.com>:
> 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.

How large is n usually in your projects?

-- 
Tom Lieber
http://AllTom.com/


More information about the chuck-users mailing list