# HG changeset patch # User matthiasm # Date 1382645198 -3600 # Node ID 641551f3c5e57c34c482ac4de374644a1fbc47f8 # Parent 231ce3da33a67c90114cb1f8cc0c8469d8d6dade little movements diff -r 231ce3da33a6 -r 641551f3c5e5 AudioDegradationToolbox/degradations/ISMIR2013Degradations/pubEnvironment.m --- a/AudioDegradationToolbox/degradations/ISMIR2013Degradations/pubEnvironment.m Thu Oct 24 21:01:22 2013 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,40 +0,0 @@ -function degradation_config = pubEnvironment() -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% Preset: pubEnvironment -% Date of Revision: 2013-04 -% Programmer: Sebastian Ewert -% -% Description: -% - this degradation preset employs -% * degradation_addSound to add some sounds originating from a real -% pub environment -% * adthelper_normalizeAudio to normalize the output audio -% -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% Audio Degradation Toolbox -% -% Centre for Digital Music, Queen Mary University of London. -% This file copyright 2013 Sebastian Ewert, Matthias Mauch and QMUL. -% -% This program is free software; you can redistribute it and/or -% modify it under the terms of the GNU General Public License as -% published by the Free Software Foundation; either version 2 of the -% License, or (at your option) any later version. See the file -% COPYING included with this distribution for more information. -% -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - -degradation_config(1).methodname = 'degradationUnit_addSound'; -degradation_config(1).parameter.loadInternalSound = 1; -degradation_config(1).parameter.internalSound = 'PubEnvironment1'; -degradation_config(1).parameter.snrRatio = 15; % in dB - -degradation_config(2).methodname = 'adthelper_normalizeAudio'; - -end - - - - diff -r 231ce3da33a6 -r 641551f3c5e5 AudioDegradationToolbox/degradations/StrongUnitDegradations/unit_applyImpulseResponse.m --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/AudioDegradationToolbox/degradations/StrongUnitDegradations/unit_applyImpulseResponse.m Thu Oct 24 21:06:38 2013 +0100 @@ -0,0 +1,40 @@ +function degradation_config = pubEnvironment() +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% Preset: pubEnvironment +% Date of Revision: 2013-04 +% Programmer: Sebastian Ewert +% +% Description: +% - this degradation preset employs +% * degradation_addSound to add some sounds originating from a real +% pub environment +% * adthelper_normalizeAudio to normalize the output audio +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% Audio Degradation Toolbox +% +% Centre for Digital Music, Queen Mary University of London. +% This file copyright 2013 Sebastian Ewert, Matthias Mauch and QMUL. +% +% This program is free software; you can redistribute it and/or +% modify it under the terms of the GNU General Public License as +% published by the Free Software Foundation; either version 2 of the +% License, or (at your option) any later version. See the file +% COPYING included with this distribution for more information. +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +degradation_config(1).methodname = 'degradationUnit_addSound'; +degradation_config(1).parameter.loadInternalSound = 1; +degradation_config(1).parameter.internalSound = 'PubEnvironment1'; +degradation_config(1).parameter.snrRatio = 15; % in dB + +degradation_config(2).methodname = 'adthelper_normalizeAudio'; + +end + + + + diff -r 231ce3da33a6 -r 641551f3c5e5 demo_batchProcessing.m --- a/demo_batchProcessing.m Thu Oct 24 21:01:22 2013 +0100 +++ b/demo_batchProcessing.m Thu Oct 24 21:06:38 2013 +0100 @@ -53,7 +53,9 @@ 'unit_applyClippingAlternative', ... 'unit_applyHarmonicDistortion', ... 'unit_applyMp3Compression', ... - 'unit_applySpeedup'}; + 'unit_applySpeedup', ... + 'unit_applyWowResampling',... + 'unit_applyDelay'}; nDegradation = length(degradationnames); %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%