mjbjr
Posts: 1
Joined: Fri Jul 03, 2020 5:46 am

Pi 4 and Volumio this setup "just works"

Fri Jul 03, 2020 6:01 am

I'm a first time Pi user, and I thought I'd post my experience on getting
the Pi 4 to *successfully* work with the Volumio music streamer
app/OS.

For my situation, what I needed was a streamer so that I wouldn't have
to run from the living room into the office to select music on my PC.

For hardware I chose the Raspberry Pi 4... holy smokes, tons of
connectivity and power for such a small size and price.

For software I chose Volumio. I looked at 'rune', but it hadn't been
updated in years.

-----
> Raspberry Pi 4 Model B 2019 (4GB) - Amazon $60.95

----
Since this is a high fidelity project let's try to not insert noise
into the environment at the very beginning. The iFi supply supports
more than enough voltages and amps to handle the Pi 4.

> iFi iPower Low Noise DC Power Supply - Amazon $49.00

-----
At first, I tried getting the audio out of the Pi 4 via the 3.5mm audio
out. It was amazing to run into so many problems finding a
3.5mm to stereo RCA converter cable. There are tons of warnings on the
net about various cables in this catergory that are wired incorrectly,
in one way or the other. I found only one that looked like it would do
the job, but delivery would take TWO MONTHS... forget that.

So, I went with the second most likely candidate. Unfortunately, it was
wired incorrectly. One channel did work though, and when I listened to
that on some wired buds the noise floor was horrendous, though that
could've come from the wiring problem.

These problems drove me from using the 3.5mm analog out to using the
digital HDMI out, which seemed to me should inherently keep the noise
down.

I have to admit that I am a bit surprised that the Raspberry people
can't point users to at least one "just works" solution for every
hardware port. Yes, yes, I know... there are a million variations...
blah blah blah... take the top one or two of the most used variations
and point us to something that "just works."

Well, the first HDMI to RCA converter did not work, at least as a
plug and play device. So, I ordered another one from a different
manufacturer. The J-Tech device extracts the audio out of the HDMI
signal, outputing to two RCA jacks. This unit worked right out of the
box for me:

> J-Tech Digital 4K 60HZ HDMI Audio Extractor Converter [JTD18G-H5CH]
> Amazon $45.98

-----
To connect the Pi 4 to the J-Tech box:

> Waveshare Official Raspberry Pi Micro HDMI to Standard HDMI Cable
> Designed for The Raspberry Pi 4 Computer - Amazon $12.99

-----
To connect the J-Tech to my amp:

> Monoprice 1.5ft Premium 2 RCA Plug/2 RCA Plug M/M 22AWG Cable
> Amazon $6.84

-----
To hold the Volumio OS image

> SanDisk 64GB Extreme microSD SDSQXA2-064G-GN6MA - Amazon $14.97

-----
To hold the music library. I'll update this as needed via sneaker net:

> SanDisk 128GB Ultra Fit pen Drive - SDCZ430-128G-G46 - Amazon $18.99

-----
I get a case to provide some protection. This case is a nine layer
sandwich that bolts (provided) together. This kit also comes with three
chip heat sinks and a fan that gets its power from the Pi 4 by
connecting two leads from the fan to two pins on the Pi 4's 40 pin
GPIO header.

There is one issue with this case, the bottom of the jacks for USB C
power and the two HDMI ports are too close to the case layer that the
Pi 4 pcb rests on, such that the plugs couldn't meet the jacks
sufficently to make a proper connection.

I had to severely cut back the rubber casing of the plugs so that they
would fit properly into the jacks.

I am going to look into this further, and may end up using a Dremel to
grind away part of the interfering case layer or cut the layer edge
away entirely. Or, maybe buy a different case altogether.

> Smraza Case for Raspberry Pi 4 B - Amazon $16.99

------------------------------------------------------------------------
TOTAL $226.71



Previously, there was a special experimental version of Volumio for use
with a Pi 4. That is no longer the case. The standard version of Volumio
now supports the Pi 4.

I download the latest version of Volumio here:

https://volumio.org/get-started/


I always clean newly purchased sdcards/flashdrives incase there are
some nasties on it from the manufacturer (or anybody else), using 'dd'
via linux

# dd bs=4M if=/dev/zero of=/dev/sdi conv=fsync

I use 'dd' to burn the image to an micro-sdcard

# dd bs=4M if=2020-05-27-raspios-buster-lite-armhf.img of=/dev/sdi conv=fsync

Next, install the Volumio app for Android, which I install on an old
simcardless Samsung phone I have. Phones will work fine without a
simcard, they just won't connect over a mobile network.


-- RESULTS --


I connect it all together.

Turn on the juice to the Pi 4 and give it time to boot the
Volumio image.

Then I turn on my phone, and after it boots I turn on its WiFi and
connect to the 'volumio' network with the password 'volumio2'.

Then fire up the Volumio app and go into its preferences and tell it
where to output the audio (HDMI), then hit 'SAVE'. They may advise a
first time reboot at this point (or maybe not.)


Well, everything works well...

