• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to set Sample Rate Conversion quality
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to set Sample Rate Conversion quality


  • Subject: Re: How to set Sample Rate Conversion quality
  • From: Brian Willoughby <email@hidden>
  • Date: Mon, 24 May 2010 14:29:17 -0700

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


  • Follow-Ups:
    • Re: How to set Sample Rate Conversion quality
      • From: tahome izwah <email@hidden>
References: 
 >How to set Sample Rate Conversion quality (From: tahome izwah <email@hidden>)
 >Re: How to set Sample Rate Conversion quality (From: tahome izwah <email@hidden>)

  • Prev by Date: Re: Garbage collector in an audio unit
  • Next by Date: Re: Bug in auval ?
  • Previous by thread: Re: How to set Sample Rate Conversion quality
  • Next by thread: Re: How to set Sample Rate Conversion quality
  • Index(es):
    • Date
    • Thread