How to change SNR value of noise signal?
3 views (last 30 days)
Show older comments
I have clean speech samples and environmental noise samples. I need to add noise to clean speech at different SNR levels. How can I change SNR value of noise samples?
0 Comments
Answers (3)
Greg Heath
on 26 May 2018
Multiply the noise samples by a constant before adding to the signal.
Thank you for formally accepting my answer
Greg
0 Comments
Siddhesh Karbhari
on 26 May 2018
1 Comment
Image Analyst
on 26 May 2018
Since you said "I need to add noise" you would do this:
yNoisy = y + noiseSignal;
Siddhesh Karbhari
on 26 May 2018
1 Comment
Image Analyst
on 26 May 2018
Greg did. Did you overlook his answer? He said to multiply your noise signal by some amplification factor before adding:
yNoisy = yNoise + amplitude * noiseSignal;
By the way, a signal will have an SNR - a "QUT-Noise" signal will not. Noise alone has no SNR, or it's basically zero, since there is all noise (only noise by definition) and no signal. So you should not use terminology like "SNR of the noise".
See Also
Categories
Find more on Simulation, Tuning, and Visualization in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!