0 Members and 1 Guest are viewing this topic.
You can use pwm or you could use external hardware like a digital to analog converter with a 2 wire interface.
So for PWM it will really be 36,000 writes to the link port per second? And if I am doing PWM at 18KHz, won't the noise from that be audible?
Quote from: fb39ca4 on December 22, 2013, 10:53:27 pmSo for PWM it will really be 36,000 writes to the link port per second? And if I am doing PWM at 18KHz, won't the noise from that be audible?From my experience, 18KHz is about the minimum frequency you can use and not be able to hear it. If I moved my head around, I could hear doppler effects, but sitting still it sounded fine. I was 18 when I decided this, so take that as a reference because the younger you are, the higher the frequency you can hear. If you use 20KHz, you should be safe with all age groups.Edit: Also, what really sucks when you start doing sound is that you find out that not all calculators run at the same clock rate. Your range is basically 14.5MHz - 17.0MHz