[PD] Dynamic population of a large array

acabrera at teleset.com.co acabrera at teleset.com.co
Tue Jul 27 16:34:44 CEST 2004

Hi all,
I'm trying to build a "spectral delay" and to separate the fft analysis into
"bands" I'm planning on multyplying the output of rfft by arrays (read with
tableread~). These arrays contain as many points as there are fft bins. So my
question is:
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.
Any help is very appreciated, as I cannot think of a simple straigthforward way.


More information about the Pd-list mailing list