How to change SNR value of noise signal?
2 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
回答 (3 件)
Greg Heath
2018 年 5 月 26 日
Multiply the noise samples by a constant before adding to the signal.
Thank you for formally accepting my answer
Greg
0 件のコメント
Siddhesh Karbhari
2018 年 5 月 26 日
1 件のコメント
Image Analyst
2018 年 5 月 26 日
Since you said "I need to add noise" you would do this:
yNoisy = y + noiseSignal;
Siddhesh Karbhari
2018 年 5 月 26 日
1 件のコメント
Image Analyst
2018 年 5 月 26 日
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".
参考
カテゴリ
Help Center および File Exchange で Simulation, Tuning, and Visualization についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!