Raspberry Pi + Rune Audio ::: Một trải nghiệm nghe nhạc mới

tml3nr

Moderator
Là sao bác nhỉ
upmpdcli nếu như không install một cái plugin tên là upmpdcli-tidal. Thì nó chỉ hoạt động như là một upnp / dlna renderer bình thường. Chứ nó không thể dùng app Lumin phát nhạc Tidal online được ạ.

PS: Cơ chế upmpdcli Tidal là pi lấy nhạc trực tiếp từ internet, tương tự như Spotify connect hay Chromecast. Chứ không cần phải thông qua một thiết bị làm proxy để đẩy nhạc sang renderer.

https://www.lesbonscomptes.com/upmpdcli/downloads.html

Finally, install the packages. Except for upmpdcli itself, all the packages are independant, only install what you need !:

sudo apt-get update
sudo apt-get install upmpdcli

# Optional streaming services
sudo apt-get install upmpdcli-gmusic
sudo apt-get install upmpdcli-tidal

# Optional Songcast gateway
sudo apt-get install sc2mpd

# Optional Songcast Receiver control web interface
sudo apt-get install scweb
 

tellme0823

Well-Known Member
Nhóm phát triển họ đã trả lời vụ cấu hình roon, bác nào ở nhà thử giúp
C27HIj.png
 

toi511

Well-Known Member
upmpdcli nếu như không install một cái plugin tên là upmpdcli-tidal. Thì nó chỉ hoạt động như là một upnp / dlna renderer bình thường. Chứ nó không thể dùng app Lumin phát nhạc Tidal online được ạ.

PS: Cơ chế upmpdcli Tidal là pi lấy nhạc trực tiếp từ internet, tương tự như Spotify connect hay Chromecast. Chứ không cần phải thông qua một thiết bị làm proxy để đẩy nhạc sang renderer.

https://www.lesbonscomptes.com/upmpdcli/downloads.html
Mấy dòng lệnh trên mình vào để chỉnh bằng cách nào bác. Bác rành hướng dẫn cụ thể em chút. Em bó mỏ luôn. Thanks bác
 

quatmo

