[PD] Dynamic population of a large array
IOhannes m zmoelnig
zmoelnig at iem.at
Tue Jul 27 18:07:48 CEST 2004
acabrera at teleset.com.co wrote:
> Hi all,
> Is there a quick way to populate arrays (1024 points in size) so that between
> x-value 'a' and x-value 'b' I have a y-value of 1, while the rest of the array
> is set to 0? I also want to be able control the values of a and b, so the band
> can be changed dynamically.
while georg is right with pointing at specialized libraries (an IEMtab
is coming too), such simple operations can also be achieved with plain
pd: think of combining [tabwrite] and [until] (and some knowledge of
counters...)
mfg.as.dr
IOhannes
More information about the Pd-list
mailing list