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

Re: Few sample rate conversion questions


  • Subject: Re: Few sample rate conversion questions
  • From: "Mike Kluev" <email@hidden>
  • Date: Fri, 23 Jan 2009 10:56:49 +0300

On Thu, 22 Jan 2009 14:03:30 -0800 William Stewart <email@hidden> wrote:

On Jan 22, 2009, at 2:47 AM, Mike Kluev wrote:
I'll file feature request to make complexity controllable.

rdar://6520002

BTW, changing kAudioUnitProperty_SampleRateConverterComplexity
seems to do nothing with AUConverter (while the SetPropety call
returns noErr). Isn't that a bug?

It should be implemented with AUConverter , but it isn't with the varispeed

Looks like it is just ignored in AUConverter. rdar://6519999

No - but what you do is a "latency pull" - you pull at least as much latency samples through the AU providing correct input and then throw out latency num samples of the output of the AU, then you are good to go.

Yes, this works. When should I do this latency pull? Sure I should do
it initially. I should probably do it after I change either source or
destination format, and maybe after unit reset. Correct? Is there
notification I could listen to know that I am supposed to do latency pull?


There is also "tail", would you also recommend to skip tail frames?
These frames seem to look quite ok (not all zeroes, etc).

I am curious, what's the reason for this latency delay, given
that there is no such latency in AudioConverter and supposing
that both AUConverter/AUVarispeed and AudioConverter share
the same underlying resampler.

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


  • Follow-Ups:
    • Re: Few sample rate conversion questions
      • From: William Stewart <email@hidden>
    • Re: Few sample rate conversion questions
      • From: james mccartney <email@hidden>
References: 
 >Re: Few sample rate conversion questions (From: work <email@hidden>)
 >Re: Few sample rate conversion questions (From: "Mike Kluev" <email@hidden>)
 >Re: Few sample rate conversion questions (From: "Mike Kluev" <email@hidden>)
 >Re: Few sample rate conversion questions (From: "Mike Kluev" <email@hidden>)
 >Re: Few sample rate conversion questions (From: William Stewart <email@hidden>)
 >Re: Few sample rate conversion questions (From: "Mike Kluev" <email@hidden>)
 >Re: Few sample rate conversion questions (From: William Stewart <email@hidden>)

  • Prev by Date: AudioQueueOfflineRender: how do I know when I'm done?
  • Next by Date: Re: Speeding HAL plugin loop rate
  • Previous by thread: Re: Few sample rate conversion questions
  • Next by thread: Re: Few sample rate conversion questions
  • Index(es):
    • Date
    • Thread