Bug: Using AirPods + Keyboard causes the sound to blip and vanish

Brand new user to Audulus (and modular synths in general). I was watching, and duplicating, Robert Syrett’s " So You Just Got Audulus… - Making Your First Patch in Audulus 3 5" patch, and it was working fine on the iPad speakers. I decided to change over to my AirPods for my Wife’s sake, and it completely stops all sound when playing a key on the keyboard. Link to a video to show the problem. Warning: the final bleep is loud. If you turn it up a bit you can hear the sequencer playing.

I’m willing to help out with more testing and such if needed, more screen recordings, whatever you need. I’m on a 2018 iPad Pro 12.9"

Please let me know if I can help out more!

1 Like

I tried again, and this time I can get sound but it’s not the best. Link to another screen recording Warning: it’s not pleasant on the ears (it really wasn’t on mine)

1 Like

There is a known problem with Audulus and some bluetooth headphones on the iPad/iPhone. I suspect you may be seeing a similar issue with the AirPods. Audulus support monitors this forum, so we see if they have an answer. You might try hosting Audulus in Audiobus or AUM if you have either of those apps. That’s helped for some people.

2 Likes

Thanks for reporting this - we are having trouble with Bluetooth right now. Like @stschoen said, hosting Audulus in another DAW should allow you to use Audulus with Bluetooth while we search for a solution.

1 Like

Just to confuse matters, I dragged out my Philips bluetooth headphones this afternoon, and they work fine with Audulus.

2 Likes

I have neither, nor the money for either at this time, sadly. I’ll try to scrounge up some wired headphones to compensate in the meantime.

Thanks for the answers!

EDIT: I’ll bet it has to do with the way the AirPods offload the audio to a separate chip in the new iPads and iPhones @stschoen.

2 Likes

I was going to suggest using Garage Band as an IAA host since it’s free, but Audulus locks up if you try to open it from GB. I tried launching Audulus before and after GB but either way it won’t run. That’s a shame since its the one IAA host everybody has access to on iOS

2 Likes

FWIW, @athros, I’ve gotten so frustrated with the latency associated with my bluetooth buds (Sony MDR-AS600BT) and most synth apps that I only use wired headphones when doing anything with synths.

1 Like

Hey guys! I have done some extensive (some might even call it obsessive) research on this subject with all of my bluetooth headsets since discovering this issue a couple weeks ago. The common denominator with all of the bluetooth issues I am having is the fact that they all have a microphone and support for phone calls. @stschoen I am going out on a limb here, but I’m guessing that your Philips BT headset doesn’t have a microphone? Either that or the patch wasn’t producing enough information bits to overload the single channel’s buffer in the crappy default profile that is chosen when the headphones are in use with Audulus on Mac and iOS.

The issue seems to be with the codec and profile that is chosen by the Audulus application asking the system what to do or the system asking Audulus what it wants. It appears that because Audulus is capable of taking in sound, when BT is configured and a microphone is available on the headset/speaker, instead of using stereo sound (channels 1 & 2) and AAC or APT-X codec, Audulus and iOS set the headset up as a 2-way communication device, which defaults to using the headset microphone and has audio streaming to you in mono on channel 1, with channel 2 being reserved as an input (even if it is not being used, see attached patch) and the codec set to SCO or SBC. I had the same issue with my BT headphones (all of them) with my Mac until I manually switched the microphone on the headphones off in the Sound Preferences > Input section, by choosing Internal Microphone. Upon changing the microphone to the device internal, the load is taken off of the BT device, a better quality codec is selected (AAC in my case), the headphones switch to stereo mode as both channels can now be utilized, and the sound no longer clips, blips, crackles, pops or drops.

I have attached screenshots documenting this behavior on my Mac. I have also attached a patch I used to qualify/document what I have stated above. You can test this behavior and reproduce by downloading, opening the patch, and doing the following -

  • Play a bit through the default speakers or a wired headset and note the richness of the sound (I used the Audulus official live stream on youtube as a framework for setting up the patch, and made a few modifications).
  • Then configure the BT device with iOS settings app, then come back to Audulus and try to play again.
  • You will encounter reliably what I have encountered and other have also mentioned with the crappy sound quality and dropping.
  • You can reproduce the channel behavior I mentioned by changing the channel of the DAC's at the end (both at the same time) from 1 to 2 and try to play again.
  • If you get the same result as me, there will be no sound coming out because of the channel being reserved as an input with the default sound profile for Bluetooth devices with microphone(s).

I’m not sure how hard this would be, @Taylor, but I have been reading a LOT about iOS audio development and support frameworks lately, and it seems like (if possible) if you added a toggle to the Settings menu, where you select Background Audio, it could allow users to manually select the iOS device microphone as the preferred setting when they open Audulus. I know there are other iOS apps (Siri, for example, although I am aware that this is a system level utility, and may be subject to different permissions) that allow you to select the iOS device as the sound input source for app interaction while using Bluetooth hardware. I found an older article regarding support for this feature at Apple Developer site, which provides more information about the library that supports this functionality.

I obviously am not the genius developer that has created such a wonderful application as Audulus is, but in my professional opinion as a support engineer for a network video company, I am 95% certain that a toggle would resolve the majority of roadblocks to Audulus Bluetooth audio output support, which @biminiroad mentioned to me when I brought this up. Anyway, I just wanted to make my findings known. If there is anything that I can do to help with the development or testing of Audulus, I would be happy to participate. Thanks so much for all that you guys do, this is the most amazing application and community I have ever encountered! :smile:

Mod Synth 101.audulus (96.5 KB)

screenshots uploaded here

2 Likes

Thanks for all this info! Hopefully @taylor can use it to improve Bluetooth compatability! :slight_smile:

2 Likes