Re: AUHighShelfFilter cutoff frequency
Re: AUHighShelfFilter cutoff frequency
- Subject: Re: AUHighShelfFilter cutoff frequency
- From: patrick machielse <email@hidden>
- Date: Thu, 10 Nov 2011 13:45:00 +0100
Op 9 nov. 2011, om 18:45 heeft Michael Hopkins het volgende geschreven:
> If you run auval, or look at the generic view for the AUHighShelfFilter, you will see that the range that the audio unit is publishing for cutoff frequency is 10,000 to 22,050. The AU does not support a lower cutoff frequency. It seems to me that the AU should return a param error if you set a value lower than this. I would assume that this is a bug in the AU and would encourage you to file one.
>
> As far as the AUParametricEQ, the minimum Q value is 1.0. The range specified in the header comments is incorrect.
Thanks for that information, I will not rely on using values outside the range reported by auval.
Parameter validation seems to be broken for both AUHighShelfFilter and AUParametricEQ.
Problem ID: 10425597
I cannot locate a specific error code that would cover this situation (no 'kAudioUnitErr_InvalidParameterValue'), so perhaps it was never implemented. Validation _is_ implemented by the AU GUI components (evident in AU Lab), but not at the 'naked' AudioUnit API level.
patrick
--
Patrick Machielse
Hieper Software
http://www.hieper.nl
email@hidden
_______________________________________________
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