Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I detect the audio left/right balance?

Tags:

ios

iphone

audio

I'm trying to detect the audio left/right balance programmatically, and there doesn't seem to be an api for getting the value of this setting. I was able to find the UIAccessibilityIsMonoAudioEnabled() method for detecting if the user has enabled mono audio, but I can't find an equivalent function for the audio balance.

Anyone know how I can do this?

P.S. Go to Settings->General->Accessibility and then scroll down to "Hearing" to set these options

like image 315
Mike Akers Avatar asked Jul 10 '13 14:07

Mike Akers


People also ask

How to adjust left and right audio balance of sound playback devices?

Adjust Left and Right Audio Balance of Sound Playback (Output) Devices in Settings 1 Open Settings, and click/tap on the System icon. 2 Click/tap on Sound on the left side, select the output device you want to adjust in the Choose your output device drop menu, and click/tap on the Device properties link under it. (see screenshot below)

How do I balance my audio output in Windows 10?

Find your audio output devices in the list and double-click on it. In the device properties dialog, switch to the Levels tab. There, click on the Balance button. In the Balance dialog, adjust the Left and Right audio channel balance level, and click OK. How do you balance left and right audio?

Where is the left/right audio balance on iOS devices?

I have hearing loss in my right ear. If I turn up the volume to hear in my right ear, the left ear is dangerously loud. Apple has offered a left/right audio balance for several iOS releases, but it doesn’t make it obvious where to find it. It’s not in Sounds, but in Accessibility ( Settings > General > Accessibility ).

How do I adjust left/right balance on my iPhone?

All iOS devices can adjust left/right balance. iOS hides its very useful left/right audio balance control in Accessibility settings. But you’ll also see settings for working with Bluetooth-connected and other hearing aids, for mono audio, and to remove phone noise cancellation, which can affect the quality of calls negatively in some cases.


Video Answer


1 Answers

I'm pretty sure that this is not an acceptable answer, but...

After browsing through the various API's I think my conclusion is: Not possible.

There is no direct API that reads that specific setting. There is also no way of reading the value directly - as it is stored outside of your application sandbox.

My best suggestion is to file a feature request at Apples Bug Reporter.

like image 175
Trenskow Avatar answered Sep 20 '22 16:09

Trenskow