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!