Questions tagged [airpods]

AirPods are wireless Bluetooth earbuds made by Apple Inc.

31 questions
9
votes
1 answer

how to determine battery level of airpods in swift

I have been learning about swift for sometimes. I have made an test app that shows user Battery Level and Storage details of the phone. Now i am exploring other possibilities. Is there anyway i can show the Battery Level of AirPods that are…
Nazmul Hasan
  • 123
  • 6
5
votes
1 answer

Audio files won't play with AirPods Pro on iOS 15

I am using this code to play audio. My code works fine on iOS 14 with all headphones model, but when customers have updated their devices to iOS 15 and are using AirPods Pro, no audio files play. On other AirPods models and when playing audio files…
user13667410
4
votes
0 answers

Record stereo audio with Airpods

I'm trying Voice record from airpods using AVAudioRecorder. I know AirPods has microphone both side, but unfortunately I cant get 2 channel audio It uses just one microphone randomly... I want to get 2 channel Audio with per airpod microphone, Is…
4
votes
0 answers

Using phone mic as input and AirPods/headphones as output with AVAudioEngine

As the title says, I need to route audio data from the phone's microphone out to AirPods or other connected headphones with AVAudioEngine. I've been able to get a version of this working where input is taken from the AirPods mic, but when I set the…
tallen11
  • 1,387
  • 2
  • 17
  • 33
4
votes
0 answers

AirPods Double tap to Pause not working when player playback rate > 1.0

I have an AVPlayer playing audio in my app. I've registered to handle remote commands via MPRemoteCommandCenter, including Play, Pause, Stop, TogglePlayPause, and ChangePlaybackRate. However, whenever my AVPlayer is playing back at a rate that is…
Jeff
  • 4,751
  • 5
  • 31
  • 35
2
votes
0 answers

Mac 13. 2.1 - Need applescript to control the noise canceling of AirPods Pro

For some reason I'm getting the error Can't get menu bar 1 of process SystemUIServer". Invalid index Here is my code: set AirPodsName to "Joris's Aripods Pro" tell application "System Events" tell application process "ControlCenter" set volMenu to…
Ryan
  • 21
  • 2
2
votes
0 answers

Synchronising AVAudioEngine audio recording with backing track, using AirPods

I'm trying to identify how much latency is being experienced when using AirPods, compared to using the device mic & speaker, for the purposes of recording user video & audio that must be synchronised to a backing track. Here's how my system…
Cloov
  • 538
  • 1
  • 3
  • 15
2
votes
0 answers

PowerShell - Find Bluetooth Device Connectivity Status

How can I find the value of "is connected" for a Bluetooth device? I've tried Get-WMIObject cmdlets and a few others but none of the values changed when I connect/disconnect. The only place I have found the value to change is in the attached image.…
jenglish
  • 21
  • 1
  • 7
2
votes
1 answer

Exception from HRESULT: 0xD0000033 when trying to read battery of Airpod pro

I am trying to read my air pods pro battery life using UWP app and I get strange exception error Exception from HRESULT: 0xD0000033 without any more info. Below you can find the source: private async Task GetBLDevices() { …
pantonis
  • 5,601
  • 12
  • 58
  • 115
2
votes
0 answers

Audio not switching to speaker when airpods connected

I have airpods connected to my device and I am trying to switch the audio to speaker. I am using the code below which works when nothing is attached, other bluetooth devices are connected and when headphones are plugged in but it doesn't when there…
user1079052
  • 3,803
  • 4
  • 30
  • 55
2
votes
1 answer

How to Detect Single Airpod is Taken off using AVFoundation?

As the title says, I need to detect users taking off their airpods when playing music. For some reasons I must use AVAudioplayer rather than MPMusicPlayer to play music, and AVAudioSession only can receive pause event when all of airpods are taken…
陳俞安
  • 31
  • 5
1
vote
1 answer

AirPods Noise Cancelling API to alter sound cancelling?

I am researching into making an app that when started could filter out specific sounds using apples ANC. I couldn't find if there is an API or similar to access the built-in microphones or add own code to the pipeline. Does anybody know if something…
1
vote
2 answers

What frequency standard does CMHeadphoneMotionManager's startDeviceMotionUpdates() has?

Same as title. I'm trying to find out what frequency standard does CMHeadphoneMotionManager's startDeviceMotionUpdates() has. Are they only affected by communication environment? or there's something else?
Jason
  • 393
  • 1
  • 4
  • 9
1
vote
1 answer

iOS: Only Airpods connect directly to answering call. For other company headphone, you have to select bluetooth after answering

I was recently working on a iOS calling app. Suddenly, one of my colleagues informed me that his headphone is not connecting to call directly after answering though his headphone is connected to bluetooth . However, one of my other colleagues,…
Rifat Monzur
  • 640
  • 1
  • 5
  • 11
1
vote
1 answer

Is it possible to toggle transparency mode with code?

I want to build an app that automates the transparency and noise cancelation features of the AirPods Pro. The idea is to open the app, put the AirPod Pros in ears (transparency mode by default), start a countdown timer which turns on noise…
1
2 3