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 protected]> wrote: > > > > On Tue, Jan 21, 2020 at 3:36 PM Brian Schachter via Coreaudio-api > <[email protected] <mailto:[email protected]>> 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 protected]) > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/coreaudio-api/arshiacont%40antescofo.com > > This email sent to [email protected]
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Do not post admin requests to the list. They will be ignored. Coreaudio-api mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/coreaudio-api/archive%40mail-archive.com This email sent to [email protected]
