Consider that digital audio is represented simply as instantaneous pressure values for the speaker membrane. This problem is actually quite common when you change from a positive or negative pressure value to a null crossing in the space of one sample.
The solution is to use some kind of envelope generator scaling before passing your audio output to the [dac~].
./d5
On Nov 28, 2006, at 9:01 AM, hard off wrote:
has anybody else experienced small clicks every now and then from pd's oscillators?
i have noticed it before with [phasor~], and today i was getting it pretty badly with [cos~]..about 1 click every 10 seconds.
this is nothing to do with the contents of the patch, because just a [cos~] connected to a [dac~] was making the same thing happen. ...it's nothing to do with dac~ or my sound hardware either, because disconnecting the [cos~] from the [dac~] stopped the clicks.
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list