DietPi - HiFi | AirPlay / MPD with SOXR resampling

Post Reply
Fourdee
Posts: 298
Joined: Fri Apr 03, 2015 5:01 am
languages_spoken: english
ODROIDs: C1 / C2 / XU4 + Cloudshell.
Has thanked: 0
Been thanked: 8 times
Contact:

DietPi - HiFi | AirPlay / MPD with SOXR resampling

Post by Fourdee »

What is DietPi?:
http://dietpi.com

DietPi - HiFi:
Lightweight justice for your high-end Odroid HiFi Shield sound card (also works on HDMI).
We will copy a automation file after writing the image. Once powered on, DietPi will automatically setup your device and install the following software:

MPD + YMPD (HiFi): Lightweight web interface music player
  • You can access the interface with http://dietpi-hifi.local:1337
  • Music Player Daemon (MPD) version 0.19.19 (latest)
  • YMPD version 1.3 (latest)
  • 192kHz/24Bit output with SOXR VH re-sampling and ALSA EQ
Image
Image

Shairport-Sync: AirPlay player with multiroom sync
Image

DietPi-JustBoom control panel: Tweak audio options on the fly
  • Simply run dietpi-justboom from the command line to launch
  • This program was originally designed for a JustBoom RPi sound cards, but will work with any sound card.
Image

Samba file server: Easily transfer music to the device
http://dietpi.com/phpbb/viewtopic.php?f ... art=10#p56
Image

-----------------------------------------------------------------------------------------------------------

Step 1 | Download DietPi Image:
http://dietpi.com/download

Step 2 | Download the "DietPi - HiFi" automated installation file:
http://dietpi.com/downloads/conf/DietPi-HiFi/dietpi.txt
After writing the DietPi image:
  • Download the above file (right click, save as)
  • Copy the dietpi.txt automation file to /boot (NB: MS Windows users can simply right click the file and select Send to: BOOT).
  • Power on and watch the magic, your system will be automatically setup.
  • username = root
  • password = dietpi
Step 3 | Select your sound card:
Once the installation is completed, you can change the sound card by running dietpi-config > Audio Options > Soundcard

Step 4 | Access the YMPD web interface
You can access the interface with http://dietpi-hifi.local:1337

Step 5 | Access the DietPi-JustBoom control panel
Simply run dietpi-justboom from the command line.
For Odroid HiFi Shield sound cards:
  • Enable SOXR and Very High for highest quality up-sampling
  • Set output frequency to 192khz
  • Set BitRate to 24bit
How To: Transfer music to the device
  • Access with Windows explorer, using the address \\dietpi-hifi.local\dietpi with username root and password dietpi
  • Place music in the Music folder, then select Update DB in the YMPD interface to refresh
How To: Stream music over AirPlay:
http://dietpi.com/phpbb/viewtopic.php?f ... 1221#p1221

-----------------------------------------------------------------------------------------------------------

FAQ:
How can I setup WiFi?
DietPi has a feature-rich configuration tool called DietPi-Config, simply run dietpi-config then select 'Networking Options: Adapters' from the menu.

What else can DietPi do?
Simply run dietpi-launcher to see a list of all DietPi's programs and features

DietPi
Created by Dan Knight (Fourdee)

Sourcecode (Github)
https://github.com/Fourdee/DietPi
Last edited by Fourdee on Fri Nov 04, 2016 11:59 pm, edited 2 times in total.
http://DietPi.com - Lightweight justice for your Odroid.
DietPi web hosting is powered by http://MyVirtualServer.com

User avatar
odroid
Site Admin
Posts: 41864
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 3433 times
Been thanked: 1920 times
Contact:

Re: DietPi - HiFi | AirPlay / MPD with SOXR resampling

Post by odroid »

Very nice addon packages for Audiophile ! :D

best_odroidfreak
Posts: 366
Joined: Wed May 04, 2016 1:07 am
languages_spoken: english
Has thanked: 1 time
Been thanked: 0
Contact:

Re: DietPi - HiFi | AirPlay / MPD with SOXR resampling

Post by best_odroidfreak »

odroid wrote:Very nice addon packages for Audiophile ! :D
How about using src-sinc-best-quality or src-sinc-medium-quality for HiFi Shield to get for highest quality up-sampling?

Please explain step by step, how configure ALSA plugin /etc/asound.conf to get:
pcm_slave.sl3 {
pcm "hw:1,0"
format S24_LE
channels 2
rate 192000
}
pcm.complex_convert {
type plug
slave sl3
}

see link http://www.alsa-project.org/main/index.php/Asoundrc
Last edited by best_odroidfreak on Fri Nov 11, 2016 1:18 am, edited 4 times in total.

best_odroidfreak
Posts: 366
Joined: Wed May 04, 2016 1:07 am
languages_spoken: english
Has thanked: 1 time
Been thanked: 0
Contact:

Re: DietPi - HiFi | AirPlay / MPD with SOXR resampling

Post by best_odroidfreak »

Fourdee wrote:What is DietPi?:
http://dietpi.com
Sourcecode (Github)
https://github.com/Fourdee/DietPi
Please explain, why you don't use resample-method = src-sinc-best-quality or src-sinc-medium-quality?

Fourdee
Posts: 298
Joined: Fri Apr 03, 2015 5:01 am
languages_spoken: english
ODROIDs: C1 / C2 / XU4 + Cloudshell.
Has thanked: 0
Been thanked: 8 times
Contact:

Re: DietPi - HiFi | AirPlay / MPD with SOXR resampling

Post by Fourdee »

best_odroidfreak wrote:
Fourdee wrote:What is DietPi?:
http://dietpi.com
Sourcecode (Github)
https://github.com/Fourdee/DietPi
Please explain, why you don't use resample-method = src-sinc-best-quality or src-sinc-medium-quality?
Soxr provides a audible 'higher quality / accurate' conversion > output. I don't know the exact figures, you'd need to run a audio capture test to compare converters.
http://DietPi.com - Lightweight justice for your Odroid.
DietPi web hosting is powered by http://MyVirtualServer.com

Post Reply

Return to “I2S Devices (HiFi Shield DAC and Stereo Boom Bonnet Kit)”

Who is online

Users browsing this forum: No registered users and 1 guest