How do you calculate the difference in noise between two audio signals?
5 次查看(过去 30 天)
显示 更早的评论
Hi
I have two signals that are created from audio files using the audioread function.
The first is the original signal. The second has information I have hidden in it using steganography.
I'd like a way of quantifying the differnce other than just listening or plotting the sounds.
I think this should be a measure of noise - but the difference between the two?
Suggestions or help very welcome!
1 个评论
Paul Hoffrichter
2021-2-15
编辑:Paul Hoffrichter
2021-2-15
>> This is a completely different approach than the one I was considering
Not sure I understand what you are looking for. Could you elaborate on what you were considering?
The hidden signal is not noise. You and the recipient know everything needed to reconstruct the hidden signal.
E.g., One simple approach: New Signal = Music signal + hidden signal.
To recover this,
hidden signal = Signal - Music signal (known to recipient).
What metric are you looking for - SNR? https://www.mathworks.com/help/signal/ref/snr.html
回答(1 个)
Rishabh Mishra
2020-9-3
Hi,
I am assuming that the original audio signal is named ‘org’ & the modified (through steganography) audio signal is named ‘mod’.
Now, it is to be understood that noise is not a characteristic (like frequency, amplitude etc.) of sound (or in this case, audio signal), so it is not possible for any kind of software or electronic tool to straightaway extract noise from an audio signal unlike amplitude, frequency etc.
However, we can apply various filtering techniques to an audio signal. Say, after applying filtering to ‘org’ & ‘mod’, the filtered signals obtained are ‘filter_org’ & ‘filter_mod’. You can remove the filtered components from original audio signals, what you are left with is the noise itself, use these noise audio signals to serve your purpose.
Disclaimer: every filtering technique may give slightly different kind of filtered audio signal & therefore, noise obtained from each of the filter will be different.
To know more about noise filtering in MATLAB, refer the following links:
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Signal Processing Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!