How to add White noise to wav file

3 次查看(过去 30 天)
Roro
Roro 2018-12-13
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

回答(1 个)

Mark Sherstan
Mark Sherstan 2018-12-13
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!

Translated by