Creating sounds with changing amplitude
Show older comments
I am trying to making sounds that simulate approaching noises. I want to create a 2 second 440 Hz sine wave that changes in amplitude (pure tone that gets louder over time). I need to get this change in amplitude two ways: 1) linearly where the change in amplitude is constant. And 2) where the change in amplitude is 1/((20*time)^2).
Is there a way to specify change in amplitude using equations? Thanks in advance.
Accepted Answer
More Answers (1)
Image Analyst
on 26 Jan 2023
0 votes
See attached demo where I vary both the pitch and amplitude of a sound waveform according to mathematical formulas.

Categories
Find more on Signal Import and Export in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!




