Any way of adding an audio input to mix/play with the rest of the android sound? - MTCB Hardware Development

The KLD2 I have has an AV input but one has to switch the MCU specifically to the AV input in order to listen.
What I am looking for is to have an audio input which mixes/plays full time with the rest of the android apps without having to explicitly switch to it. Has anyone done this? Do any usb devices exist (with android driver support) which implement an audio input and play real time what's coming in?

Yes, people have used a USB DAC, you need to search the original Q&A thread here :
https://forum.xda-developers.com/showthread.php?t=2660662
and maybe the MTCB Hardware Development forum. Try this first, its shorter !

Ok, I'll search that thread. DAC (Digital to Analog Converter) are used for the opposite thing though - to output sound from the MTC unit to an external amplifier or some other device. I am looking for the opposite (ADC) - to bring sound from external analog device into the MTC (and have the MTC mix/play it along). I've searched for USB ADC in the past but haven't found any interesting info yet.

shtirlitz111 said:
Ok, I'll search that thread. DAC (Digital to Analog Converter) are used for the opposite thing though - to output sound from the MTC unit to an external amplifier or some other device. I am looking for the opposite (ADC) - to bring sound from external analog device into the MTC (and have the MTC mix/play it along). I've searched for USB ADC in the past but haven't found any interesting info yet.
Click to expand...
Click to collapse
Doh, stupid me, but maybe an ADC will work in a similar way, via USB etc, so DAC posts may still help ? A seatrh for DAC should bring something up, btw, sometimes it works better to use google to search threads on XDA.

You are looking for something called an audio interrupt device. They used to be more popular when GPS nav units came out and people wanted voice nav over their stereo. They can connect by various means but you'll need to do some research to be sure it will work with your car and stereo setup.

Related

[REQ] iDevice compatible headphone recognition.

