• 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: CoreAudio: Calculate total latency between input and output with kAudioUnitSubType_VoiceProcessingIO
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CoreAudio: Calculate total latency between input and output with kAudioUnitSubType_VoiceProcessingIO


  • Subject: Re: CoreAudio: Calculate total latency between input and output with kAudioUnitSubType_VoiceProcessingIO
  • From: Arshia Cont via Coreaudio-api <email@hidden>
  • Date: Wed, 22 Jan 2020 22:31:36 +0100

We also use a simple measurement mechanism which is fine for a user-facing
situation.

However, what Brian described remains a problem: Doing such measurements when
user is using a Headset doesn’t make sense!

This is especially problematic for Bluetooth devices: I haven’t figured out a
way to detect whether the device is a Headset or not! Has anyone figured out a
way to do this? AVAudioSession properties do not seem to help.


Arshia

> On 21 Jan 2020, at 23:57, Paul Davis via Coreaudio-api
> <email@hidden> wrote:
>
>
>
> On Tue, Jan 21, 2020 at 3:36 PM Brian Schachter via Coreaudio-api
> <email@hidden <mailto:email@hidden>> wrote:
>
>
> > The most reliable way to do this is to actually measure it. Not necessarily
> > the most convenient, however. In Ardour we make this measurement optional -
> > users will get better capture alignment if they do it
>
> Do you play a metronome out of the speaker (output) while simultaneously
> recording it with the mic (input) and afterwards look at the peaks in the
> recorded data? If so, is this method of measuring impossible if the user is
> wearing headphones? When the output is headphones... the mic won't be able to
> pick it up.
>
> Correct. If you want to do the most accurate measurement, you need to be able
> to detect and measure the signal via a "loopback" signal flow. That's why I
> noted "not  necessarily the most convenient".
>
>
> _______________________________________________
> 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

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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

References: 
 >CoreAudio: Calculate total latency between input and output with kAudioUnitSubType_VoiceProcessingIO (From: Eric Herbrandson via Coreaudio-api <email@hidden>)
 >Re: CoreAudio: Calculate total latency between input and output with kAudioUnitSubType_VoiceProcessingIO (From: Arshia Cont via Coreaudio-api <email@hidden>)
 >Re: CoreAudio: Calculate total latency between input and output with kAudioUnitSubType_VoiceProcessingIO (From: Jonatan Liljedahl via Coreaudio-api <email@hidden>)
 >Re: CoreAudio: Calculate total latency between input and output with kAudioUnitSubType_VoiceProcessingIO (From: Arshia Cont via Coreaudio-api <email@hidden>)
 >Re: CoreAudio: Calculate total latency between input and output with kAudioUnitSubType_VoiceProcessingIO (From: Jonatan Liljedahl via Coreaudio-api <email@hidden>)
 >Re: CoreAudio: Calculate total latency between input and output with kAudioUnitSubType_VoiceProcessingIO (From: Arshia Cont via Coreaudio-api <email@hidden>)
 >Re: CoreAudio: Calculate total latency between input and output with kAudioUnitSubType_VoiceProcessingIO (From: Jonatan Liljedahl via Coreaudio-api <email@hidden>)
 >Re: CoreAudio: Calculate total latency between input and output with kAudioUnitSubType_VoiceProcessingIO (From: Brian Schachter via Coreaudio-api <email@hidden>)
 >Re: CoreAudio: Calculate total latency between input and output with kAudioUnitSubType_VoiceProcessingIO (From: Paul Davis via Coreaudio-api <email@hidden>)

  • Prev by Date: Re: CoreAudio: Calculate total latency between input and output with kAudioUnitSubType_VoiceProcessingIO
  • Previous by thread: Re: CoreAudio: Calculate total latency between input and output with kAudioUnitSubType_VoiceProcessingIO
  • Index(es):
    • Date
    • Thread