Best workaround for 24 Bit playback on Cubietruck

Cubietruck related support

Best workaround for 24 Bit playback on Cubietruck

Postby floyd » 06 Feb 2016, 06:54

Hi Guys,

whats the best work around, do you think, for being able to play all my 24bit files that are in my library through cubietrucks optical out?

I can play them via the 3.5mm output and the quality sounds better than I was expecting, but I do prefer the DAC in my Sony amp.

Is there a downsampling option in Rune?
floyd
 
Posts: 17
Joined: 31 May 2015, 06:54

Re: Best workaround for 24 Bit playback on Cubietruck

Postby hondagx35 » 06 Feb 2016, 11:05

Hi floyd,

what is your problem with 24bit files?

Cubietruck should be able to play up to 24 bits/192 KHz through SPDIF.

It would be great to have more debug information.
Please post the output from:
Code: Select all
cat /proc/asound/card1/pcm0p/sub0/hw_params

while playing some highres files.

Frank
User avatar
hondagx35
 
Posts: 3042
Joined: 11 Sep 2014, 22:06
Location: Germany

Re: Best workaround for 24 Bit playback on Cubietruck

Postby floyd » 06 Feb 2016, 22:45

Gday Frank,

Thanks for the reply mate.

Sorry, Ive made a boo-boo....

This amp/receiver (Sony STR-DB940) is new to me, as my (not-so) trusty Onkyo decided to stop outputting audio.

Anyways, Ive just done some more reading and the issue is my amp, not the cubietruck (although I am surprised to learn that is has no drama outputting 24/192 via spdif, as most sources say it is limited due to hardware, although technically possible)

Turns out my amps DAC can not handle 192 sample rates. Maxes out at 96. But 24 bit is no problem....so Ill have to downsample my 192 files. Bummer. But at least I can play all my other 24 bitters.
floyd
 
Posts: 17
Joined: 31 May 2015, 06:54

Re: Best workaround for 24 Bit playback on Cubietruck

Postby rune11 » 15 Dec 2017, 19:22

Hi All,

I have just installed RuneAudio on my CubieTruck.
I tried to play 24bit/96kHZ over SPDIF, which fails:

Code: Select all
aplay  -D hw:1,0 LessLoss-Drums_duet_5-16_bit-44.1_kHz-LL.wav
Playing WAVE 'LessLoss-Drums_duet_5-16_bit-44.1_kHz-LL.wav' : Signed 16 bit Little Endian, Rate 44100 Hz,

Stereo

[root@runeaudio ~]# cat /proc/asound/card1/pcm0p/sub0/hw_params
access: RW_INTERLEAVED
format: S16_LE
subformat: STD
channels: 2
rate: 44100 (44100/1)
period_size: 5513
buffer_size: 22052


Now 24bit/96kHz:

Code: Select all
[root@runeaudio LessLoss]# aplay  -D hw:1,0 LessLoss-Drums_duet_5-24_bit-96_kHz-LL.wav
Playing WAVE 'LessLoss-Drums_duet_5-24_bit-96_kHz-LL.wav' : Signed 24 bit Little Endian in 3bytes, Rate

96000 Hz, Stereo
aplay: set_params:1233: Sample format non available
Available formats:
- S16_LE



When I play this 24bit/96kHz file via RuneAudio GUI I also get hw_params=S16_LE

It looks like, I face issue described under:
http://www.cubieforums.com/index.php?topic=1081.0

At page 6 we have : >>>>Reply #77 on: April 16, 2015, 11:23:37 pm
which refers to their SPDIF driver for 24bit support over SPDIF,
but this RuneAudio image comes from "v0.3-beta (14/04/2015)".
I have executed update as described under manual pages. It does not help.

Could you please double check hw_params at your side
when you play 24bit/96kHz files ?

Thanks, Chris.
rune11
 
Posts: 1
Joined: 15 Dec 2017, 18:57

Re: Best workaround for 24 Bit playback on Cubietruck

Postby siyaberger » 24 Dec 2019, 10:24

Thank you so much dear
siyaberger
 
Posts: 1
Joined: 24 Dec 2019, 10:21

Re: Best workaround for 24 Bit playback on Cubietruck

Postby rlugli » 08 May 2020, 08:35

I am very happy with Cubietruck and rune audio but what I miss is the possibility to run my Hi-Res streams over spdif interface.
I have the same problem as below
When I play this 24bit/96kHz file via RuneAudio GUI I also get hw_params=S16_LE

It looks like, I face issue described under:
http://www.cubieforums.com/index.php?topic=1081.0

At page 6 we have : >>>>Reply #77 on: April 16, 2015, 11:23:37 pm
which refers to their SPDIF driver for 24bit support over SPDIF,

on the same thread there was also a link to a patch for this but unfortunately the link is not active.
I have no real knowledge about linux and how to manage a change to a new kernel so I hope somebody can help me to understand.

As far as I understood the spdif drivers are compiled into the kernel and the version included in the latest rune ausio version 0.3-beta is 3.4.106.
It seems that the 24bits capabilities issue was addressed short after this release, in kernel 3.4.108 and definitely should be ok in 3.4.113.

I found a repository for the souces here:
https://github.com/yajnab/linux-sunxi/tree/yb-3.4.x

and here the link for the compiled:
http://www.cubieforums.com/index.php?topic=4016.0

Do you think this information can help to solve the issue?
Thanks and regards.
rlugli
 
Posts: 1
Joined: 27 Apr 2020, 12:28

Re: Best workaround for 24 Bit playback on Cubietruck

Postby samevans » 12 Jan 2024, 04:15

The main two are to be able to go to the best upsampling algorithm (src-sinc-best-quality) and to go to higher sampling rates (192kHz, 384kHz?). retro bowl college
samevans
 
Posts: 2
Joined: 12 Jan 2024, 03:50

support RuneAudio Donate with PayPal


Return to Cubietruck

Who is online

Users browsing this forum: No registered users and 0 guests