AEDynamicsProcessorModule.h
Go to the documentation of this file.
1 //
2 // AEDynamicsProcessorModule.h
3 // The Amazing Audio Engine
4 //
5 // Created by Jeremy Flores on 4/25/13.
6 // Copyright (c) 2015 Dream Engine Interactive, Inc and A Tasty Pixel Pty Ltd. All rights reserved.
7 //
8 // This software is provided 'as-is', without any express or implied
9 // warranty. In no event will the authors be held liable for any damages
10 // arising from the use of this software.
11 //
12 // Permission is granted to anyone to use this software for any purpose,
13 // including commercial applications, and to alter it and redistribute it
14 // freely, subject to the following restrictions:
15 //
16 // 1. The origin of this software must not be misrepresented; you must not
17 // claim that you wrote the original software. If you use this software
18 // in a product, an acknowledgment in the product documentation would be
19 // appreciated but is not required.
20 //
21 // 2. Altered source versions must be plainly marked as such, and must not be
22 // misrepresented as being the original software.
23 //
24 // 3. This notice may not be removed or altered from any source distribution.
25 //
26 
27 #ifdef __cplusplus
28 extern "C" {
29 #endif
30 
31 #import <Foundation/Foundation.h>
32 #import "AEAudioUnitModule.h"
33 
35 
36 - (instancetype _Nullable)initWithRenderer:(AERenderer * _Nullable)renderer;
37 
39 @property (nonatomic) double threshold;
40 
42 @property (nonatomic) double headRoom;
43 
45 @property (nonatomic) double expansionRatio;
46 
47 // Value is in dB.
48 @property (nonatomic) double expansionThreshold;
49 
51 @property (nonatomic) double attackTime;
52 
54 @property (nonatomic) double releaseTime;
55 
57 @property (nonatomic) double masterGain;
58 
59 @property (nonatomic, readonly) double compressionAmount;
60 @property (nonatomic, readonly) double inputAmplitude;
61 @property (nonatomic, readonly) double outputAmplitude;
62 
63 @end
64 
65 #ifdef __cplusplus
66 }
67 #endif