[PD] Filling arrays

Carlos Pita carlosjosepita at yahoo.com.ar
Wed Apr 20 05:53:38 CEST 2005


Hi!
Do you know how can I fill an arbitrarily
sized array with a line strip? The goal
is to write square, sawtooth, triangular
and other simple waves like that and then
loop with tabread4~. The array size
can be reconfigured, so I don't want to
load the table from a presampled file
but instead to resample it from the original
function when the array is resized.
Doing it with line~ is too awkward,
scheduling delays and like that, and
I guess timing will be wrong cause
delays are triggered during control
phase, which in general won't be
exactly when desired except in case
that block size == 1. Is there any object
which outputs a strip of line segments?
Or perhaps a message to fill the
array alla cosinesum?
Thank you in advance.
Regards,
Carlos





More information about the Pd-list mailing list