matthiasm@14: function degradation_config = unit_applyDynamicRangeCompression() matthiasm@14: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% matthiasm@14: % Preset: applyDynamicRangeCompression matthiasm@14: % Programmer: Matthias Mauch matthiasm@14: % matthiasm@14: % Description: matthiasm@14: % Parametrisation of the Degradation Unit of the same name matthiasm@14: % matthiasm@14: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% matthiasm@14: matthiasm@14: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% matthiasm@14: % Audio Degradation Toolbox matthiasm@14: % matthiasm@14: % Centre for Digital Music, Queen Mary University of London. matthiasm@14: % This file copyright 2013 Sebastian Ewert, Matthias Mauch and QMUL. matthiasm@14: % matthiasm@14: % This program is free software; you can redistribute it and/or matthiasm@14: % modify it under the terms of the GNU General Public License as matthiasm@14: % published by the Free Software Foundation; either version 2 of the matthiasm@14: % License, or (at your option) any later version. See the file matthiasm@14: % COPYING included with this distribution for more information. matthiasm@14: % matthiasm@14: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% matthiasm@14: matthiasm@14: degradation_config(1).methodname = 'degradationUnit_applyDynamicRangeCompression'; matthiasm@14: degradation_config(1).parameter.compressorSlope = 0.9; matthiasm@14: degradation_config(1).parameter.normalizeOutputAudio = 1; matthiasm@14: matthiasm@14: degradation_config(2).methodname = 'adthelper_normalizeAudio'; matthiasm@14: matthiasm@14: end