Android phones and USB DACs
Jul 14, 2013 at 7:29 AM Post #2,626 of 9,526
Interesting 96/24 mod!
Bravo!


Yeah, this is very interesting. I plan to give it a go (I also have a FiiO E07K), but I'm currently running an AOKP build with the 3.4 kernel, which currently has no USB OTG support at all. I guess OTG support will come as the kernel matures so I may wait, or I might flash back to the latest 3.0 build and have a go getting it working on that.
 
Jul 14, 2013 at 8:48 AM Post #2,627 of 9,526
Rather good news!
The Google issue 24614 "Add support for USB Audio" has been switched from "Reviewed" to "Assigned".
https://code.google.com/p/android/issues/detail?id=24614&sort=-stars&colspec=ID%20Type%20Status%20Owner%20Summary%20Stars
 
 

 

 
 
[size=10pt]"Assigned (someone is on it, possibly behind closed doors, possibly anonymously, possibly on a closed-source component relevant for AOSP)."[/size]
https://groups.google.com/forum/#!msg/android-contrib/1RMecRPymU4/L91az8Rr9jIJ
 
"The expected issue life-cycle for most projects is something like this:
 
1. A user reports an issue and it has status New.
2. The issue is triaged by a project member, if it was not originally entered and triaged at the same time. It may be rejected by setting its status to Invalid, WontFix, or Duplicate. Or, it may be Accepted. It it is accepted, it is may be labeled with a milestone and a priority within that milestone, and it may also be labeled to identify the part of the product affected or the nature of the cause of the problem.
3. The project owner may ask for more information and the initial reporter may add comments to provide that information. The issue owner may set the status to Started.
4. Other users may provide additional comments that can help resolve the issue, or express their interest in having the issue resolved in a timely milestone.
5…
…"
https://code.google.com/p/support/wiki/IssueTracker
 
Jul 14, 2013 at 8:48 AM Post #2,628 of 9,526
If the Google issue 24614 owner ask for more information, the USB Audio requirements should be:
 
Basic requirements:
1. Support for 24-bit/192kHz digital output
Rationale:
More and more USB DACs can support 24/192, and it is already supported in some Android USB audio implementations:
. USB Audio Recorder PRO
http://www.head-fi.org/t/595071/android-phones-and-usb-dacs/1080#post_8968861
. Modded CyanogenMod CM 10.1
http://www.head-fi.org/t/595071/android-phones-and-usb-dacs/2625#post_9614865
 
2. Support for USB ACA (Accessory Charger Adapter)
http://www.head-fi.org/t/595071/android-phones-and-usb-dacs/2580#post_9598490
Rationale:
An ACA-compliant Android device operating as a USB host is also able to charge at the same time. It draws power from an external power supply, or from an ACA-compliant USB DAC.
It is not a USB Audio feature per se, but such a USB ACA feature recommended by Google should encourage the mass production of USB OTG – ACA components, and prevent Android device manufacturers from implementing non-standard ACA.
http://www.head-fi.org/t/595071/android-phones-and-usb-dacs/2595#post_9601384
 
Optional requirement: USB Audio parameter settings like buffer size setting for sound quality tweaking purposes
Rationale:
. "The secret of USB Audio Recorder PRO [my preferred SQ music player]: "source direct" like the audiophile Audirvana player for Mac OS X?"
http://www.head-fi.org/t/595071/android-phones-and-usb-dacs/2475#post_9512914
. "An interesting example is the HRT music streamer II, it IS asynchronous USB, but it is still very sensitive to what happens in the computer. On the SAME COMPUTER I can make simple changes to OS scheduling parameters and get a huge difference in the sound. At one end of the scale it’s dull, lifeless, no depth at all, at the other end of the scale it is wonderfully alive, dynamic, huge depth etc. And all this by just changing a few numbers, NO change in hardware at all."
http://www.audioasylum.com/cgi/m.pl?forum=pcaudio&n=101397
 
 
Any missing USB Audio requirement?
 
Jul 14, 2013 at 9:18 AM Post #2,629 of 9,526
AWESOME!!!! Now let's just hope it takes them less time to implement than it did to identify that this needed to be fixed :wink:
 
