Creating sounds with changing amplitude
Afficher commentaires plus anciens
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.
Réponse acceptée
Plus de réponses (1)
Image Analyst
le 26 Jan 2023
0 votes
See attached demo where I vary both the pitch and amplitude of a sound waveform according to mathematical formulas.

Catégories
En savoir plus sur Audio Processing Algorithm Design dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!





