Creating sounds with changing amplitude
Mostrar comentarios más antiguos
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.
Respuesta aceptada
Más respuestas (1)
Image Analyst
el 26 de En. de 2023
0 votos
See attached demo where I vary both the pitch and amplitude of a sound waveform according to mathematical formulas.

Categorías
Más información sobre Signal Import and Export en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!





