Play an audio file with different volume
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
How i can write program to play an audio file with different volumes such that
- double the volume
- unchanged the volume
- half the volume
0 Commenti
Risposte (1)
Star Strider
il 4 Lug 2020
Use the sound function with the appropriate multiplicaiton factor. (Note, there is no guarantee that the result will not be clipped or otherwise distorted.)
Also see Play Audio for other options. (I am not certain if play automatically scales the output. I know that sound does not.)
0 Commenti
Vedere anche
Categorie
Scopri di più su Audio and Video Data in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!