vbor
Posts: 3
Joined: Wed Apr 01, 2015 8:35 pm

Sound Quality

Wed Apr 01, 2015 8:42 pm

Hi

I'm about to build a media centre for hifi sound output and watching movies. I plan to connect the Pi 2 to an amplifier and then the speakers.

Will the Pi be able to deliver hifi sound to the amplifier given the sound file is good?

Will I have to use the HDMI output to get the best sound quality or doesn't it matter if I use USB or the 3.5mm audio jack?

Thanks for your answer.

drgeoff
Posts: 13827
Joined: Wed Jan 25, 2012 6:39 pm

Re: Sound Quality

Thu Apr 02, 2015 4:45 pm

The analogue audio from the RPi is not up to full CD quality. Whether it satisfies your ears depends on you. :)

A good USB sound card should give comparable quality to that from HDMI.
Quis custodiet ipsos custodes?

User avatar
eriktheitalian
Posts: 358
Joined: Thu Feb 19, 2015 1:03 pm

Re: Sound Quality

Thu Apr 02, 2015 5:21 pm

Rpi's analog output SNR ratio is poor. But u can get perfect SNR ratios with wolfson/cirrus or same type cards. ( U cant find this snr quality on pc sound cards with this price ) Only problem last kernel or pi2 breaks compatibility. I'm not know details.

Easy choice is c-media cm108 based usb adapters. Enough quality. U can find cheap usb cards with spdif output with analog 2/4/5.1 output. But high quality 5.1 output's mean is high load on usb....
I cant using enough English language. My writings can be wrong grammer.$
"in micro$oft we not trust"

vbor
Posts: 3
Joined: Wed Apr 01, 2015 8:35 pm

Re: Sound Quality

Fri Apr 10, 2015 10:27 am

drgeoff wrote:The analogue audio from the RPi is not up to full CD quality. Whether it satisfies your ears depends on you. :)

A good USB sound card should give comparable quality to that from HDMI.
Then I assume I will get more or less perfect sound quality if I use the HDMI output on the PI? If that's the case then I'll use HDMI between the Pi and the receiver. With the receiver set to passthrough I can forward the picture to the TV.

gkreidl
Posts: 6345
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: Sound Quality

Fri Apr 10, 2015 10:36 am

Yes, that is the best solution (USB sound cards are not supported by omxplayer!).
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

User avatar
PeterO
Posts: 6228
Joined: Sun Jul 22, 2012 4:14 pm

Re: Sound Quality

Fri Apr 10, 2015 10:48 am

Dont forget I2S !
http://iqaudio.com/
PeterO
Discoverer of the PI2 XENON DEATH FLASH!
Interests: C,Python,PICO,Electronics,Ham Radio (G0DZB),1960s British Computers.
"The primary requirement (as we've always seen in your examples) is that the code is readable. " Dougie Lawson

vbor
Posts: 3
Joined: Wed Apr 01, 2015 8:35 pm

Re: Sound Quality

Fri Apr 10, 2015 10:52 am

PeterO wrote:Dont forget I2S !
http://iqaudio.com/
PeterO
But this shouldn't be needed if I use HDMI and already have a receiver.

gkreidl
Posts: 6345
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: Sound Quality

Fri Apr 10, 2015 10:52 am

PeterO wrote:Dont forget I2S !
http://iqaudio.com/
PeterO
Not supported by omxplayer also, AFAIK.
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

User avatar
eriktheitalian
Posts: 358
Joined: Thu Feb 19, 2015 1:03 pm

Re: Sound Quality

Fri Apr 10, 2015 10:57 am

gkreidl wrote:
PeterO wrote:Dont forget I2S !
http://iqaudio.com/
PeterO
Not supported by omxplayer also, AFAIK.
Because omxplayer coded for directly analog audio output or hdmi output. Not alsa not pulseaudio no other api ? Is it true ?
I cant using enough English language. My writings can be wrong grammer.$
"in micro$oft we not trust"

User avatar
PeterO
Posts: 6228
Joined: Sun Jul 22, 2012 4:14 pm

Re: Sound Quality

Fri Apr 10, 2015 11:10 am

gkreidl wrote:
PeterO wrote:Dont forget I2S !
http://iqaudio.com/
PeterO
Not supported by omxplayer also, AFAIK.
Hmmm seems some work was done to get ALSA supported, but I can't find evidence of it ever becomming part of released builds :-(
I've not actually tried omxplayer with my IQaudIO DAC.
PeterO
Discoverer of the PI2 XENON DEATH FLASH!
Interests: C,Python,PICO,Electronics,Ham Radio (G0DZB),1960s British Computers.
"The primary requirement (as we've always seen in your examples) is that the code is readable. " Dougie Lawson

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 6940
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: Sound Quality

Wed Apr 15, 2015 4:06 pm

eriktheitalian wrote:Because omxplayer coded for directly analog audio output or hdmi output. Not alsa not pulseaudio no other api ? Is it true ?
omxplayer is a media player whose playback engine runs on the GPU. That means it only knows about the GPU side audio devices (hdmi/analogue) and not about ALSA drivers.
So, no omxplayer will never support ALSA.

kodi does have an alternative media player (dvdplayer) which runs the playback engine on the arm and does support ALSA.

Gswg
Posts: 57
Joined: Wed Oct 16, 2013 10:30 am
Location: Swindon

Re: Sound Quality

Sun Apr 19, 2015 7:02 pm

Dom, is then a non starter for I2S devices? Anything I can look at?

[email protected]

User avatar
eriktheitalian
Posts: 358
Joined: Thu Feb 19, 2015 1:03 pm

Re: Sound Quality

Sun Apr 19, 2015 7:14 pm

dom wrote:
eriktheitalian wrote:Because omxplayer coded for directly analog audio output or hdmi output. Not alsa not pulseaudio no other api ? Is it true ?
omxplayer is a media player whose playback engine runs on the GPU. That means it only knows about the GPU side audio devices (hdmi/analogue) and not about ALSA drivers.
So, no omxplayer will never support ALSA.

kodi does have an alternative media player (dvdplayer) which runs the playback engine on the arm and does support ALSA.
I understand omxplayer is gpu cell focused player. Ok.
Omxplayer is good for me but i'm not care lot.

Kodi is very good software i'm used at lots of scenario. Its not limited with x11. Always smoth gui with full screen opengl/opengles/directx api.
I cant using enough English language. My writings can be wrong grammer.$
"in micro$oft we not trust"

gkreidl
Posts: 6345
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: Sound Quality

Sun Apr 19, 2015 8:01 pm

eriktheitalian wrote:ote]

I understand omxplayer is gpu cell focused player. Ok.
Omxplayer is good for me but i'm not care lot.

Kodi is very good software i'm used at lots of scenario. Its not limited with x11. Always smoth gui with full screen opengl/opengles/directx api.
Kodi uses also omxplayer and it's the only one that can play full HD video.
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 6940
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: Sound Quality

Mon Apr 20, 2015 12:39 pm

gkreidl wrote: Kodi uses also omxplayer and it's the only one that can play full HD video.
It also supports dvdplayer, which gets enabled when ALSA audio is used, so Kodi does support ALSA.

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 6940
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: Sound Quality

Mon Apr 20, 2015 12:42 pm

Gswg wrote:Dom, is then a non starter for I2S devices? Anything I can look at?
Command line omxplayer doesn't support alsa, and there is no simple way of adding support (the audio scheduling and rendering is handled by GPU).

Alternatives that support ALSA are Kodi, and VLC.
Note: vlc in apt-get repo is too old, but building from source gets a version with hardware acceleration for Pi.

Return to “Media centres”