I tried to add noise with randn function but its not filtered by butter filter. How to add high frequency noise in a .wav audio so that I can filter it with butterworth filter?

3 次查看(过去 30 天)
%Butterworth filter design
n=10;
wn=0.4;
[a b]=butter(n,wn,'low');
%Reading Audio Signal
[Data,fs,nbits] = wavread('sound');
Data=Data(:,1)';
NoiseData=Data+.005*randn(size(Data));
wavplay(NoiseData,fs)
DataOut=filter(a,b,NoiseData);

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Audio Processing Algorithm Design 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by