Is it possible to pair Bluetooth microphone with Android device and receive audio samples in real time and record them to an audio file? I looked at lot of posts and found no conclusive answer if it is possible or not.
Related
I'm doing some research on how to stream multichannel audio from an android device to an external DAC.
The receiver has a USB2-B audio input which I would like to stream audio to from the phone.
It seems that Android OS has limited support for USB Audio - but it's more than nothing for a start. I've also read that some apps in this space use their custom driver...
I went through a lot of questions and answers here (and on other sites) but somehow I can't get a proper answer (most of them are super old or just not exactly what I am aiming for...)
So how can I stream an mp4 file with 4-6 channels of audio through the USB to an external DAC? The file is coded with AAC-LC and/or xHE-AAC - so the file itself supports multichannel. The phone is running Android 11.
I've been looking at the USB-Host mode, and USB Audio website, among several other StackOverflow examples, and also visited extreamsd.com to see how they did it but not much luck with seeing actual code samples...
Anyone could point me in the right direction or whether it is possible at all and if yes then how?
Thank you
I programmmed a website which uses text to speech engine to generate audio files.
Then these mp3 files are started using Web Audio API.
Everything works fine when hearing aufio from speakers on a computer or on a smart phone.
However, as soon as I connect my bluetooth helmet to the smart phone, the audio is not played.
Is it a famous issue that Web Audio API doesn't work with bluetooth devices, or does the issue come from my code?
Do I need to change the context's destination ? How can I set it to buetooth? (ex : https://www.html5rocks.com/en/tutorials/webaudio/intro/)
source.connect(context.destination); // connect the source to the context's destination (the speakers)
This question has already been posted on stackoverflow, but I can't find an answer.
Please help me.
Hi use the web bluetooth library for more reference read this here
I'm trying to film a video with a camcorder.
However, the camcorder isn't support bluetooth microphone.
Fortunately, I think I found a way to do it, but I can not find good app to do it.
My plan is, use phone as a bluetooth receiver, and connect the audio port of the phone to the camcorder via cable.
I need:
an app that make the bluetooth headset as a default microphone of the system.
an app that make the sound from the bluetooth mic able to flow to the audio port.
I know about an app called "megaphone" in Apple store that makes sound from the phone's mic flows through to the phone's audio port.
But I can not use the bluetooth headset for it.
Any suggestion please?
Sounds like a great App. Start by installing Android Studio (http://developer.android.com/tools/studio/index.html) and then its about research... Search around SO (or google) for any of the keywords that sound reasonable. Look at the related questions (on the right panel) for other questions that have been asked with similar key words (you'll find tons of info)
Start a project, and ask questions when you get stuck.
General question about playing audio from my android app through bluetooth device:
If I have my device paired with the bluetooth device, when I play the mp3 file from the app I am developing, will it automatically route to the bluetooth device?
If not can someone point in the direction of a tutorial on this subject?
Do you have any sample code? Or are you just brainstorming at this point?
With the correct permissions and calls, yes, it'll play through whatever the Android system determines as the primary media audio output.
Reference from Google on android.media: link
I'm curious if it's possible to record audio from many sources and if not, what's the limitation.
Many current devices have two internal microphones (basically for noise reduction). On top of that it's possible to plug additional external one using audiojack. You can as well have another audio stream via bluetooth headset.
You are allowed to specify AudioSource in android but is it possible to do recording from many sources at the same time? I'm also interested how the situation look like on the iOS devices.