Re: Decaying sounds synthesis with PWM

Originally Posted by
amaze1
Hello everyone
Anyone knows if is possible to emulate decaying sounds like gong, bells, music boxes (carillon) etc using only the PWM output ?
I know such sound are basically tones with exponentially decaying envelope and wondering if their spectrums can be somewhat emulated with appropriate modulation of frequency and/or duty cycle of a PWM output (say the PIC PWM module) without using an external Programmable Gain Amplifier for the envelope.
I can barely remember someone did it with an attiny15 or so ...
I use the SOUND command for my DINGs and DONGs
. It works ok for me.
"No one is completely worthless. They can always serve as a bad example."
Anonymous
Bookmarks