Sound generation using exponentially decreasing sine signal | Learn with Fun

Code:

t=0:1/22400:5;
x=2*exp(-t).*sin(2*100*pi*t);
sound(x,22400);

We can clearly understand that the sound is slowly decreasing like the plot of the function.

No comments