Re: How to set Sample Rate Conversion quality
Re: How to set Sample Rate Conversion quality
- Subject: Re: How to set Sample Rate Conversion quality
- From: tahome izwah <email@hidden>
- Date: Tue, 25 May 2010 08:58:10 +0200
Thanks!
--th
2010/5/24 Brian Willoughby <email@hidden>:
> Those constants are correct: Complexity_Mastering and Quality_Max.
>
> Note that the Mastering Complexity is only available with Leopard and later,
> not Tiger.
>
> You can see the SRC quality at http://src.infinitewave.ca/ under Apple
> CoreAudio (Leopard) as compared to other SRC engines.
>
> P.S. I didn't review your code or even try to compile it, but I did confirm
> that these are the same constants recommended by the CoreAudio team for
> using afconvert to the maximum SRC ability.
>
> Brian Willoughby
> Sound Consulting
>
>
> On May 24, 2010, at 02:32, tahome izwah wrote:
>>
>> Ok so I was able to find some references and come up with the
>> following code - is this the correct approach for setting the highest
>> possible SRC quality? I am setting this property on the output
>> (client) side - is this correct?
>>
>> Thanks
>> --th
>>
>>
>> -----------------------------------------------------------------------------------
>> prop =
>> kAudioConverterSampleRateConverterComplexity_Mastering;
>> AudioConverterSetProperty(outConverter,
>> kAudioConverterSampleRateConverterComplexity,
>>
>> sizeof(prop), &prop);
>> prop = kAudioConverterQuality_Max;
>> AudioConverterSetProperty(outConverter,
>> kAudioConverterSampleRateConverterQuality,
>>
>> sizeof(prop), &prop);
>>
>> -----------------------------------------------------------------------------------
>>
>>
>> 2010/5/24 tahome izwah <email@hidden>:
>>>
>>> I am using ExtAudioFile to read an AIFF file and convert it to the
>>> sample rate of my project. This works great, but the sample rate
>>> conversion quality is really bad. Is there a way to tell the
>>> conversion to use the highest possible SRC quality? If so, how? Via
>>> kExtAudioFileProperty_ConverterConfig perhaps? Is there any sample
>>> code for this?
>>>
>>> Thanks!
>>> --th
>>
>
_______________________________________________
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