Mercurial > hg > audio-degradation-toolbox
diff demo_degradationUnits.m @ 7:2b3fe176c94c
new wav testdata, and respective update of demo scripts
author | matthiasm |
---|---|
date | Wed, 21 Aug 2013 18:19:51 +0100 |
parents | a4173509bc43 |
children | 75ea9e8bcd88 |
line wrap: on
line diff
--- a/demo_degradationUnits.m Wed Aug 21 18:18:28 2013 +0100 +++ b/demo_degradationUnits.m Wed Aug 21 18:19:51 2013 +0100 @@ -33,10 +33,11 @@ 'testdata/RWC_G84.wav'; 'testdata/RWC_P009m_drum.wav'; 'testdata/RWC-C08.wav'; - 'testdata/cello.wav'; + 'testdata/session5-faure_elegie2c-001-0.wav'; + 'testdata/175234__kenders2000__nonsense-sentence.wav'; }; -createSpectrograms = 0; +createSpectrograms = 1; %% % just copying original files to the demo folder @@ -76,7 +77,7 @@ parameter.snrRatio = 10; % in dB parameter.loadInternalSound = 1; - parameter.internalSound = 'OldDustyRecording'; + parameter.internalSound = 'PubEnvironment1'; f_audio_out = degradationUnit_addSound(f_audio, samplingFreq, [], parameter); wavwrite(f_audio_out,samplingFreq,16,fullfile(pathOutputDemo,sprintf('Unit_02_addSound_file%d.wav',k)));