Mercurial > hg > audio-degradation-toolbox
annotate AudioDegradationToolbox/degradations/StrongUnitDegradations/unit_applyDynamicRangeCompression.m @ 14:c3a002ed2815
adding more and more unit degradations with strong settings as degradations
author | matthiasm |
---|---|
date | Thu, 24 Oct 2013 20:40:56 +0100 |
parents | |
children |
rev | line source |
---|---|
matthiasm@14 | 1 function degradation_config = unit_applyDynamicRangeCompression() |
matthiasm@14 | 2 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
matthiasm@14 | 3 % Preset: applyDynamicRangeCompression |
matthiasm@14 | 4 % Programmer: Matthias Mauch |
matthiasm@14 | 5 % |
matthiasm@14 | 6 % Description: |
matthiasm@14 | 7 % Parametrisation of the Degradation Unit of the same name |
matthiasm@14 | 8 % |
matthiasm@14 | 9 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
matthiasm@14 | 10 |
matthiasm@14 | 11 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
matthiasm@14 | 12 % Audio Degradation Toolbox |
matthiasm@14 | 13 % |
matthiasm@14 | 14 % Centre for Digital Music, Queen Mary University of London. |
matthiasm@14 | 15 % This file copyright 2013 Sebastian Ewert, Matthias Mauch and QMUL. |
matthiasm@14 | 16 % |
matthiasm@14 | 17 % This program is free software; you can redistribute it and/or |
matthiasm@14 | 18 % modify it under the terms of the GNU General Public License as |
matthiasm@14 | 19 % published by the Free Software Foundation; either version 2 of the |
matthiasm@14 | 20 % License, or (at your option) any later version. See the file |
matthiasm@14 | 21 % COPYING included with this distribution for more information. |
matthiasm@14 | 22 % |
matthiasm@14 | 23 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
matthiasm@14 | 24 |
matthiasm@14 | 25 degradation_config(1).methodname = 'degradationUnit_applyDynamicRangeCompression'; |
matthiasm@14 | 26 degradation_config(1).parameter.compressorSlope = 0.9; |
matthiasm@14 | 27 degradation_config(1).parameter.normalizeOutputAudio = 1; |
matthiasm@14 | 28 |
matthiasm@14 | 29 degradation_config(2).methodname = 'adthelper_normalizeAudio'; |
matthiasm@14 | 30 |
matthiasm@14 | 31 end |