Mercurial > hg > audio-degradation-toolbox
changeset 18:641551f3c5e5
little movements
author | matthiasm |
---|---|
date | Thu, 24 Oct 2013 21:06:38 +0100 |
parents | 231ce3da33a6 |
children | 267812a4621a |
files | AudioDegradationToolbox/degradations/ISMIR2013Degradations/pubEnvironment.m AudioDegradationToolbox/degradations/StrongUnitDegradations/unit_applyImpulseResponse.m demo_batchProcessing.m |
diffstat | 3 files changed, 43 insertions(+), 41 deletions(-) [+] |
line wrap: on
line diff
--- 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 - - - -
--- /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 + + + +
--- 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); %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%