Creating sounds with changing amplitude
古いコメントを表示
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.
採用された回答
その他の回答 (1 件)
Image Analyst
2023 年 1 月 26 日
0 投票
See attached demo where I vary both the pitch and amplitude of a sound waveform according to mathematical formulas.

カテゴリ
ヘルプ センター および File Exchange で Signal Import and Export についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!





