Hi. Does anyone know how to convert mpeg to wav?

1 Ansicht (letzte 30 Tage)
Refat Chowdhury
Refat Chowdhury am 11 Mär. 2017
Beantwortet: Image Analyst am 11 Mär. 2017
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.

Akzeptierte Antwort

Image Analyst
Image Analyst am 11 Mär. 2017
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.

Weitere Antworten (0)

Kategorien

Mehr zu Audio I/O and Waveform Generation finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by