Setting the parameters of a AudioUnit Reverb
Setting the parameters of a AudioUnit Reverb
- Subject: Setting the parameters of a AudioUnit Reverb
- From: email@hidden
- Date: Tue, 07 Aug 2012 18:12:06 +0200 (CEST)
Hi,
I have a AudioUnit Reverb in a Audio Unit graph and it processes the audio data well (nice reverberated sound in the speakers). But I am having trouble settings the parameters of the effects. The only paraemter I can set is the DryWet setting. The other ones fails to be modified.
So the following works:
AudioUnitSetParameter(reverbUnit,kAudioUnitScope_Global,0,kReverb2Param_DryWetMix,50,0);
But not these ones:
AudioUnitSetParameter(reverbUnit,kAudioUnitScope_Global,0,kReverb2Param_DecayTimeAt0Hz,4.0,0); AudioUnitSetParameter(reverbUnit,kAudioUnitScope_Global,0,kReverb2Param_DecayTimeAtNyquist,4.0,0);
AudioUnitSetParameter(reverbUnit,kAudioUnitScope_Global,0,kReverb2Param_Gain,3.0,0);
AudioUnitSetParameter(reverbUnit,kAudioUnitScope_Global,0,kReverbParam_FilterBandwidth,3.0,0);
AudioUnitSetParameter(reverbUnit,kAudioUnitScope_Global,0,kReverbParam_FilterGain,3.0f,0);
I have seen a post (http://stackoverflow.com/questions/11362709/core-audio-ios-5-1-reverb2-properties-do-not-exist-error-code-10877) that refers to the same problem but could not work out a solution.
Any help? Many thanks.
André
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden