• 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
Few sample rate conversion questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Few sample rate conversion questions


  • Subject: Few sample rate conversion questions
  • From: "Mike Kluev" <email@hidden>
  • Date: Wed, 24 Dec 2008 11:30:42 +0300

I have few interrelated questions about sample rate conversion.

1) The documentation states that AUVarispeed unit changes pitch as well as speed:
<<A unit that lets you change the speed of playback (and consequently the pitch as well)>>.


Yet, in the CAPlayThrough sample there is the following comment:

//Q:Why do we need a varispeed unit?
//A:If the input device and the output device are running at different sample rates
//we will need to move the data coming to the graph slower/faster TO AVOID A PITCH CHANGE.


Is this comment just not correct and it rather should be "to introduce a pitch change"?

2) Wouldn't it be better to use AUTimePitch instead of AUVarispeed in this sample
and other code for similar purposes on the grounds that AUTimePitch can change
the speed of playback without altering the pitch?


3) For the purposes of sample rate conversion are AUConverter and AUVarispeed
equally good? (Capable to handle the same set of input/output rates, same quality, etc)


Mike
_______________________________________________
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


  • Prev by Date: Re: Getting PCM data from MP3/AAC/ALAC File (William Bates)
  • Next by Date: Re: Getting PCM data from MP3/AAC/ALAC File
  • Previous by thread: Question about stopAudioEngine()
  • Next by thread: increase the number of input busses (stereoMixer)
  • Index(es):
    • Date
    • Thread