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
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
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...
xrecord?
t
I was trying to achieve this with a phasor~. Frequency and amplification correspond to the array's size. The phase is set to 0 at the start of the writing and a snapshot~ is triggered at the end.
But according to Miller's response this won't be exact either...
Urs
Hans-Christoph Steiner schrieb:
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