Professional Documents
Culture Documents
Combine Clean Speach With Noise Code
Combine Clean Speach With Noise Code
CombineCleanSpeachwithNoiseCode
% Name Files
noiseFile = 'rainNoise.mp3'; % Change names for each kind of samples
outputNoise = 'rainNoiseReal.wav';
sn_noise = 'realWithRain.wav';
% Read Noise
[n,nfs] = audioread(noiseFile);
[s,sfs] = audioread('speechSample.mp3'); % Read clean Speach
%s = (s(:,1)+s(:,2));
n = (n(:,1)+n(:,2));
PublishedwithMATLABR2017a
le:///Users/Y/Desktop/Google%20%E4%BA%91%E7%AB%AF%E7%A1%AC%E7%9B%98/EECS%20351/EECS351%20Project/Final/Code_TO_SUBMIT_V3/h 1/2