In an analog synth the square wave has some distortion to it: the rise is not instantaneous and there is some overshoot of the peak too.  Over the years this was minimized by using high slew rate amp circuits and the like so an old Moog pulse wave is less ideal in shape than a new one.<br>
<br>For a digital square wave you would want to use band limiting to avoid alias artifacts which are quite severe for a square or sawtooth wave.  As the frequency goes higher both of those waves will begin to look more like sine waves as the partials are filtered out.  Pretty much every commercial digital synth and plugin uses anti-aliased waveforms.<br>
<br><div class="gmail_quote">On Mon, Feb 6, 2012 at 8:31 AM, Pierre Massat <span dir="ltr">&lt;<a href="mailto:pimassat@gmail.com">pimassat@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Dear List,<br><br>I need a square wave to use as an LFO in a ring mod patch. Though i could simply use [expr~ $v1&gt;0.5], I m wondering if I could get a smoother square wave. I tried to use a bandlimited square wave, but I don&#39;t have enough harmonics and the top of the wave isn&#39;t flat enough. Incidentally, what do analog square waves from old synths look like? Anyway, I think i want a square wave with no jumps between 0 and 1.<br>

<br>Cheers!<span class="HOEnZb"><font color="#888888"><br><br>Pierre.<br>
</font></span><br>_______________________________________________<br>
<a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
<br></blockquote></div><br>