Well-Known Member
Đã cài thử, không có roon với uPNP, có thể cài ép roon core bằng lệnh, cũng có thông báo thành công nhưng vào roon thì lại không nhận. Roon chỉ nhận qua airplay:(, tín hiệu xanh lè:confused:
Spotify với mấy cái radio tích hợp là ngon, còn lại không thấy có gì đặc biệt hết.
C2Wbky.png


PS:
Mình cài bản cho pi3, bản dành cho pi4 hình như có uPnP, bác nào có pi4 cài thử:
1.FLAC音源の全サンプリングレート音源(44.1K~192K)再生
2.DSF音源のDSDtoPCM(176.4KHz/24bit)再生
3.UPnP化(upmpdcliのインストール)
4.USB3.0 SSDの接続(UASP適用除外含む)
5.minim server(含むopenjdkインストール)
6.ffmpeg(上記minim server用変換機能部分)

Bản dành cho pi4:
https://drive.google.com/file/d/1WrflSWLz-2oy-W-8fL2VLu72-7yB8efk/view?usp=drivesdk

Mình cài Pi 4 test chạy rồi nhưng SSH vào bằng user/pass default pi/raspberry không được, không đúng pass.
Tính cài thử RoonBridge, Qobuz/Tidal upmpdcli và Cloud.
 

tellme0823

Well-Known Member
Mình cài Pi 4 test chạy rồi nhưng SSH vào bằng user/pass default pi/raspberry không được, không đúng pass.
Tính cài thử RoonBridge, Qobuz/Tidal upmpdcli và Cloud.
Đầu tiên sudo ssh với pass admin của pc.
Sau đó mới đến bước nhập pass là raspberry
 

quatmo

Well-Known Member

tml3nr

Moderator
Mấy dòng lệnh trên mình vào để chỉnh bằng cách nào bác. Bác rành hướng dẫn cụ thể em chút. Em bó mỏ luôn. Thanks bác
Đầu tiên là anh chạy putty, login vào smpd.

Cài upmpdcli theo như hướng dẫn:

https://www.diyaudio.com/forums/pc-based/355137-symphonic-mpd-13.html#post6234406

Anh có thể kết hợp với winscp để edit file dễ hơn.

Nếu anh chưa biết dùng putty và winscp, chịu khó tìm hiểu cách dùng trước ạ.
 

tellme0823

Well-Known Member
- Pi 3 mình không gắn DAC, găn USB không nhận nên chỉ test Roon thử qua ngỏ Airplay, play Ok.
- Pi 4 cài Ok rồi, Roon nhìn thấy snd_rpi_hifiberry_dac nhưng bên phải Device Not Found, túm lại chưa play ra DAC được.

Trong trả lời cho mình họ có nói như sau:

To use the symphonic-mpd driver for Xenomai, you will need to write your PCM to /dev/xsink.
There are many ways to configure the driver for Xenomai, but the same method as for Spotify Connect is useful.
That is, specify default as the device for alsa.
( see /etc/spotifyd.conf )
If hw:0,0 is specified as the alsa device, then the driver for Xenomai will be set to It will not be used and will be played using the normal ALSA library/ALSA driver.

.
Mình chép file xsink ra pc mở lên ko thấy gì bên trong, không biết ghi vào kiểu gìo_O

Còn file spotifyd.conf bên trong có nội dung như sau:

--------------------
[global]
username = ******************
password = ******************
device_name = symphonic-mpd
bitrate = 320
backend = alsa
device = default

onevent = "/bin/bash /home/pi/configs/spotify_event.sh"
volume-normalisation = false
#cache_path = /run
#volume-control = alsa # or alsa_linear, or softvol
#normalisation-pregain = -10
#use-keyring = true
#mixer = PCM

---------------------
 
Chỉnh sửa lần cuối:

Thanhvo31

Well-Known Member
Volumio + Google Drive 2000 album, hơn 28.000 track (MPD + Cloud)

Với tất cả Music Player Daemon (MPD) chạy trên Pi 2/3, quản lý 2000 album đã là con số lớn, vì vậy khi MPD load show cover (bấm Album) sẽ loading chậm chút đỉnh, các bác sử dụng kiên nhẫn xíu (Pi 4 nhanh hơn nhiều) . Nếu show duyệt dạng folder/file thì nhanh hơn, các bác bấm vào Music Library - INTERNAL.

Các bác [download ở đây]

- App Audioward (Volumio remote) load cover album hiện ra nhanh hơn trình duyệt PC.
- Với 2000 album này nghĩ là đủ nghe miệt mài. Bác nào cảm thấy chưa đủ thì PM mình hướng dẫn chạy scrip mở ra thêm folder FLAC và QOBUZ.
- Moodeaudio + Google Drive đang test
- Mình cũng mout thành công Onedrive music 5T (anh em ta đang dùng) vào Volumio (đang test).
- Nhạc mình copy folder Deezer của bác Phước, bác Hải và mình download từ Tidal.
- Play chuyển bài với file FLAC khá nhanh, file WAV load hơi chậm chút (mình nghĩ không phải vấn đề lớn khi đang nghe).

Boot Pi 2 thì lên mà Pi 4 không được bác ạ.
Nếu có code bác cho lên github anh em vọc vạch thêm chút.
 
Chỉnh sửa lần cuối:

tellme0823

Well-Known Member
Có roon, uPnP nữa thì ngon:oops:

Symphonic-MPD provides latency under 2µs on a Raspberry Pi. This is 2,500 times lessthan the 5ms claimed by Audiophile Linux, a typical Linux distribution for audiophiles which features a low latency real time kernel.

Characteristics of symphonic-mpd
  • Real-Time Kernel (Xenomai 3.0. 7)
  • Proprietary Xenomai driver and playback software specialized for I₂S output has been developed
  • Custom patching to kernel, MPD, AirPlay, Spotify Connect, ALSA-lib, and other libraries for high fidelity playback
  • Optimized builds for a fast and compact system
  • Optimized real-time priority and CPU execution
  • mpd, AirPlay, Exclusive Spotify Connect (Automate unnecessary process stops and NAS unmounts)
  • Reduction of noise and stabilization of voltage by stopping HDMI, Wi-Fi, Bluetooth services, and USB bus power, underclocking of CPU/GPU, and turning off LEDs
  • Improved PLL accuracy improves the sound quality of I2S HAT when running in slave mode. When using I2S HAT that runs in master mode, PLL setting is canceled by replacing dt-blob.bin. This reduces CPU load.
  • Reduction of operating system jitter by suppressing kernel thread interrupts and tuning kernel parameters
  • ALSA buffer tuning to match the playback sampling rate
  • Auto-Tuning of NAS mount settings to optimize throughput (It takes about 30 seconds to measure throughput.)
  • Ultra-lightweight, low load web server YMPD as a Web UI
  • UNIX domain socket communication between MPD and YMPD rather than the typical use of TCP port 6600
  • Online version updating
 

quatmo

Well-Known Member
Có roon, uPnP nữa thì ngon:oops:

Symphonic-MPD provides latency under 2µs on a Raspberry Pi. This is 2,500 times lessthan the 5ms claimed by Audiophile Linux, a typical Linux distribution for audiophiles which features a low latency real time kernel.

Characteristics of symphonic-mpd
  • Real-Time Kernel (Xenomai 3.0. 7)
  • Proprietary Xenomai driver and playback software specialized for I₂S output has been developed
  • Custom patching to kernel, MPD, AirPlay, Spotify Connect, ALSA-lib, and other libraries for high fidelity playback
  • Optimized builds for a fast and compact system
  • Optimized real-time priority and CPU execution
  • mpd, AirPlay, Exclusive Spotify Connect (Automate unnecessary process stops and NAS unmounts)
  • Reduction of noise and stabilization of voltage by stopping HDMI, Wi-Fi, Bluetooth services, and USB bus power, underclocking of CPU/GPU, and turning off LEDs
  • Improved PLL accuracy improves the sound quality of I2S HAT when running in slave mode. When using I2S HAT that runs in master mode, PLL setting is canceled by replacing dt-blob.bin. This reduces CPU load.
  • Reduction of operating system jitter by suppressing kernel thread interrupts and tuning kernel parameters
  • ALSA buffer tuning to match the playback sampling rate
  • Auto-Tuning of NAS mount settings to optimize throughput (It takes about 30 seconds to measure throughput.)
  • Ultra-lightweight, low load web server YMPD as a Web UI
  • UNIX domain socket communication between MPD and YMPD rather than the typical use of TCP port 6600
  • Online version updating
Symphonic-mpd là một lựa chọn tuyệt vời cho anh em audio.

Về optimize độ trễ nhắc đến chú Gentooplayer, theo như họ nói đo đạc chỉ là 4/5µs
https://audiophilestyle.com/forums/topic/55235-gentooplayer/

Mình dùng chủ yếu Gentooplayer cho Pi 4 / mini PC
 
Bên trên