Hallo, Hans-Christoph Steiner hat gesagt: // Hans-Christoph Steiner wrote:
Aliasing/foldover is a much bigger concern with this naive kind of PWM/rectangle wave generation in Pd.
Aliasing is not so relevant for the quick and dirty PWM control
signal. But it would be nice to have a clean signal. I suppose I
should put a low pass to prevent that.Or does someone have a better algorithm for a bandwidth limited PWM?
A lowpass alone doesn't prevent foldover, because the frequencies that have folded over are already lower than the highest frequencies you want to keep. Miller's book has some approaches to fight foldover here and ff.: http://crca.ucsd.edu/~msp/techniques/latest/book-html/node188.html
Frank Barknecht _ ______footils.org_ __goto10.org__