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 ...