Hello - Is there a way to query the size of an array? I'm playing samples from arrays, and I've discovered the -resize flag to the "read" message that I give to soundfiler which allows the array to change size dynamically to match the wav file. Now I'm interested in formulating my message to tabread4 dynamically, depending on the size of the array. much appreciated, David Merrill
Check out the [arraysize] object. Its in the CVS and the packages based on the CVS (MacOS X, Debian, Windows).
.hc
On Sunday, Apr 11, 2004, at 14:25 America/New_York, David Merrill wrote:
Hello - Is there a way to query the size of an array? I'm playing samples from arrays, and I've discovered the -resize flag to the "read" message that I give to soundfiler which allows the array to change size dynamically to match the wav file. Now I'm interested in formulating my message to tabread4 dynamically, depending on the size of the > array. much appreciated, David Merrill
PD-list mailing list PD-list@iem.at http://iem.at/cgi-bin/mailman/listinfo/pd-list
http://at.or.at/hans/
soundfiler's output will tell you how many samples it has loaded into the array.
David Merrill wrote:
Hello - Is there a way to query the size of an array? I'm playing samples from arrays, and I've discovered the -resize flag to the "read" message that I give to soundfiler which allows the array to change size dynamically to match the wav file. Now I'm interested in formulating my message to tabread4 dynamically, depending on the size of the array. much appreciated, David Merrill
PD-list mailing list PD-list@iem.at http://iem.at/cgi-bin/mailman/listinfo/pd-list