简体   繁体   中英

BlueTooth headset not able to use as audio recording capture for iOS and OpenEars

We are building an iOS app that does basic speech recognition. Basically, the app counts the number of words you speak into the iOS device. The app works well when speaking into the standard microphone built into the iPhone. However, when connecting a wireless Bluetooth audio device, we are unable to use that Bluetooth device as a method for recording voice audio. We are using following software and devices:

According to OpenEars, the Bluetooth audio devices should be picked up automatically ( http://www.politepix.com/forums/topic/enabling-bluetooth-support/ ). Are we right in assuming this?

We used the VoiceMemo app (the voice recording app that ships with iOS) to test out the bluetooth device as a “control” experiment:

  • Pair the ZOMM with the iOS device
  • Open VoiceMemo
  • Select ZOMM as input device from within the VoiceMemo app
  • Start recording
  • Stop recording – no audio was captured

Unfortunately this meant that neither our app nor the standard voice recording app is able to use the bluetooth device as a means for recording audio. Either way it's hard to rule the device as simply the issue.

We're curious to understand if this simply a hardware issue (and need a BT-enabled device that supports voice recording to iOS) or if there is something in the code we need to enable in order for the app to start accepting the device as recordable.

Also, more details about the ZOMM headset:

ZOMM specifications: Bluetooth Wireless Compatibility: This ZOMM device supports the following Bluetooth wireless protocols and profiles: • Bluetooth core technology v2.1+EDR • Hands-Free Profile (HFP) v1.5 headset role • Headset Profile (HSP) v1.2 headset role Bluetooth Wireless Interoperability: This ZOMM device is designed to be interoperate with all Bluetooth wireless products that support compatible profiles and roles including: Bluetooth core technology v3.0, v2.1+EDR, v2.0 +EDR, v1.2 Bluetooth master and slave roles Bluetooth Hands-Free Profile (HFP) v1.5 and prior headset (HS) role Bluetooth Headset Profile (HS) v1.2 and prior headset (HS) role

Any idea on what we could do to resolve this issue and use Bluetooth together with the OpenEars library on iOS7.1?

Thanks! Philip

testing with Voice Memo is logical, however the app may not be allowing the route the change when BT is connected. A detailed explanation is here. iOS: Using Bluetooth audio output (kAudioSessionProperty_OverrideCategoryEnableBluetoothInput) AudioSession

With OpenEars, I believe you can enable logging to track when the audio route changes. So, you can verify via logging that it is listening to where it should be or .... not listening. I would suggest upgrading as of this post http://www.politepix.com/forums/topic/small-bug-when-running-on-ios-8/ . If you scroll to the bottom you can see BT should work now.

Another test worth running is SaveThatWav within OE. I have not used it, but you should be able to verify what you are listening too.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM