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

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:

tellme0823

Well-Known Member
CECuJc.png

Chạy con digione ở chế độ master nghe spotify hay quá các bác, chắc nó sử dụng hiêu quả 2 con clock 957.
Hết hạn roon cũng có cái thay rồi, mai ké nas bác @linh0893 xem thử sao:rolleyes:
 

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
 

nqn_vnn

Well-Known Member
Em gú gồ mãi mà vẫn không thấy bài của 1 Bác hướng dẫn giảm xung cho pi3 ( do em mới cài lại os Rune ). Bác nào còn lưu link share em với. Thanks các Bác.
 

Thanhvo31

Well-Known Member
CECuJc.png

Chạy con digione ở chế độ master nghe spotify hay quá các bác, chắc nó sử dụng hiêu quả 2 con clock 957.
Hết hạn roon cũng có cái thay rồi, mai ké nas bác @linh0893 xem thử sao:rolleyes:

Theo bác cài Digione trên Pi4 2GB cấp nguồn IFI ipower cho pi + digione nguồn ngoài (lởm) >> DAC Topping DX7 pro nghe qua Spotify thấy hay bất ngờ ạ.

Qua đó mới thấy sức mạnh của phần mềm.

PS: hiện hay bị lỗi mất kết nối khi play spotify? Hay nó chỉ ưu tiên kết nối nhạc?

PS1: smdp tối ưu kết nối "dã man", đang nghe nhạc không có vọc vạch chi hết. NGẮT KẾT NỐI luôn.
nghỉ chơi nhạc vọc bình thường.:eek::D
PS2: mount NAS chưa ngon, tâm tịt, nghe tạm Spotify, coi như là Network Adapter.
 
Chỉnh sửa lần cuối:

tellme0823

Well-Known Member
Theo bác cài Digione trên Pi4 2GB cấp nguồn IFI ipower cho pi + digione nguồn ngoài (lởm) >> DAC Topping DX7 pro nghe qua Spotify thấy hay bất ngờ ạ.

Qua đó mới thấy sức mạnh của phần mềm.

PS: hiện hay bị lỗi mất kết nối khi play spotify? Hay nó chỉ ưu tiên kết nối nhạc?

PS1: smdp tối ưu kết nối "dã man", đang nghe nhạc không có vọc vạch chi hết. NGẮT KẾT NỐI luôn.
nghỉ chơi nhạc vọc bình thường.:eek::D
Chính xác bác, khi đang play nhạc nó ngắt hết:)
 

toi511

Well-Known Member
Em dùng Winscp vào để edit. Mới file đầu tiên là báo thế này rồi. Nhờ các bác chỉ giúp
7F9E3446-F00D-4B66-8C7C-4C00395012AE.jpg
 
Bên trên