audio sounds very clean, nice, and full. (I'll do A/B testing later).


At this point, as a first time Pi user, I learned a few things and am
quite satisfied (so far) with the results.


- mjbjr -

babarion
Posts: 1
Joined: Tue Dec 01, 2020 8:55 am

Re: Pi 4 and Volumio this setup "just works"

Tue Dec 01, 2020 9:10 am

Thanks a lot. Very helpful. At least I know how and where to start.

Next I will try to connect a USB DAC (Toppind D50S)....hoping it will improve the sound.

SMJ
Posts: 3
Joined: Fri Aug 14, 2020 12:50 pm

Re: Pi 4 and Volumio this setup "just works"

Thu Dec 03, 2020 1:10 am

Topping E30 DAC and L30 Headphone Amp makes an ideal headphone based listening setup and works great with a Pi, 1TB USB drive and Volumio or PiCorePlayer as the software. Just choose a pair of good 5v power supplies for the E30 and the Pi to keep the noise floor low. The L30 is AC powered via a transformer that was included.

Currently use wired Sennheiser Momentum 2 or Beyer T51p as the headphones of choice - I hate the sound of Bluetooth data reduction so stay with non-data reduced audio and cabled headphones.

SMJ

deepo
Posts: 808
Joined: Sun Dec 30, 2018 8:36 pm
Location: Denmark

Re: Pi 4 and Volumio this setup "just works"

Thu Dec 03, 2020 9:37 pm

Thanks for the description.
I have Volumio on a Raspberry Pi 3B+ and a HiFiBerry Digi+ Standard with optical out, that goes to the DAC in my stereo.
I have stored all my CD's as flac on a SSD connected to the RPi.
I'm really satisfied with that solution.

/Mogens

sehnsucht
Posts: 7
Joined: Fri Nov 01, 2019 9:39 am
Contact: Website

Re: Pi 4 and Volumio this setup "just works"

Fri Dec 04, 2020 4:04 pm

Question for anyone using volumio and who have a usb drive attached - does it still constantly have to rebuild the library after every reboot?

SMJ
Posts: 3
Joined: Fri Aug 14, 2020 12:50 pm

Re: Pi 4 and Volumio this setup "just works"

Fri Dec 04, 2020 4:37 pm

Hi all

I'm not seeing a library rebuild if I go through the Menu>Shutdown>PowerOff option when I have finished, as is recommended. If I change the structure of the folders on the USB drive or point it to additional network shares then a rebuild seems to be triggered.

SMJ

sehnsucht
Posts: 7
Joined: Fri Nov 01, 2019 9:39 am
Contact: Website

Re: Pi 4 and Volumio this setup "just works"

Sat Dec 12, 2020 8:02 pm

SMJ wrote:
Thu Dec 03, 2020 1:10 am
Topping E30 DAC and L30 Headphone Amp makes an ideal headphone based listening setup and works great with a Pi, 1TB USB drive and Volumio or PiCorePlayer as the software. Just choose a pair of good 5v power supplies for the E30 and the Pi to keep the noise floor low. The L30 is AC powered via a transformer that was included.

Currently use wired Sennheiser Momentum 2 or Beyer T51p as the headphones of choice - I hate the sound of Bluetooth data reduction so stay with non-data reduced audio and cabled headphones.

SMJ
Very similar setup to mine (I have a Schiit Asgard 3 amp). I gave up on Volumio and went with mpd, controlled via the Android app M.A.L.P. Nice and easy. If you're interested in using any of the unused buttons on your remote to control your Pi I wrote up some notes on how I did it here:

https://poldieblog.blogspot.com/2020/12 ... -pi-i.html

If there's any way of controlling Volumio from the command line (in the same way one can control mpd via mpc) then you'll only have to change a few lines of config.

LTolledo
Posts: 5337
Joined: Sat Mar 17, 2018 7:29 am
Location: Anime Heartland

Re: Pi 4 and Volumio this setup "just works"

Sat Dec 12, 2020 11:48 pm

My current setup is RPi3A+ (and another one RPiZW based), and gets its music files from a central NAS (and/or miniDLNA server)...

the DAC for the setup is a cheap PCM5102 module that I have fitted to a perfboard specifically designed for a RPiA+ (or RPiZ)
I can easily change the audio DACs to prebuilt ones like the cheap PiFi DAC, Pimoroni pHAT DAC or even to a iQAudio DAC, but the fun and satisfaction of making one that works is quite "addicting" ;)
as its used for a small room, a PAM8610 amp is sufficient enough

even though I have posted the images of the setup(s) in other topics I can post those again here if requested...
"Don't come to me with 'issues' for I don't know how to deal with those
Come to me with 'problems' and I'll help you find solutions"

Some people be like:
"Help me! Am drowning! But dont you dare touch me nor come near me!"

Tripdad33
Posts: 1
Joined: Tue May 04, 2021 3:52 pm

Re: Pi 4 and Volumio this setup "just works"

Tue May 04, 2021 3:56 pm

I have very similar set up and reasons for streamer.

I'm struggling:
Pi 4
Hifiberry Digi + pro
Shiit Modi 3 DAC

Tried Volumio and Ropieee a million times. Pi 4 just wont connect to wifi.
Can configure while directly connected to computer but once disconnected, will not reconnect.
I am NOT a computer wiz...Darko website made it look 'easy'

Do i really have to edit program language to get this to work?
Any chance Pi wifi broken?

Please help

deepo
Posts: 808
Joined: Sun Dec 30, 2018 8:36 pm
Location: Denmark

Re: Pi 4 and Volumio this setup "just works"

Tue May 11, 2021 7:08 pm

Tripdad33 wrote:
Tue May 04, 2021 3:56 pm
I have very similar set up and reasons for streamer.

I'm struggling:
Pi 4
Hifiberry Digi + pro
Shiit Modi 3 DAC

Tried Volumio and Ropieee a million times. Pi 4 just wont connect to wifi.
Can configure while directly connected to computer but once disconnected, will not reconnect.
I am NOT a computer wiz...Darko website made it look 'easy'

Do i really have to edit program language to get this to work?
Any chance Pi wifi broken?

Please help
Many people forget to put in a country code.
https://www.raspberrypi.org/documentati ... ess-cli.md

Let's see your wpa_supplicant.conf file.

Return to “Graphics, sound and multimedia”