Hi. Does anyone know how to convert mpeg to wav?
1 次查看(过去 30 天)
显示 更早的评论
For an assignment of mine I am asked: Random numbers can be used to simulate the noise we hear as static on the radio. By adding this noise to data file that store music, we can study the effect of static on recordings. Create a M-file (script) where you upload a sound file, after that, add noise and check how it impacts the signal.
0 个评论
采纳的回答
Image Analyst
2017-3-11
I don't know how to strip the audio track off a MPEG file using MATLAB. You can do that from the web site: http://peggo.tv/
But attached is a demo where I use rand() to add noise to an audio signal (a .wav file) read in with audioread(). Adapt as needed, for example use inputdlg() to ask the user how much noise they want, or calculate signal to noise ratio, or whatever "checking the impact" means to you.
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Audio I/O and Waveform Generation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!