i see that PD has cosine and sawtooth objects. is there a square wave object? or do you use tables to create them?
thanks, p
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?
Some methods:
1: You can create a rectangular wave by subtracting two sawtooth waves that have different phases, vary the phase difference to change the proportion of high and low in the wave, at a particular phase you have a square wave.
2: You can [clip~] a cosine wave, various amounts of pre-clip amplification change the "hardness" of the square wave. The Zexy library also has [>~].
table osc but I've forgotten its exact name).
Note:
phasor~ is not band-limited, which means aliasing distortion can be audible, if you're using it as an audio oscillators. I think there are band-limited oscillator LADSPA plugins if you use Linux.
thanks for the ideas. i will try out the first three today. later when i install linux, i will look at the LADSPA plugins.
-p
On Saturday, April 9, 2005, at 02:46 AM, ClaudiusMaximus wrote:
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?
Some methods:
1: You can create a rectangular wave by subtracting two sawtooth waves that have different phases, vary the phase difference to change the proportion of high and low in the wave, at a particular phase you have a square wave.
2: You can [clip~] a cosine wave, various amounts of pre-clip amplification change the "hardness" of the square wave. The Zexy library also has [>~].
- You can use tables with [tabread~] or [tabread4~] (there is also a
table osc but I've forgotten its exact name).
Note:
phasor~ is not band-limited, which means aliasing distortion can be audible, if you're using it as an audio oscillators. I think there are band-limited oscillator LADSPA plugins if you use Linux.
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
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.
Hi Derek,
Thanks for the leads. I'm mostly using mac os x but have recently obtained a used dell laptop and am planning to put a linux distro on it so i'll keep in mind the LADSPA plugins as well.
Best, p
On Saturday, April 9, 2005, at 06:57 AM, derek holzer wrote:
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?"
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Hallo, Paris Treantafeles hat gesagt: // Paris Treantafeles wrote:
I'm mostly using mac os x but have recently obtained a used dell laptop and am planning to put a linux distro on it so i'll keep in mind the LADSPA plugins as well.
Tom Schouten's Creb external library contains some very nice band limited oscillators, too.
Frank Barknecht _ ______footils.org__
_ __latest track: "scans" _ http://footils.org/cms/show/41