littletransistor
New Member
Hello there,
Recently, out of boredom, I managed to construct myself a simple programmable tone-generator with a microcontroller, and a R-2R DAC is hooked on it. The output is then, of course, amplified.
I started out with a 440Hz sine wave tone with a decay envelope generator inside, without the amplifier. It sounds like a chime. It's just as it is intended.
However, hooking this up with an amplifier (LM386, or the one-quarter of LM324 opamp) give a warped and/or distorted tone, with the decay element not heard anymore, and the tone has been a bit off-key.
By the way, I programmed the system to give out samples every each 31.25µ-seconds, or 32KHz sampling rate to the DAC.
What could be the problem? Must I use a full chip-based DAC, or must I use an amplifier that can accept higher frequencies?
Thanks.
Recently, out of boredom, I managed to construct myself a simple programmable tone-generator with a microcontroller, and a R-2R DAC is hooked on it. The output is then, of course, amplified.
I started out with a 440Hz sine wave tone with a decay envelope generator inside, without the amplifier. It sounds like a chime. It's just as it is intended.
However, hooking this up with an amplifier (LM386, or the one-quarter of LM324 opamp) give a warped and/or distorted tone, with the decay element not heard anymore, and the tone has been a bit off-key.
By the way, I programmed the system to give out samples every each 31.25µ-seconds, or 32KHz sampling rate to the DAC.
What could be the problem? Must I use a full chip-based DAC, or must I use an amplifier that can accept higher frequencies?
Thanks.