I struggle to understand all params of Apple's Dynamic Processor Audio Unit (kAudioUnitSubType_DynamicsProcessor).
In most Audio Editing apps (Garage Band etc), Compressor (aka Dynamic Processor) has a "ratio" and "knee" knob.
- There is no 'knee' parameter in Apple's Dynamic Processor. There's a
kDynamicsProcessorParam_ExpansionThreshold- is that what people are referring asknee? - There is a
kDynamicsProcessorParam_ExpansionRatiobut I noticed additional comment about it:
Note that the dynamics processor does not have fixed compression ratios. Instead,
kDynamicsProcessorParam_HeadRoomadjusts the amount of compression. LowerkDynamicsProcessorParam_HeadRoomvalues results in higher compression. The compression ratio is automatically adjusted to not exceedkDynamicsProcessorParam_Threshold + kDynamicsProcessorParam_HeadRoomvalues.
I dont fully understand how to interpret headRoom. Is it ok if I just set expansionRatio or should I only set headRoom?
Can you please help me understand which parameters should I adjust when the user is using a "Ratio" knob in UI?
For anyone struggling to understand kAudioUnitSubType_DynamicsProcessor or other kAudioUnitType_Effect types, you can play around with these in Garage Band by first enabling Audio Unit effects, then adding them to a track: