[TIP] Hi-Res Audio for Android devices

Report bugs and unexpected behavior here.
dmitrykos
Site Admin
Posts: 1847
Joined: Mon Apr 25, 2011 6:15 pm

Re: [TIP] Hi-Res Audio for Android devices

Post by dmitrykos » Sun Oct 15, 2017 8:02 am

what influence the setting of the hardware and software latency on the music reproduction has
Basically there is no influence on quality. Smaller HW Latency will make spectrum analyzer more real-time but may introduce underruns. I advise to keep latencies (HW, SW) on their default levels.

kurimi
Posts: 5
Joined: Thu Oct 12, 2017 6:59 am

Re: [TIP] Hi-Res Audio for Android devices

Post by kurimi » Tue Oct 17, 2017 9:56 pm

Hi,
Updated to 1.97.2. Tried to enable Hi-Res Codec (long tap on Use Generic Driver) on my xdp-100r but got extremely distorted sound (warning : might damage hardware and/or user's hearing!!!).
Bits are reported as 8.24 and frequency 44100.

Trying to find out what are the right custom format to use, perhaps no one will work.
With custom format it reports as :
/proc/asound/card0/pcm0p/sub0/hwparams
Access : RW_INTERLEAVED
Format:S16_LE
Subformat: STD
Channels 2
Rate :48000 (48000/1)
Period_size:960
Buffer_size:3840

Other devices are reported as closed.

dmitrykos
Site Admin
Posts: 1847
Joined: Mon Apr 25, 2011 6:15 pm

Re: [TIP] Hi-Res Audio for Android devices

Post by dmitrykos » Wed Oct 18, 2017 2:49 pm

> kurimi,

Would you please e-mail to neutronmp@gmail.com and I will send you a dev version which writes logs for checking what is happening and what is possible to do.

For a custom format please try:

44100
24-bit Int, if not works, 24-bit Int (8.24), if not works 32-bit Int
PRIMARY

If real format changes to this one then you could add more frequencies.

kurimi
Posts: 5
Joined: Thu Oct 12, 2017 6:59 am

Re: [TIP] Hi-Res Audio for Android devices

Post by kurimi » Wed Oct 18, 2017 9:48 pm

Tested a bit, seems the only format accepted in hi-res mode is 8.24. Other formats will revert to 16/48khz.
But changing the sample rate and modes don't affect sound, still distorted and very loud.
Will request the test version, thanks for looking into it.

ruby99173
Posts: 1
Joined: Mon Oct 23, 2017 11:47 am

Re: [TIP] Hi-Res Audio for Android devices

Post by ruby99173 » Mon Oct 23, 2017 3:11 pm

i use onkyo dp-x1 and make the setting as below

1) Generic Driver = ON
2) Generic Driver -> Hi-Res Codec = ON
3) Generic Driver -> Hi-Res Speaker = ON
4) DSP Effect (Device) = OFF
5) Low Latency = OFF
6) 32-bit Output (IEEE 754) = OFF

Although the hi-res audio setting is on successfully(out:8.24), but i listen a very loud noise playing when i played the music.

Rioter
Posts: 7
Joined: Tue May 31, 2016 6:39 am

Re: [TIP] Hi-Res Audio for Android devices

Post by Rioter » Tue Oct 24, 2017 1:51 pm

HTC 10.
1) Generic Driver = ON
2) Generic Driver -> Hi-Res Codec (Offload) = OFF
3) Generic Driver -> Hi-Res Speaker = ON
4) Generic Driver -> Custom Format = ON
5) Custom Format -> FORMAT -> 32-bit int (all options worked).
6) Custom Format -> Frequency -> 44100-192000 (352800-768000 is working too but sounds dull).
7) Custom Format -> Mode -> selected all (all working, tried by selecting each separately).
8) Low Latency = OFF
9) 32-bit Output (IEEE 754) = OFF

stefur
Posts: 7
Joined: Wed Jul 26, 2017 8:24 pm

Re: [TIP] Hi-Res Audio for Android devices

Post by stefur » Thu Oct 26, 2017 8:59 am

>Rioter
tried your settings and it worked indeed, thanks. BUT, as Dmitry wrote in another post:
dmitrykos wrote:How to check Hi-Res Audio is available
If you wish to to know whether your device has Hi-Res Audio support just access Audio Hardware -> Frequency section. Hi-Res Audio capable devices will have multiple frequencies listed, Bits field will show 24 or 8.24 or 32 in [out: X] placeholder. Additionally you can tap on a panel with Channels, Bits in Audio Hardware and see the current audio output format. If all audio devices indicate 'closed' during playback then it is a sign of Hi-Res Audio as well.
With your settings, I see one device open (/proc/asound/card0/pcm0p/sub0/hw_params) with the following:

access: RW_INTERLEAVED
format: S24_3LE
subformat: STD
channels: 2
rate: 48000 (48000/1)
period_size: 1920
buffer_size: 3860

It doesn't matter what file I play, even with a 24/196 file I always get this. What confuses me is the rate (48000). Does it play high res or does Newton downsample all to 48000?

steve

stefur
Posts: 7
Joined: Wed Jul 26, 2017 8:24 pm

Re: [TIP] Hi-Res Audio for Android devices

Post by stefur » Mon Oct 30, 2017 11:49 am

hi all

when I get the message above ("rate: 48000"), would it generally be better to choose a fix frequency rate of 48000 in Neutron instead of a variable sample rate, since then Neutron's SRC is used and not Android's?
thx, steve

Mlknez
Posts: 3
Joined: Wed Nov 01, 2017 5:55 pm

Re: [TIP] Hi-Res Audio for Android devices

Post by Mlknez » Wed Nov 01, 2017 7:00 pm

The current version is only seeing the Qualcomm DAC in the LG V30 and not the Sabre ESS9218P DAC. When will support for the LG V30 be included?

Mlknez
Posts: 3
Joined: Wed Nov 01, 2017 5:55 pm

Re: [TIP] Hi-Res Audio for Android devices

Post by Mlknez » Wed Nov 01, 2017 7:18 pm

clydec38 wrote:Thanks for the update, seems to be working flawlessly on my LG V20.

One question, will there be an option to increase volume limit, ratio similar to when a USB dac is connected?

Is a very useful feature,

It never did work correctly on the LG V20

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 5 guests