[PD] square wave object?

derek holzer derek at x-i.net
Sat Apr 9 12:57:38 CEST 2005


Hi Paris,

Paris Treantafeles wrote:
 > i see that PD has cosine and sawtooth objects.
 > is there a square wave object?
 > or do you use tables to create them?

If you search the archive, you'll find two very mathematical threads on 
this under the headers "square wave osc & pwm" and "band limited square 
wave". The trouble with many of the mathmatical methods of doing this in 
PD is that it is not anti-aliased, so you will get some aliased 
frequencies which would not be present in a true square wave.

If you are on Linux, I would recommend using the [plugin~] object with 
the BLOP LADSPA plugins. They have a beautiful "analog" sound, can be 
pulse-width-modulated, and best of all are bandwidth-limited to get rid 
of the nasty little "birdies".

good luck,
d.



-- 
derek holzer ::: http://www.umatic.nl
---Oblique Strategy # 96:
"Is the intonation correct?"




More information about the Pd-list mailing list