How to add White noise to wav file

3 views (last 30 days)
Roro
Roro on 13 Dec 2018
Answered: Mark Sherstan on 13 Dec 2018
Hi everyone
I'm new in matlab and I have a question if any kind person can help me with please
I have 50 wav files that contain speech, I want use matlab to do the following
  1. First read these files wav
  2. then add White Gaussin noise to them in six different signal-to-noise ratio (SNR) levels
  3. if I want matlab to select 10 rundom wav files from these 50, is this possible?
Thanks in advance

Answers (1)

Mark Sherstan
Mark Sherstan on 13 Dec 2018
This should answer your questions:
  1. Use the function audioread
  2. Use the function awgn
  3. Look at this question/answer for randomly picking files
This is all very possible! Let us know if you have further questions after reading through the resources, good luck.

Community Treasure Hunt

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

Start Hunting!