Yeah, I have a lot of numbers being thrown at me, sometimes invoking the same formula that Martin gave. I guess empirical testing is the only way to know...
BTW, someone on the Synth-DIY list just created a new Arduino + analog synth Yahoo group, in case anyone's interested:
http://groups.yahoo.com/group/arduino_synth/
Best! D>
Hans-Christoph Steiner wrote:
I have 30kHz burned in my brain, but I don't have a reference.
You could try setting the PWM at 50% duty cycle, hooking it up via big capacitor (to filter the DC) to a speaker. Then compare the sound to a square wave generated by Pd.