Is it possible via software to get apps (or indeed the underlying OS) to recognise the alternative inputs from the 3-contact TRRS (3.5mm headphone) connector as used on iphone compatible headphones?
It would be useful for accessories such as the iLuv inline extension (http://bit.ly/9iSZpA) to enable volume control when used with 3rd party headphones. As it stands the play/pause/skip functionality works, as do inline microphones (such as on the Griffin SmartTalk - http://bit.ly/CkdV) but volume control isn't recognised.
The alternative is to cannabilise the original N1 headphones, but being able to use the much more prevalent iPhone/iPod compatible types would make choices a lot easier.
If this is an electrical limitation rather than software, then please note as such and close the thread.

Bluetooth Remote To Control An Android Phone

Hello, i've done a quick search on the forum here for what i'm looking for but all the posts are old and everyone seemed completely clueless at the time so maybe someone will have an answer now.
I have an LG Ally which is running Android 2.22 if I recall correctly. I currently have a setup so that I plug my phone into my stereo through AUX so I can use my phone to play music, and as a GPS when needed. I use the Music system that's built into android phone, but when i'm driving it's very hard to change the songs and still drive. I know they make bluetooth headphone that allow you to pause, skip, etc so there must be a bluetooth remote control that I can pair to my phone so I don't have to take my eyes off the road in order to change a song.
To make this clear, I am NOT looking for an app, nor am I trying to turn my phone into a remote control. I can't stress this enough, because a lot of posts I read while looking into this a lot of people where getting confused and thinking the person wanted to use their phone as a remote and this is not the case.
I would greatly appreciate some help finding something that would work, since i've not seemed to be able to find anything.
Sony Liveview
Check out the Sony Liveview to use as a bluetooth remote for you android based phones.
I would post a link but since i am a new member it will not let me so just google Sony liveview
Sony Smartwatch
Looks like the Sony Liveview is the older version so may want to look at the newer Sony SmartWatch
Maybe a Bluetooth game controller? Probably still need a helper app.
Not yet
I'm looking for the same exact thing, looks like it is such a small market that there are no products to suit the need.
There is a remote called Satechi BT Media remote that is compatible with iPhones.
If it works like like a Apple Bluetooth Keyboard, media functions should work with Galaxy Note, but I don't know about LG. Every company use different Bluetooth stack.
youtube.com/watch?v=sne9B0j4Z64
androbo said:
There is a remote called Satechi BT Media remote that is compatible with iPhones.
If it works like like a Apple Bluetooth Keyboard, media functions should work with Galaxy Note, but I don't know about LG. Every company use different Bluetooth stack.
youtube.com/watch?v=sne9B0j4Z64
Click to expand...
Click to collapse
So i know this thread is a little old and i realize this doesnt directly help the OP, but could an IR remote, plugged into a USB host like a moto dock or one of those cables that enables the host command through the mini usb port possibly work? I suppose youd still need some sort of software to control the function...
I was thinking about this the other day when i had my phone attached hdmi to the tv, watching netflix. Once the episode was over, id have to get up and pick something else. A remote or a bt mouse might be a decent solution, but a mouse isnt very sexy as youd have to move around and click, as opposed to just using a directional pad or an arrow key.
dog199200 said:
Hello, i've done a quick search on the forum here for what i'm looking for but all the posts are old and everyone seemed completely clueless at the time so maybe someone will have an answer now.
I have an LG Ally which is running Android 2.22 if I recall correctly. I currently have a setup so that I plug my phone into my stereo through AUX so I can use my phone to play music, and as a GPS when needed. I use the Music system that's built into android phone, but when i'm driving it's very hard to change the songs and still drive. I know they make bluetooth headphone that allow you to pause, skip, etc so there must be a bluetooth remote control that I can pair to my phone so I don't have to take my eyes off the road in order to change a song.
To make this clear, I am NOT looking for an app, nor am I trying to turn my phone into a remote control. I can't stress this enough, because a lot of posts I read while looking into this a lot of people where getting confused and thinking the person wanted to use their phone as a remote and this is not the case.
I would greatly appreciate some help finding something that would work, since i've not seemed to be able to find anything.
Click to expand...
Click to collapse
I was looking for exactly the same thing, for the same purpose.
I wasn't aware of the bluetooth HID protocol until now and hence I was thinking about a different solution:
I thought about using a bluetooth headset for media control as these often include all the media control buttons.
However I only wanted to use the media buttons of the bluetooth headset while I was playing music through the headphone jack in my car.
Therefore I was seeking for a solution to connect the bluetooth headset in a way that its buttons can be used for media control but no music would be streamed to the headset or could be muted.
I think it's possible but some android hacking might be involved.
But that's a thing of the past with this new Satechi Bluetooth Remote, the amazon sales description states that Android devices are supported as long as they support Bluetooth HID. The customer review section also includes a guy who succesfully paired the Satechi with his Galaxy III.
The Satechi was introduced a couple of months ago so maybe other manufacturers will introduce similar and cheaper devices.
If your Android OS supports Bluetooth HID you can also use some Bluetooth HID devices which are advertised to work with iOS only (ie Apple Bluetooth Keyboard).
dog199200 said:
Hello, i've done a quick search on the forum here for what i'm looking for but all the posts are old and everyone seemed completely clueless at the time so maybe someone will have an answer now.
I have an LG Ally which is running Android 2.22 if I recall correctly. I currently have a setup so that I plug my phone into my stereo through AUX so I can use my phone to play music, and as a GPS when needed. I use the Music system that's built into android phone, but when i'm driving it's very hard to change the songs and still drive. I know they make bluetooth headphone that allow you to pause, skip, etc so there must be a bluetooth remote control that I can pair to my phone so I don't have to take my eyes off the road in order to change a song.
To make this clear, I am NOT looking for an app, nor am I trying to turn my phone into a remote control. I can't stress this enough, because a lot of posts I read while looking into this a lot of people where getting confused and thinking the person wanted to use their phone as a remote and this is not the case.
I would greatly appreciate some help finding something that would work, since i've not seemed to be able to find anything.
Click to expand...
Click to collapse
So this is a pretty old thread but Motorola has a product called the RZ100 which should fit the bill nicely. I use it for my GS3 (I travel quite a bit, so gs3 + HDMI out adapter + this remote = bliss) and it works without issues. The only thing I would like is an app that allows remapping the buttons on it (Ahem Android developpers...)
hampox said:
I was looking for exactly the same thing, for the same purpose.
I wasn't aware of the bluetooth HID protocol until now and hence I was thinking about a different solution:
I thought about using a bluetooth headset for media control as these often include all the media control buttons.
However I only wanted to use the media buttons of the bluetooth headset while I was playing music through the headphone jack in my car.
Therefore I was seeking for a solution to connect the bluetooth headset in a way that its buttons can be used for media control but no music would be streamed to the headset or could be muted.
I think it's possible but some android hacking might be involved.
But that's a thing of the past with this new Satechi Bluetooth Remote, the amazon sales description states that Android devices are supported as long as they support Bluetooth HID. The customer review section also includes a guy who succesfully paired the Satechi with his Galaxy III.
The Satechi was introduced a couple of months ago so maybe other manufacturers will introduce similar and cheaper devices.
If your Android OS supports Bluetooth HID you can also use some Bluetooth HID devices which are advertised to work with iOS only (ie Apple Bluetooth Keyboard).
Click to expand...
Click to collapse
i want the EXACTLY function as u said, just plain media control to pair with my buttonless in ear earphone, only Satechi available now? kinda bulky consider i just need the media control alone.. haiz..
hampox said:
I thought about using a bluetooth headset for media control as these often include all the media control buttons.
Click to expand...
Click to collapse
Thank you so much.
I'm using my Sensation with a Harman Kardon Go+Play and therefore had the same problem as OP.
I read your post and realized that I already own a Logilink BT0019 for other purposes.
I paired it and voilá, the music plays via the Harman Kardon, but the BT0019 media buttons still work.
Only Play/Pause and Next/Previous Song though because the sound level Buttons only change the Headsets volume which means that I do now need two remotes (the BT0019 +the provided Harman Kardon Remote for volume control.) but okay, cool.
I got the BT0019 for 22€, so it's a decently low priced solution too, even if I would not need the Headset for other purposes.
I know it's not bluetooth but the Mele F10 air mouse can do the trick via USB OTG.
I'm looking for a similar solution to control the media playing on an Android tablet for my daughter while on road trips. We have a Nexus 10 currently and will probably be getting a Nexus 7/Kindle Fire HD/Nook HD+ soley for her uses. Are there any android apps that might also achieve this using bluetooth? If I could control the media on the tablet using my Galaxy Nexus phone, that would be even better.
I succesfully managed to get what the OP asked for with an old TomTom bluetooth remote like this one (www ebay com/itm/331084156246) thanks to the informations provided by Norvan Gorgi at norvangorgi blogspot it/2011/10/using-tomtom-bluetooth-remote-with.html (insert dots as required ), and it worked brilliantly with both my SGS3 and my first gen Galaxy Note.
Basically, the remote is recognized as an external keyboard, so all you need is to remap its keys (the tomtom remote has 10 buttons) according to your needs, as per the instruction provided by Norvan in his blog.
Thing is, this stopped working when I installed CyanogenMod 10.2 on both my mobiles, appearently because android 4.3 now does not recognizes the remote as a keyboard anymore, but rather as an 'input device', ie with a nice 'joystick' icon next to it (and my own keyboard definition files won't work anymore).
Anyway, once paired with a 4.3 device the four directional keys and the central 'ok' one will sitll work, so it might still prove useful for someone, even if it does not have proper 'direct' media functions as it would have when set up as a keyboard.
Satechi Remote Control
I recently purchased the Satechi remote control because even though it says its specifically made for iOS, people in the reviews said it works on android and also because it works on 3rd party applications like spotify.
I have two Samsung devices, my phone which is Samsung Galaxy Note II and a Samsung Galaxy Player 4.2 which is just used to download my spotify playlist for the car. since the Galaxy Player 4.2 only has 512mb of ram its really annoying when i want to change song, very slow and I realised I pay a lot of attention to the device while driving and that isnt good!
so I bought the remote thinking it would help. now the problem is it doesnt connect to android devices because it requires bluetooth HID, according to a few posts found on this website and a few others, I downloaded bluetooth keyboard easy connect and on my phone it worked fine. however on my galaxy player it didnt work. it just keeps TRYING to connect, the device is running 2.3.6.
my question is, is there any other application i can use or anything I can do to use this remote on my mp3 player?
I realize this thread is very old but I found this thread searching for the exact same thing. I have not ordered this yet, but the Amazon reviews seem to suggest this item is exactly what I have been looking for!
Amazon link
Any current suggestions?
Do remotes just work as a HID keyboard or keyboard-mouse combo?

Using SGSI i9000 to stream music from NAS etc to my Hi-Fi

I’ve been looking a various solutions to stream music to a Hi-Fi such as Squeeze Box and Sonos, and am wondering if I could use my trusty old SGSI i9000 to stream from a NAS or other DLNA enabled device? I believe to Wolfson DAC is quite good for a phone, so I could connect the phone to the amp with a phono lead, but I also wonder if I could attached an external DAC via a USB adaptor to improve the sound output. I know this can be done on the S3 and some tablets, but not sure of the situation with other phones. I am ok with routing and custom ROM’s if that helps. Please note I do not want to play music stored on the phone, as my library is already 200gb and rising, but use it as a conduit to get the music from storage to the Hi-Fi
paddyb said:
I’ve been looking a various solutions to stream music to a Hi-Fi such as Squeeze Box and Sonos, and am wondering if I could use my trusty old SGSI i9000 to stream from a NAS or other DLNA enabled device? I believe to Wolfson DAC is quite good for a phone, so I could connect the phone to the amp with a phono lead, but I also wonder if I could attached an external DAC via a USB adaptor to improve the sound output. I know this can be done on the S3 and some tablets, but not sure of the situation with other phones. I am ok with routing and custom ROM’s if that helps. Please note I do not want to play music stored on the phone, as my library is already 200gb and rising, but use it as a conduit to get the music from storage to the Hi-Fi
Click to expand...
Click to collapse
Hi,
You could try ArkMC app on Google play , it's streaming video by DLNA , it's well done
Regards
Hi Brya, thanks for making this your first post! The ArkMC app looks good. There are many DLNA streaming apps and this looks like one of the better ones.
My situation though is that if my Hi-Fi isn’t a DLNA device and only has phono input, can the phone stream a file from a NAS etc, play the file on the phone and output it through the headphone or micro USB socket to an amp. I think now that I’ve typed this out that the answer to this is yes.
So next question, how good is the audio quality going to be from such as set up? I think this depends on the DAC in the phone, which is quite good for a phone but probably not great compared to £300-£500 mini system. I’d welcome feedback on this.
Then the question is, can I connect an external DAC via the micro USB port?
For info, I haven’t actually got a Hi-Fi at the moment. I’m weighing up buying a mini system that includes a network streamer against more expensive and better sounding separates that do not (though they may have a USB input) and seeing if this would be a viable option for playing digital music.

[Q] What is the state of external audio input on Android?

Hello,
I'm trying to get higher quality audio input (sample width and conditioning, don't care about sampling rate above 32k) than is available through the microphone jack and was looking for an overview of where the development of such capabilites stands today. From what I gather:
Android 3.1 (maybe 3.2) added some support for USB Audio, though I can find almost no details on the capabilities. I can't post links, but a post on computeraudiophile with google search terms "usb audio enabled galaxy s3" claims support for a bunch of USB DACs on the Galaxy S3, but there is no mention of using the ADC.
Android 4.1 added support for USB audio docks -- these are generally (as far as I can find) speaker systems with a USB cable -- which only support audio output.
Software such as USB Audio Recorder Pro can record from a number of devices but this is of no use to a developer wishing to get the data into a separate application.
Lots of devices have HDMI ports but I found nothing about anyone managing HDMI input.
I can't find any such device for Bluetooth, but also nothing suggesting that it isn't possible. If so, can anyone speculate on audio quality limitations?
Now, I understand that the vast majority of users who want USB audio want output so it can go to their speakers, but there are some who need the other direction (or both...). Can anyone more familiar with the subject comment on the state of external audio input on Android devices?
Thanks,
Ben

Android USB Multichannel Audio Routing

Hi All,
I have been searching about this topic for months I cannot find a method to use 6 channel usb dac or HDMI Audio output on Android. I dont want surround sound at all, but I would like to use my phone as the infotainment engine. However I should be able to route notification/phone audio to a specific channel lets say front left. I checked android hal service for related interfaces but configuration files doesnt really show clearly how can I implement this.
Are there any kind of example of this? Can you please advice me how can I do it. Even if I can manage to make one stereo pcm output for media + mono pcm output for notifications and calls that should be enough too. I can do the rest with a microcontroller.
One more question I heard few times androids audio mixer layer is so crappy that makes jitter on pcm signals, how is your experiences? For instance qualcomm based socs have integrated dsp why phone developers gets benefit from it?
Thanks
Hi, mbt28 did you manage to find a solution for this?
I'm searching for exactly the same solution, to somehow output digital stream (containing multiple audio tracks) to a DAC, which will then convert it to multiple analog tracks.
Kasparas
I've got multichannel analog output working on my H96 Max V58 tvbox, with a Startech 7.1 channel USB soundcard. It's got Android TV OS 12. I had to edit /vendor/etc/usb_audio_policy_configuration.xml to add the necessary info. I'm attaching a diff with my changes. The changes are just based on what I saw for the HDMI policy. I haven't tried to get the digital channels working on this device yet but that might be nice to try later too.
The reason I deleted some text from the header comment was to keep the overall filesize the same as the original. On my box /vendor is mounted from /dev/block/dm-1 and even though it's an ext4 filesystem, you can't edit any files on it because the FS has no free blocks left. So I had to overwrite the file by finding its byte offset in the block device image instead. If you can edit the policy file on your box, you can ignore that part of the diff.
PS: this is the USB soundcard I used https://www.amazon.com/StarTech-com-7-1-USB-Sound-Card/dp/B002LM0U2S
It works OK except its USB jack is flaky, doesn't always get a good connection. I have to jiggle the cable sometimes to get it to power on, but then it works.
PPS: I just checked, the SPDIF out works as-is, carrying the front left/right audio.

Categories

Resources