[PD] problem with array?

IOhannes m zmoelnig zmoelnig at iem.at
Wed Oct 19 12:57:27 CEST 2005


Rory Walsh wrote:
> can anyone help? 

your problem is, that [tabwrite] quantizes along the x-axis: writing to 
2.1 or 2.9 is the same as writing to 2.
so the value that is actually stored at each point is "sin((i+0.9)*2pi)" 
which is sin(i*2pi+phi) , with i = integer; since sin() wraps at 2pi you 
always have the same value.

try using *pi/180 instead of *2pi.

btw, for your example you need 2 externals, while none is necessary.


mfg.asd.r
IOhannes


> Rory.
> 




More information about the Pd-list mailing list