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.
Yours,
Kas.