Related
Is it possible to get audio playing over the USB port from the HD2?
With the iPhones, the audio market have a line out dock which takes the proprietory plug the iPhone uses to charge and sync and outputs to a 3.5mm jack. This bypasses the internal amplification circuitry so that you can use an external amplifier for a better signal to your earphones/headphones/speakers of choice.
I was wondering if it was possible to do this with the HTC HD2.
Can anyone offer any insight?
I'm no expert however from what I know, I think the iPhones dock connector has more than just regular USB connections inside. It may have some audio connections and possibly even a video connection. So I'm guessing the audio actually gets sent through that rather than via USB.
However, I imagine that you could send audio via USB but at a guess I think it might require a processor is some description at the other end to take the audio and send it to the speakers.
This may be totally in the wrong direction but I believe it is probably along these lines
Sent from my Nexus S using XDA App
It's most certainly a question for those of the XDA Community who know the ins and outs of the USB port and what it can actually do.
I'd love to think that it is possible. Whilst I'm happy with the output of the HD2 sound quality-wise, the mere thought that it 'could' be better intrigues me.
Can anyone help explain if it can be done, how it can be done or if it can't be done, why it can't be done?
Just to get a bit more info, where were you thinking the USB audio would be used? Like through a PC and then to it's speakers, or do you have some MicroUSB audio dock thing? I imagine whether it is possible or not depends on where you want the audio to go to.
I imagine if it was through a PC then it would be a matter of software, and therefore be possible. But I don't know about a dock situation.
Jonathon Grigg said:
Just to get a bit more info, where were you thinking the USB audio would be used? Like through a PC and then to it's speakers, or do you have some MicroUSB audio dock thing? I imagine whether it is possible or not depends on where you want the audio to go to.
I imagine if it was through a PC then it would be a matter of software, and therefore be possible. But I don't know about a dock situation.
Click to expand...
Click to collapse
From the HD2's USB port into a portable amplifier (3.5mm jack) then onto a pair of IEM's.
I guess it is also plausible that it could go from the HD2's USB port to a USB DAC/Amp then out onto a pair of IEM's but that kind of DAC/Amp doesn't come cheaply and then there's a whole driver issue to contend with, possibly.
This is strictly to improve audio in a portable capacity, as iPhone users seem to have been able to do for quite some time.
Alright then, beyond my scope mate sorry we need other developers to check this out I think.
Anyone?
Sent from my Nexus S using XDA App
Thanks Johnathon.
Hopefully someone else will reply to this. Plenty of views but no chatter.
Yeah, I'm sure you will find someone though! It is the HD2 section after all more than enough devs in these parts
Sent from my Nexus S using XDA App
I do not think it would be, like the DAC isn't it? why not just use the Bluetooth A2DP?
growlye said:
I do not think it would be, like the DAC isn't it? why not just use the Bluetooth A2DP?
Click to expand...
Click to collapse
I do not understand your question and do not see how Bluetooth A2DP would help at all.
Final bump
I know that CyanogenMod9 allows audio out over usb on some phones.
I'm really interested to know too so have asked the Q in the android forum: http://forum.xda-developers.com/showthread.php?p=22920882#post22920882
Fingers crossed...
Bumping
There are many more people interested then it shows here.
I know the following must be in place before USB class audio will work:
ALSA drivers in the kernel
USB host
USB OTG
and if all of that is in, then in theory USB audio should work.
Jelly Bean makes this official, which is nice. but many of us still use CM7, especially Tyween Typhoons, for stability, and it would be awesum if it worked in there, although to be honest I am waiting for the final CM7.2 before I test again.
I did some research for the Xoom when it first came out months ago and then decided to hold off cause of the pricing. Now I'm in the market to get one.
I bought a Toshiba Thrive just a few days ago. The Toshiba works well out of the box including SDcard, usbhost, hdmi and is blazing fast. BUT, the deal breaker for me is the audio and speakers. It is really bad. I dont know how many people tried it and noticed it but even the headphone audio is jacked and using external speakers (with the same video on youtube) my MT4G puts out way better audio and full loud through a good speaker system than the Toshiba Thrive. Even with external speakers the output is lacking. I use the tablet a lot for music so this is kind of a big deal for me. I'm wondering if the Xoom is a better option.
1) Last I heard the Xoom's sdcard and USB doesnt work. How is it now? Did Motorola release an update for the USBhosting or are there specific ROMs that address the problem? If the solution is rooting+ ROMs, do any of these ROMs have anything missing or lacking capabilities? (For example, the camera doesn't work or GPS or WIFI doesn't work, rotation lock, etc.)
2) How are the speakers and audio on the Xoom? Wouldn't make sense to replace the Thrive because of the bad speakers for a Xoom would bad audio. Does the internal speakers sound very tinny or does it crackle? (cause my thrive does) If you plug in headphones and external speakers how is the output? Is the volume really low?
I did a search I can only find so much specific information. I have till the end of the day to return my Thrive and get the Xoom for equal pricing and it would help me out much if someone could just tell me about it.
i only had my xoom for 2 months. and its rooted running tiamats latest rom. honestly audio is great for me and the custom rom fixes any usb and sd card issues without adding any bugs
kettlecorn said:
I did some research for the Xoom when it first came out months ago and then decided to hold off cause of the pricing. Now I'm in the market to get one.
I bought a Toshiba Thrive just a few days ago. The Toshiba works well out of the box including SDcard, usbhost, hdmi and is blazing fast. BUT, the deal breaker for me is the audio and speakers. It is really bad. I dont know how many people tried it and noticed it but even the headphone audio is jacked and using external speakers (with the same video on youtube) my MT4G puts out way better audio and full loud through a good speaker system than the Toshiba Thrive. Even with external speakers the output is lacking. I use the tablet a lot for music so this is kind of a big deal for me. I'm wondering if the Xoom is a better option.
1) Last I heard the Xoom's sdcard and USB doesnt work. How is it now? Did Motorola release an update for the USBhosting or are there specific ROMs that address the problem? If the solution is rooting+ ROMs, do any of these ROMs have anything missing or lacking capabilities? (For example, the camera doesn't work or GPS or WIFI doesn't work, rotation lock, etc.)
2) How are the speakers and audio on the Xoom? Wouldn't make sense to replace the Thrive because of the bad speakers for a Xoom would bad audio. Does the internal speakers sound very tinny or does it crackle? (cause my thrive does) If you plug in headphones and external speakers how is the output? Is the volume really low?
I did a search I can only find so much specific information. I have till the end of the day to return my Thrive and get the Xoom for equal pricing and it would help me out much if someone could just tell me about it.
Click to expand...
Click to collapse
Audio is great. Speaker dock works well. People who use other external speakers have said it sounds great. Headphone sound is very good.
SDcard and usbOTG both work with HC3.2 but rooting and flashing the most recent Tiamat rom Hammerhead or just the Tiamat Tachi kernel will add lots of functionality and even more smoothness. HC3.2 has a few more or less minor bugs (e.g. default app chooser window) but these are easily remedied.
I bought wifi Xoom at almost full price back in the Spring and couldn't be happier.
I am pretty happy with the audio output of the Xoom. The speaker dock works very well and the audio output is fine for headphones or external speakers.
One thing I would suggest is an app called "Equalizer". As you can guess this is an EQ. It can auto detect the type of music and change the EQ to one of the default presets. I use it to tweak the volume up a bit if needed.
The built-in speakers are a bit tinny and since they are rear facing that just makes it worse. The EQ application can help a bit here, but if you overdrive everything it will really sound horrible.
Thanks. Is the xoom with 3.2 stock going to be able to read and write microsd and usb with external harddrives and usb flash drives? I would hate to give up the Thrive if it didn't have this capability.
Hi Devs.
After doing a little research, its seems that USB audio support is enabled in the S3 kernel. There seems to be a fair bit of support for implenting this feature accross a range of devices.
I also note that the cheap C-media chips are recognised by the S3 kernel. So I'm going to buy one, as they are cheap as chips. I realise the sound quality won't be up to much but its a step in the right direction, as I don't currently have and other USB audio devices.
So, I fancy a little kernel compiling. I have done this on linux systems many years ago and I still compile the odd program when I have to. There seem to be some kernel compiling good guides, but I am wondering if anyone else is looking into this feature, or can suggest a good place to start. Is it worth starting with an S3 kernel, (I guess not) or should I start from scratch, or another kernel I like? Anything I compile and test will have cifs support, as its something I can't do without.
I also see the Glados kernel for Nexus already has USB audio support.
Obviously I'm aware of the emmc erase issue, so starting with sources that disable this feature would be a good idea.
Am I completely mental or is this worth having a go at? I'm willing to wait a while if its too dangerous to try until Samsung release a fix for the SuperBrick.
I'll admit I'm rusty, but I have successfully complied kernels in the past.
Any comments will be graciously be recieved!
OK, no love for USB audio. Looks like I'm on my own then!
+1 for USB audio
Galaxy note Paranoid Android 1.7ghz goodness
audio over usb
Galaxy Note has USB audio support too. Take a look at Samsung EDD-D1E1 Dockingstation for Samsung Galaxy Note. it's with Line-Out for external speaker.
The note doesn't supply much power in the USB OTG configuration so may need to be an externally powered unit, or running via a hub.
As NBLive says, the car dock has a USB --> 3.5mm option which works fine with the Note (I was using it about 2 hours ago), so the support is there, we just need driver support for "generic" units.
It's also pretty much a non-issue for the S3 anyway as it's got the good Wolfson DAC rather than the crappy Yamaha (iirc) one the Note has.
NBLive said:
Galaxy Note has USB audio support too. Take a look at Samsung EDD-D1E1 Dockingstation for Samsung Galaxy Note. it's with Line-Out for external speaker.
Click to expand...
Click to collapse
As I recall it the dockingstation only have analog audio (not usb audio but it might use the same connector), I have the dock somewhere, will check when I find it.
To OP, you are absolutely not alone on this one, It is one of the most requested features on Android (link).
There are also a few threads in the forum.
slinbin said:
As I recall it the dockingstation only have analog audio (not usb audio but it might use the same connector), I have the dock somewhere, will check when I find it.
To OP, you are absolutely not alone on this one, It is one of the most requested features on Android (link).
There are also a few threads in the forum.
Click to expand...
Click to collapse
You are correct. The dockstation is just a usb connector with the sense pin 4 having a resistor of a certain value connected to ground, telling to phone to output analogue audio to the data lines of the usb circuit. This is similar to how the phone senses a USB OTG or MHL-HDMI cable.
What I'm talking about here is USB audio device driver support at the kernel level. Currently its not compiled into the Note's but is supported for a limited number of devices in the galaxy S3 kernel. Simplistically put, the phone doesn't have the drivers.
I've looked around at various config files in the Note and am now wondering if SPDIF audio can be outputted over USB. However, I could be wrong as the there is a lot of ancient crap left over from linux configs from 10 years ago, for instance, config files for Turtle Beach sound cards!
The other option is to use the MHL-HDMI adaptor and then an HDMI to digital audio but that's a bit clunky and given that the S3 can do what we want, it shouldn't be too hard.
The advantages of this are a higher quality audio, multi channel output from DTS surround Vidoe and audio and stereo line in recording. Although android is not the greatest OS for audio work due to latency issues, USB audio support is a step towards iphone like audio recording/mixing and effects work. The S3 can also support much higher Bit rates and sampling frequencies, upto 24bit/192kHz. Far better than CD quality, let alone mp3.
Many people can't hear or don't care for higher quality audio. I for one can tell the difference between mp3 and CD or FLAC. To be honest, listening to mp3's can sometimes be painful to my ears. If you can't hear the difference, imagine being forced to listen to everything on an AM radio!
Sorry to blabber on lol
knightnz said:
The note doesn't supply much power in the USB OTG configuration so may need to be an externally powered unit, or running via a hub.
As NBLive says, the car dock has a USB --> 3.5mm option which works fine with the Note (I was using it about 2 hours ago), so the support is there, we just need driver support for "generic" units.
It's also pretty much a non-issue for the S3 anyway as it's got the good Wolfson DAC rather than the crappy Yamaha (iirc) one the Note has.
Click to expand...
Click to collapse
Reports are coming in that the Woflson DACs are not sounding so good. The Car docks do not have any kind of DAC in them.
+1, This would be great if I could use my Fiio E17 on note!
Sent from my GT-N7000 using XDA
I can build a kernel with that for you.. I guess. if nothing fails to build.
I'm using a custom kernel that I've had built for myself. Its basicly a Speedmod kernel with some modules (USB ethernet).
Do you have any chip in mind? I can make a CWM package to you.
It will be a Speedmod kernel with the modules.
Remember that Its not a kernel module thay you Want. I don't know if Android will recognize it and play out thru it.
mdrjr said:
I can build a kernel with that for you.. I guess. if nothing fails to build.
I'm using a custom kernel that I've had built for myself. Its basicly a Speedmod kernel with some modules (USB ethernet).
Do you have any chip in mind? I can make a CWM package to you.
It will be a Speedmod kernel with the modules.
Remember that Its not a kernel module thay you Want. I don't know if Android will recognize it and play out thru it.
Click to expand...
Click to collapse
Thanks a lot, saves me setting up a dev environment. I'm still struggling to get a stable laptop and I really don't wanna start doing critical stuff with it (fingers crossed, no hard video hangs with ubuntu 12.04!)
Try compiling for the cheapo c-media chipsets. They are only £1.50 and one is in the post. Think the driver is called cs4281 or something similar and are used in loads of crappy speakers/headphones.
I have read reports that these are recognised under dmesg on the S3.
If this is successful, they I might buy a better USB DAC.
I wonder if the yamaha chip can be persuaded to output spdif over usb. This would enable a wider (and cheaper!) range of DAC's to be used. There is support for ie958 under alsa in android........just a thought.
EDIT: hold off till I get the usb sound device. Some of them are using newer chipsets. I will plug it in to a linux machine and let you know what it is.
I would really benefit being able to plug my YETI microphone into my note for journalism. I remember vaguely looking at it a while ago where people were saying that you need to edit a file (to fake drivers or something) but in the end they were waiting on Google to release audio USB drivers.
I'm only a noob so take what I say with a pinch of salt.
+1
I would love to be able to plug a USB mic into the Note for audio recording.
I don't know if it will solve the latency problems that Android has, but the better audio quality would be good.
reconchrist said:
I would really benefit being able to plug my YETI microphone into my note for journalism. I remember vaguely looking at it a while ago where people were saying that you need to edit a file (to fake drivers or something) but in the end they were waiting on Google to release audio USB drivers.
I'm only a noob so take what I say with a pinch of salt.
Click to expand...
Click to collapse
richlum said:
+1
I would love to be able to plug a USB mic into the Note for audio recording.
I don't know if it will solve the latency problems that Android has, but the better audio quality would be good.
Click to expand...
Click to collapse
I currently have a logitech usb mic to test with also but I have to stress, this testing is just intitial driver support. There probably won't be any programs that will be able to select inputs for recording. I may be able to write a script to select an alternative input device but we are still quite far from this goal.
Glad to see things gaining traction. Hopefully google and samsung are already far ahead and will release something soon.
I would like to see the S3 sources though!
I've been looking through the S3 kernel source. Under /drivers/usb/gadget/ there a various drivers and headers called f_audio.c, u_audio.c, u_audio.h.
Also the Kconfig file details on how to implement these drivers into the kernel. It seems to me that if these can be compiled sucessfully for the Note kernel, it should just be a matter of changing alsa config files to at least initially get audio input/output support for usb audio devices.
Can't wait to have a go!
Someone else will have to write an app to do the device selection in a nice way. That side of things is beyond me.
Downloading the Note kernel source to compare.
Do you know if android uses any sound manager?
My worst fear is that we can't play sound thru it.
Getting a USB device to be recognized by the kernel is easy. All I need to do is to build a kernel with that extra module.
Load the module and boom. Kernel should recognize it.
How about Android sets his output to that new device?
-Zage- said:
+1, This would be great if I could use my Fiio E17 on note!
Click to expand...
Click to collapse
That's the kind of cake I wanna eat.....
Have your music in one place listen to lowQ when thats enough and highQ when you want that (with a extra box on the side, but the music and control stays in the Note).
I feel like if android natively supported exterior USB audio better. The app potential would be huge for audio out apps and simple 2-8 track recording apps among other things
Galaxy note Paranoid Android 1.7ghz goodness
Always looking to improve sound quality. Thanks for thinking outside the box. Hope it all works out in our favour. Suck it iphones xD.
Dynamano said:
Always looking to improve sound quality. Thanks for thinking outside the box. Hope it all works out in our favour. Suck it iphones xD.
Click to expand...
Click to collapse
Whilst I don't like Apple products at all, audio is the one area that an Android user just hangs his head in shame when someone with iOS shows them what they can do on their iphone or ipad.
I'm hoping Android gets a low latency solution soon, but even then, it will be a long way till Android if close to being on par with iOS for audio apps.
I know there was a workaround to get USB audio to work with the Nexus 7, but would this work with the N4 as well?
Potentially, but we'll need a kernel that supports it first. So I wouldn't expect anything for a few weeks at best.
zookalicious said:
Potentially, but we'll need a kernel that supports it first. So I wouldn't expect anything for a few weeks at best.
Click to expand...
Click to collapse
I'm hoping it will at least be compatible with the E17.
Any word on this yet?
/me chomps at the bit
Really curious about the plausibility of using my iBasso D-Zero with my N4, will donate well for a solution!
Could someone please test this app with a USB DAC? I would really like to know if it works with the N4. It is supposed to provide USB DAC support without using custom kernels. I dont have a DAC right now unfortunately...
https://play.google.com/store/apps/...vbS5leHRyZWFtc2QudXNiYXVkaW9yZWNvcmRlcnBybyJd
Please press the thanks button if it works for you
moose392 said:
Could someone please test this app with a USB DAC? I would really like to know if it works with the N4. It is supposed to provide USB DAC support without using custom kernels. I dont have a DAC right now unfortunately...
Click to expand...
Click to collapse
In the description, it states that it will not play audio from other programs. So it's pretty much useless for all other purposes other then playing recordings from the program.
I'm just looking for a way to hook up my N4 by USB to my car's AUX input. Any suggestions?
Well, the idea is pretty neat, I like it.
But really, the s4 chip does not have really impressing SQ.
Better buy a FiiO USB DAC, wich is only 100$ and gives you really nice quality.
Though, using a galaxy s1 i9000 and it's wolfson chip as USB DAC would be really really nice...
Rather than ask 2 separate questions I'll put both in this.
First off, I'm gonna be getting an external HD to copy my music from my laptop which I'll be selling, I assume the Nexus works fine with an External HD,can someone confirm they use one with the Nexus and there are no problems.
Secondly, my Galaxy S3 earphones don't really fit the Nexus too good and the sound is bad whereas the sound on the S3 is fine, is there a specific type of earphones I need for the Nexus?
Cheers
Sent from my Nexus 7 using xda app-developers app
Anyone??
I always switch whatever I have to skull candy headphones.... nice bass you can actually feel and great but not excellent jizz yourself kind of good
Sent from my Galaxy Nexus using xda premium
As you said anyone I thought I'd chime in.
1. I used to my N7 with a multitude of external HDs up to 1TB, some requiring external power, some not and its always worked for me until the updating to 4.2 that is, now otg USB mounting has become complex. So as far as my experience goes is as long as you have not updated you should be able to use the HD without issues all you will need is a mounting application like StickMount or USB OTG Helper.
2. I use standard 3.5mm Philips headphones and they seem to work. Sorry not much help I know.
شیرخدا said:
As you said anyone I thought I'd chime in.
1. I used to my N7 with a multitude of external HDs up to 1TB, some requiring external power, some not and its always worked for me until the updating to 4.2 that is, now otg USB mounting has become complex. So as far as my experience goes is as long as you have not updated you should be able to use the HD without issues all you will need is a mounting application like StickMount or USB OTG Helper.
2. I use standard 3.5mm Philips headphones and they seem to work. Sorry not much help I know.
Click to expand...
Click to collapse
Thanks mate :good:
No plans on updating to thje nightmare that is 4.2, never read so many bad reports about any update as i have this.
Until the 4.2 update has left me with onboard speaker only, I was enjoying my Samsung issued buds despite the insertion effort. J5M JBuds are also a nice fit.
I have CM10 installed on mine and I have used it with a 2TB powered hard drive (formatted as NTFS) as well as a 64GB USB thumb drive (formatted as FAT32). As stated, there are apps that allow mounting USB drives. Or you can flash a custom kernel and/or CM10 to enable it. It doesn't work out of the box though.
I have used a few different headphone sets with mine and not had any issues. If the S3 headphones don't fit well then maybe the connections are not lining up properly inside the plug, which might lead to some funny audio quality I imagine. You might need to buy some new ones.
External hd is fine, but I have noticed some kernels make it go weird with my Seagate external, I assume that's because it's not getting enough power, it will run for a bit then stop then start.
I currently have a set of turtle beach m3 headphones, they're fantastic.
Sent from my Nexus 7 using xda app-developers app
Appreciated folks thanks for the tips :good:
jonny68 said:
Secondly, my Galaxy S3 earphones don't really fit the Nexus too good and the sound is bad whereas the sound on the S3 is fine, is there a specific type of earphones I need for the Nexus?
Click to expand...
Click to collapse
The one thing no one has mentioned is that you really have give the headphone jack a good shove to get it seated properly.
That usually fixes headphone/earbud audio issues.
Simeon
Sent from my Nexus 7 using Tapatalk 2