Timer is the only simple way to do it... unfortunately, tabwrite~ starts and stops on DSP boundaries which don't correspond directly to timer~ output. You can sync the starting and stopping to the DSP cycle using bang~, but that will generate a message every DSP tick.
cheers Miller
want to add an object to find out when the most recent DSP tick was
On Sat, Jul 16, 2005 at 05:26:18PM -0400, Hans-Christoph Steiner wrote:
I am recording to an array using [tabwrite~] and I would like to know how many samples have been written after I send the [stop( message to [tabwrite~]. Right now, I am using a [timer], but there seems like there should be a better way...
.hc
There is no way to peace, peace is the way. -A.J. Muste
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list