Can't see anything that you'd be missing there DanBa, other than possibly dictating asynchronous or something (which I'm not at all sure would be beneficial as it seems like it would limit connectivity options). Great work man!!!
 
Jul 14, 2013 at 10:05 AM Post #2,630 of 9,526
Interesting 96/24 mod!
Bravo!


Now I want to try to run MPD server on android somehow, to bypass any interference from the os itself and communicate directly with alsa. Controlling it would be easy, there are tons of MPD Clients on android.

But until then you can try to use XBMC, it supposed to communicate with alsa directly as well.

EDIT: XBMC is no-go, at least for now. Alsa support isn't working properly. At least I can't get it to work. If someone else can - please share.
 
Jul 14, 2013 at 2:20 PM Post #2,631 of 9,526
Raenmor, I found this the other day. My face lit up as it's something that I've wanted for years, myself.

An Android port of MPD itself.

https://play.google.com/store/apps/details?id=be.deadba.ampd
 
Jul 14, 2013 at 2:36 PM Post #2,632 of 9,526
Raenmor, I found this the other day. My face lit up as it's something that I've wanted for years, myself.

An Android port of MPD itself.

https://play.google.com/store/apps/details?id=be.deadba.ampd


That's great! But now we have to convince the developer to include alsa output module, and we are good to go for bit-perfect audio output from android. :D
 
Jul 14, 2013 at 6:20 PM Post #2,633 of 9,526
Quote:
AWESOME!!!! Now let's just hope it takes them less time to implement than it did to identify that this needed to be fixed :wink:
 
Can't see anything that you'd be missing there DanBa, other than possibly dictating asynchronous or something (which I'm not at all sure would be beneficial as it seems like it would limit connectivity options). 

 
As far as I understand, the USB asynchronous mode seems to be no problem for the USB host (i.e. Android device): Samsung USB Audio or USB Audio Recorder PRO can drive the asynchronous HRT microStreamer.
 
Jul 14, 2013 at 8:43 PM Post #2,634 of 9,526
As far as I understand, the USB asynchronous mode seems to be no problem for the USB host (i.e. Android device): Samsung USB Audio or USB Audio Recorder PRO can drive the asynchronous HRT microStreamer.


Makes sense. Thanks for the reply :wink:
 
Jul 14, 2013 at 11:05 PM Post #2,635 of 9,526
Did you ever end up making more of these?
 
I would love to buy one with a micro-b, usb-a female and a usb-a male .
 
Does anyone else know if those exist?  I bought this one http://www.ebay.com/itm/130892962220?ssPageName=STRK:MEWNX:IT&_trksid=p3984.m1497.l2649 but it didn't charge the phone.
 
Quote:
It works!!

Received my new soldering station yesterday, and tonight built me a crude but real world usable OTG + charging cable. In addition to the micro usb-b for the S3 and the mini usb-b for a DAC, it has an additional usb-a connector to hook up to an external usb powersource.

This will allow me to play music via external DAC & use satnav while driving my car without draining my phone battery (the music isnt much of a drain, but satnav with the screen at a useful brightness level...)

Once I find some connectors that I like enough I'll make a nicer finished one, or a few, or maybe a few more and sell some...


 
Jul 15, 2013 at 1:51 PM Post #2,637 of 9,526
Quick question about the latter: can a terminal emulator be used to add that code?


Honestly i have no idea. Probably you can configure alsa through terminal, but it's much easier to use notepad++ or something like this to edit asound.conf. As for the audio_policy - I highly doubt that there is any way to do it through terminal.

2All: Does anyone here is (or knows) any decent developer that can activate alsa output in aMPD found earlier? There are sources available including ported alsa_output module, but unfortunately straightforward approach didn't work, so it requires some (unknown to me) modifications.
 
Jul 17, 2013 at 2:22 AM Post #2,638 of 9,526
"Android Devices Play High Resolution Audio Using the AlgoRhythm Solo -dB":
http://cypherlabs.com/blog/post/android-devices-play-high-resolution-audio-using-the-algorhythm-solo-db
 
 

 
 
"[size=medium]Tracks of resolutions up to 24/192 now play from Android devices through the AlgoRhythm Solo –dB, at full resolution in asynchronous mode. Simply load tracks, or entire folders of tracks, onto a micro SD card, connect the devices and play tracks using the application "USB Audio Recorder Pro". It is actually very easy, but I've written a detailed procedure here for those who love to read manuals.[/size]
 
Equipment needed:
• AlgoRhythm Solo –dB
• Android device, such as Samsung S3 or S4
• OTG male micro USB to female USB A
• USB A to USB mini B cable (supplied with Solo –dB)
• USB Audio Recorder Pro application for Android, created by eXtream Software Development, $6.00 on the Google app store
• Headphone amplifier and headphones
• Recording format selection: wav/flac/ogg/aiff (No mp3)
..."
 
 
By the way, the AlgoRhythm Solo –dB is the 100th USB DAC on my list of USB DACs compliant with the Galaxy S3 from some $ to $2280.
 
Jul 17, 2013 at 5:46 PM Post #2,639 of 9,526
Please, tell me how can I make Fiio E17 work with Xperia Neo via USB audio recorder pro. When I turn the recorder on in claims: "Failed to initialize USB device. The device was opened, but the USB stack did not configure it. This usually happens when the device consumes too much power". I turned the USB charge on Fiio off, but it still doesn't work. Can I make it work without using a powered USB-host?
 
Jul 18, 2013 at 6:30 AM Post #2,640 of 9,526
Quote:
Please, tell me how can I make Fiio E17 work with Xperia Neo via USB audio recorder pro. When I turn the recorder on in claims: "Failed to initialize USB device. The device was opened, but the USB stack did not configure it. This usually happens when the device consumes too much power". I turned the USB charge on Fiio off, but it still doesn't work. Can I make it work without using a powered USB-host?

 
According to phonearena.com, the XPeria Neo does not have USB host mode. The information on their site is not always 100% correct, so you should check again, but that can be the cause.
 

Users who are viewing this thread

Back
Top