Mercurial > hg > audio-degradation-toolbox
annotate AudioDegradationToolbox/degradations/StrongUnitDegradations/unit_applyDynamicRangeCompression.m @ 28:76f45f5c9afd DoP tip
- added units
* adaptiveEqualizer
* applyMfccMeanAdaption
- added corresponding data files for presets
- modified applyImpulseReponse to use the estimated average group delay to adjust
the output audio and keep the timestamps as is (was vice versa before)
- added new units demos, incl one for applyLowpass
author | SebastianEwert |
---|---|
date | Tue, 21 Jan 2014 18:08:28 +0000 |
parents | c3a002ed2815 |
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 |