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

mtminh

Well-Known Member
Có vẻ như SQ32 play DSD ko vấn đề gì bác Minh ạ . Vấn đề ở chỗ quản lý nhạc của LMS . X86(daphile) nó cho add tên miền [email protected]/share/MUSIC mình add thử , nhạc DSD nó phát ngay ui . . . (remote bubbleupnp server nó ko chạy) . :cool:

CVBNM01.jpg


CVBNM04.jpg


CVBNM02.jpg


CVBNM03.jpg


CVBNM05.jpg


CVBNM06.jpg
Bác dùng daphile sướng nhỉ, hổ trợ đầy đủ hơn rAudio.

- Daphile cho add tên miền, rAudio không. Anh Lâm ra tay làm script đổi tên web ra IP wan cho rAudio
- Bác mount vào network driver. DSD file play ngon lành
- rAudio mount bằng IP thì giống như daphile. LMS chơi tuốt.

Mình không biết daphile. Có play được ngoại mạng không bác. Hay phải thêm thiết bị cài daphile ngoài tiệm của bác.

Nếu mount được kiểu này. Thích là không cần scan thư viện. Bỏ trung gian bubleupnp, làm âm thanh tệ đi.
 
Chỉnh sửa lần cuối:

quatmo

Well-Known Member
Bác dùng daphile sướng nhỉ, hổ trợ đầy đủ hơn rAudio.

- Daphile cho add tên miền, rAudio không. Anh Lâm ra tay làm script đổi tên web ra IP wan cho rAudio
- Bác mount vào network driver. DSD file play ngon lành
- rAudio mount bằng IP thì giống như daphile. Chơi tuốt

Mình không biết daphile. Có play được ngoại mạng không bác. Hay phải thêm thiết bị cài daphile ngoài tiệm của bác.

Nếu mount được kiểu này. Thích là không cần scan thư viện. Bỏ trung gian bubleupnp, làm âm thanh tệ đi.
Em liệt kê rAudio hỗ trợ mount, hai anh coi thử.

Gõ lệnh: udevil --help

Mã:
rAudio:~  #  udevil --help
udevil version 0.4.4+
Mounts and unmounts devices without password, shows device info, monitors
device changes.  Emulates udisks1/2 command line usage and udisks1 output.
Usage: udevil [OPTIONS] COMMAND [COMMAND-OPTIONS] [COMMAND-ARGUMENTS]
OPTIONS:
    --verbose                                   print details
    --quiet                                     minimal output
MOUNT  -  Mounts DEVICE to mount point DIR with MOUNT-OPTIONS:
    udevil mount|--mount [MOUNT-OPTIONS] [[-b|--block-device] DEVICE] [DIR]
    MOUNT-OPTIONS:
    -t|--types|--filesystem-type|--mount-fstype TYPE    (see man mount)
    -o|--options|--mount-options OPT,...                (see man mount)
    --no-user-interaction                       ignored (for compatibility)
    EXAMPLES:
    udevil mount /dev/sdd1
    udevil mount -o ro,noatime /dev/sdd1
    udevil mount -o ro,noatime /dev/sdd1 /media/custom
    udevil mount /tmp/example.iso                    # ISO file
    udevil mount ftp://sys.domain                    # ftp site - requires
                                                       curlftpfs or ftpfs
    udevil mount ftp://user:[email protected]/share    # ftp share with
                                                       user and password
    udevil mount ftp://user:[email protected]:21/share # ftp share with
                                                       port, user and password
    udevil mount -t ftpfs sys.domain                 # ftp site with ftpfs
    udevil mount -t curlftpfs sys.domain             # ftp site with curl
    udevil mount -t curlftpfs user:[email protected]   # ftp site with curl u/p
    udevil mount nfs://sys.domain:/share             # nfs share
    udevil mount sys.domain:/share                   # nfs share
    udevil mount smb://sys.domain/share              # samba share w/ cifs
    udevil mount smb://user:[email protected]:50/share   # samba share w/ u/p/port
    udevil mount smb://WORKGROUP/[email protected]     # samba share w/ workgroup
    udevil mount //sys.domain/share                  # samba share w/ cifs
    udevil mount //sys.domain/share -t smbfs         # samba share w/ smbfs
    udevil mount ssh://[email protected]               # sshfs with user -
                                                       requires sshfs
    udevil mount -t sshfs [email protected]            # sshfs with user
    udevil mount http://sys.domain/dav/              # WebDAV - requires davfs2
    udevil mount tmpfs                               # make a ram drive

    WARNING !!! a password on the command line is UNSAFE - see filesystem docs

UNMOUNT  -  Unmount DEVICE or DIR with UNMOUNT-OPTIONS:
    udevil umount|unmount|--unmount|--umount [UNMOUNT-OPTIONS]
                                              {[-b|--block-device] DEVICE}|DIR
    UNMOUNT-OPTIONS:
    -l                                          lazy unmount (see man umount)
    -f                                          force unmount (see man umount)
    --no-user-interaction                       ignored (for compatibility)
    EXAMPLES: udevil umount /dev/sdd1
              udevil umount /media/disk
              udevil umount -l /media/disk
              udevil umount /tmp/example.iso
INFO  -  Show information about DEVICE emulating udisks v1 output:
    udevil info|--show-info|--info [-b|--block-device] DEVICE
    EXAMPLE:  udevil info /dev/sdd1
MONITOR  -  Display device events emulating udisks v1 output:
    udevil monitor|--monitor
    EXAMPLE:  udevil monitor
CLEAN  -  Remove unmounted udevil-created mount dirs in media dirs
    udevil clean
HELP  -  Show this help
    udevil help|--help|-h

http://ignorantguru.github.io/udevil/  For config see /etc/udevil/udevil.conf
For automounting with udevil run 'devmon --help'

Theo như hình anh Phước mount cifs là dạng SMB samba share (dạng này play DSD online thoải mái, DSD256 chạy Ok luôn - em đã play trên Volumio).

rAudio có hỗ trợ:

udevil mount smb://sys.domain/share # samba share w/ cifs
udevil mount //sys.domain/share # samba share w/ cifs


--------------
Nếu mount SMB bằng tên miền, anh mount thử bằng udevil, nếu Ok thì add thẳng vào fstab, không dùng giao diện (rAudio họ code lọc chữ input - mod lại ngăn lọc thì OK - nhưng update là mất mod.)
 
Chỉnh sửa lần cuối:

mtminh

Well-Known Member
Em liệt kê rAudio hỗ trợ mount, hai anh coi thử.

Gõ lệnh: udevil --help

Mã:
rAudio:~  #  udevil --help
udevil version 0.4.4+
Mounts and unmounts devices without password, shows device info, monitors
device changes.  Emulates udisks1/2 command line usage and udisks1 output.
Usage: udevil [OPTIONS] COMMAND [COMMAND-OPTIONS] [COMMAND-ARGUMENTS]
OPTIONS:
    --verbose                                   print details
    --quiet                                     minimal output
MOUNT  -  Mounts DEVICE to mount point DIR with MOUNT-OPTIONS:
    udevil mount|--mount [MOUNT-OPTIONS] [[-b|--block-device] DEVICE] [DIR]
    MOUNT-OPTIONS:
    -t|--types|--filesystem-type|--mount-fstype TYPE    (see man mount)
    -o|--options|--mount-options OPT,...                (see man mount)
    --no-user-interaction                       ignored (for compatibility)
    EXAMPLES:
    udevil mount /dev/sdd1
    udevil mount -o ro,noatime /dev/sdd1
    udevil mount -o ro,noatime /dev/sdd1 /media/custom
    udevil mount /tmp/example.iso                    # ISO file
    udevil mount ftp://sys.domain                    # ftp site - requires
                                                       curlftpfs or ftpfs
    udevil mount ftp://user:[email protected]/share    # ftp share with
                                                       user and password
    udevil mount ftp://user:[email protected]:21/share # ftp share with
                                                       port, user and password
    udevil mount -t ftpfs sys.domain                 # ftp site with ftpfs
    udevil mount -t curlftpfs sys.domain             # ftp site with curl
    udevil mount -t curlftpfs user:[email protected]   # ftp site with curl u/p
    udevil mount nfs://sys.domain:/share             # nfs share
    udevil mount sys.domain:/share                   # nfs share
    udevil mount smb://sys.domain/share              # samba share w/ cifs
    udevil mount smb://user:[email protected]:50/share   # samba share w/ u/p/port
    udevil mount smb://WORKGROUP/[email protected]     # samba share w/ workgroup
    udevil mount //sys.domain/share                  # samba share w/ cifs
    udevil mount //sys.domain/share -t smbfs         # samba share w/ smbfs
    udevil mount ssh://[email protected]               # sshfs with user -
                                                       requires sshfs
    udevil mount -t sshfs [email protected]            # sshfs with user
    udevil mount http://sys.domain/dav/              # WebDAV - requires davfs2
    udevil mount tmpfs                               # make a ram drive

    WARNING !!! a password on the command line is UNSAFE - see filesystem docs

UNMOUNT  -  Unmount DEVICE or DIR with UNMOUNT-OPTIONS:
    udevil umount|unmount|--unmount|--umount [UNMOUNT-OPTIONS]
                                              {[-b|--block-device] DEVICE}|DIR
    UNMOUNT-OPTIONS:
    -l                                          lazy unmount (see man umount)
    -f                                          force unmount (see man umount)
    --no-user-interaction                       ignored (for compatibility)
    EXAMPLES: udevil umount /dev/sdd1
              udevil umount /media/disk
              udevil umount -l /media/disk
              udevil umount /tmp/example.iso
INFO  -  Show information about DEVICE emulating udisks v1 output:
    udevil info|--show-info|--info [-b|--block-device] DEVICE
    EXAMPLE:  udevil info /dev/sdd1
MONITOR  -  Display device events emulating udisks v1 output:
    udevil monitor|--monitor
    EXAMPLE:  udevil monitor
CLEAN  -  Remove unmounted udevil-created mount dirs in media dirs
    udevil clean
HELP  -  Show this help
    udevil help|--help|-h

http://ignorantguru.github.io/udevil/  For config see /etc/udevil/udevil.conf
For automounting with udevil run 'devmon --help'

Theo như hình anh Phước mount cifs là dạng SMB samba share (dạng này play DSD online thoải mái, DSD256 chạy Ok luôn - em đã play trên Volumio).

rAudio có hỗ trợ:

udevil mount smb://sys.domain/share # samba share w/ cifs
udevil mount //sys.domain/share # samba share w/ cifs


--------------
Nếu mount SMB bằng tên miền, anh mount thử bằng udevil, nếu Ok thì add thẳng vào fstab, không dùng giao diện (rAudio họ code lọc chữ input - mod lại ngăn lọc thì OK)
Anh có cảm tình NFS hơn SMB trên cùng hệ linus. Tuy NFS rất khó publish internet hơn SMB . Script em làm dùng rất ổn, sướng. Ngoại đạo, mỗi lần tìm hiểu là gặp khó. Không biết hiểu nổi không :oops:
 

quatmo

Well-Known Member
Anh có cảm tình NFS hơn SMB trên cùng hệ linus. Tuy NFS rất khó publish internet hơn SMB . Script em làm dùng rất ổn, sướng. Ngoại đạo, mỗi lần tìm hiểu là gặp khó. Không biết hiểu nổi không :oops:
Dạ bản chất SMB và NFS nếu dùng qua internet đều cần add domain, user, pass. Vậy dùng NFS + script em làm cho nhanh.
 

quangv

Member
Mình update bản LMSrAudio (Pi 4) 7.6 có lẻ là hoàn thiện rồi.

Người dùng thông thường chỉ cần biết flash cắm thẻ, chọn DAC là dùng. Không cần phải biết Putty/SSH hay setting Linux. Không cần dùng giao diện rAudio chọn DAC, cơ bản có trong giao diện LMS.

Nếu dùng trình duyệt Phone/Pc http://raudio/ hoặc iPhone http://raudio.local/ Không cần điền port 9000.

Đa phần người Việt thích nghe nhạc từ ổ cứng USB, bản 7.5 cũng đã đáp ứng tiện dụng click chọn nhạc trong USB với 2 cú click chuột.


Lưu ý để USB HDD (nhỏ) nhận tốt, nghe tốt, cần có nguồn cho Pi 4 mạnh mẽ chút, tầm 3A trở lên. Hoặc nguồn rời cho USB HDD.


Setting ban đầu để nghe nhạc từ USB không cần scan nhạc (chỉ cần làm 1 lần). Lần sau bấm vào Disk and Folder ở Homepage) là đến USB/NAS..

playonusb2.png




Bác nào có Pi 3, thử chạy bản này trên Pi 3 thử.
May em có 2 thẻ, vẫn giữ thẻ bản 7.1
- Bản này trên pi3 ko set được card ở config
- Tidal connect kết nối nhưng không play.
- WebUI trên phone giật lag không đăng nhập được gì.
Chắc ko tương thích pi3. Em quay lại bản 7.1 dùng tiếp.
 

linh0983

Well-Known Member
Anh có cảm tình NFS hơn SMB trên cùng hệ linus. Tuy NFS rất khó publish internet hơn SMB . Script em làm dùng rất ổn, sướng. Ngoại đạo, mỗi lần tìm hiểu là gặp khó. Không biết hiểu nổi không :oops:
Daphile nó có hỗ trợ NFS ạ . Mình add thử xem có được ko ? :confused:

1000hh01.jpg


Vọc vạch là niềm vui mà bác Minh . :cool:

" Mình không biết daphile. Có play được ngoại mạng không bác. Hay phải thêm thiết bị cài daphile ngoài tiệm của bác "

Ý bác bảo là gi ạ ? Mình chưa hiểu ? :mad:
 

linh0983

Well-Known Member
Em liệt kê rAudio hỗ trợ mount, hai anh coi thử.

Gõ lệnh: udevil --help

Mã:
rAudio:~  #  udevil --help
udevil version 0.4.4+
Mounts and unmounts devices without password, shows device info, monitors
device changes.  Emulates udisks1/2 command line usage and udisks1 output.
Usage: udevil [OPTIONS] COMMAND [COMMAND-OPTIONS] [COMMAND-ARGUMENTS]
OPTIONS:
    --verbose                                   print details
    --quiet                                     minimal output
MOUNT  -  Mounts DEVICE to mount point DIR with MOUNT-OPTIONS:
    udevil mount|--mount [MOUNT-OPTIONS] [[-b|--block-device] DEVICE] [DIR]
    MOUNT-OPTIONS:
    -t|--types|--filesystem-type|--mount-fstype TYPE    (see man mount)
    -o|--options|--mount-options OPT,...                (see man mount)
    --no-user-interaction                       ignored (for compatibility)
    EXAMPLES:
    udevil mount /dev/sdd1
    udevil mount -o ro,noatime /dev/sdd1
    udevil mount -o ro,noatime /dev/sdd1 /media/custom
    udevil mount /tmp/example.iso                    # ISO file
    udevil mount ftp://sys.domain                    # ftp site - requires
                                                       curlftpfs or ftpfs
    udevil mount ftp://user:[email protected]/share    # ftp share with
                                                       user and password
    udevil mount ftp://user:[email protected]:21/share # ftp share with
                                                       port, user and password
    udevil mount -t ftpfs sys.domain                 # ftp site with ftpfs
    udevil mount -t curlftpfs sys.domain             # ftp site with curl
    udevil mount -t curlftpfs user:[email protected]   # ftp site with curl u/p
    udevil mount nfs://sys.domain:/share             # nfs share
    udevil mount sys.domain:/share                   # nfs share
    udevil mount smb://sys.domain/share              # samba share w/ cifs
    udevil mount smb://user:[email protected]:50/share   # samba share w/ u/p/port
    udevil mount smb://WORKGROUP/[email protected]     # samba share w/ workgroup
    udevil mount //sys.domain/share                  # samba share w/ cifs
    udevil mount //sys.domain/share -t smbfs         # samba share w/ smbfs
    udevil mount ssh://[email protected]               # sshfs with user -
                                                       requires sshfs
    udevil mount -t sshfs [email protected]            # sshfs with user
    udevil mount http://sys.domain/dav/              # WebDAV - requires davfs2
    udevil mount tmpfs                               # make a ram drive

    WARNING !!! a password on the command line is UNSAFE - see filesystem docs

UNMOUNT  -  Unmount DEVICE or DIR with UNMOUNT-OPTIONS:
    udevil umount|unmount|--unmount|--umount [UNMOUNT-OPTIONS]
                                              {[-b|--block-device] DEVICE}|DIR
    UNMOUNT-OPTIONS:
    -l                                          lazy unmount (see man umount)
    -f                                          force unmount (see man umount)
    --no-user-interaction                       ignored (for compatibility)
    EXAMPLES: udevil umount /dev/sdd1
              udevil umount /media/disk
              udevil umount -l /media/disk
              udevil umount /tmp/example.iso
INFO  -  Show information about DEVICE emulating udisks v1 output:
    udevil info|--show-info|--info [-b|--block-device] DEVICE
    EXAMPLE:  udevil info /dev/sdd1
MONITOR  -  Display device events emulating udisks v1 output:
    udevil monitor|--monitor
    EXAMPLE:  udevil monitor
CLEAN  -  Remove unmounted udevil-created mount dirs in media dirs
    udevil clean
HELP  -  Show this help
    udevil help|--help|-h

http://ignorantguru.github.io/udevil/  For config see /etc/udevil/udevil.conf
For automounting with udevil run 'devmon --help'

Theo như hình anh Phước mount cifs là dạng SMB samba share (dạng này play DSD online thoải mái, DSD256 chạy Ok luôn - em đã play trên Volumio).

rAudio có hỗ trợ:

udevil mount smb://sys.domain/share # samba share w/ cifs
udevil mount //sys.domain/share # samba share w/ cifs


--------------
Nếu mount SMB bằng tên miền, anh mount thử bằng udevil, nếu Ok thì add thẳng vào fstab, không dùng giao diện (rAudio họ code lọc chữ input - mod lại ngăn lọc thì OK - nhưng update là mất mod.)
Với tôi SQ32-rAudio bác Lâm build có phần tenet quá tuyệt vời ( Pi2 yếu hầu như chơi được tất cả mình cài cho hàng xóm truy cập được nas nhà , họ rất thích , còn mount kiểu này kiểu kia với thiết bị mạnh ko vấn đề gì ạ ) . :confused:
 

quatmo

Well-Known Member
Với tôi SQ32-rAudio bác Lâm build có phần tenet quá tuyệt vời ( Pi2 yếu hầu như chơi được tất cả mình cài cho hàng xóm truy cập được nas nhà , họ rất thích , còn mount kiểu này kiểu kia với thiết bị mạnh ko vấn đề gì ạ ) . :confused:
Ý là đang nói giải pháp play DSD từ Nas online thôi anh. Vì hiện tại thư mục DSd của Nas nhà không play được, chỉ xem đc, hơi tiếc.

Script auto chuyển tên miền thành IP cho mount NFS của em để đáp ứng play DSD online.
Em và anh Minh đã nghe DSD64 online bằng Pi 2 qua giải pháp này, nghe ngon từ thử nghiệm NAS anh Minh publish NFS.
 
Chỉnh sửa lần cuối:

linh0983

Well-Known Member
Ý là đang nói giải pháp play DSD từ Nas online thôi anh. Vì hiện tại thư mục DSd của Nas nhà không play được, chỉ xem đc, hơi tiếc.

Script auto chuyển tên miền thành IP cho mount NFS của em để đáp ứng play DSD online.
Em và anh Minh đã nghe DSD64 online bằng Pi 2 qua giải pháp này, nghe ngon từ thử nghiệm NAS anh Minh publish NFS.
Tôi hiểu ý Lâm nói Pi2 nếu là nas nhà nó nó mount ko nổi ít thì được ạ . Vả lại thử dsd online Pi2 nó như thế nào cho biết chứ ở nhà mạng nội bộ nếu nghe dsd thường dùng roon crack có sẵn trên nas . ( ngoại mạng đâu có dac dsd mà nghe ? Nếu dsd mà chuyển về pcm thì chọn pcm lúc đầu nghe cho chất lượng . . . ) . :mad:
 

TuanQuynhAudio

Well-Known Member
Ý là đang nói giải pháp play DSD từ Nas online thôi anh. Vì hiện tại thư mục DSd của Nas nhà không play được, chỉ xem đc, hơi tiếc.

Script auto chuyển tên miền thành IP cho mount NFS của em để đáp ứng play DSD online.
Em và anh Minh đã nghe DSD64 online bằng Pi 2 qua giải pháp này, nghe ngon từ thử nghiệm NAS anh Minh publish NFS.

Hix, nas nhà chạy dsd phải ngon hơn online mới đúng, băng thông/tốc độ offline vẫn ngon hơn online. Hix play dsd nas nhà mắc mớ khâu nào đó. Chung sức dò tìm tiếp bác à.
 

toi511

Well-Known Member
Ý là đang nói giải pháp play DSD từ Nas online thôi anh. Vì hiện tại thư mục DSd của Nas nhà không play được, chỉ xem đc, hơi tiếc.

Script auto chuyển tên miền thành IP cho mount NFS của em để đáp ứng play DSD online.
Em và anh Minh đã nghe DSD64 online bằng Pi 2 qua giải pháp này, nghe ngon từ thử nghiệm NAS anh Minh publish NFS.
Pi 2 của em không play dsd được anh. K biết vướng chỗ nào
 

quatmo

Well-Known Member
Tôi hiểu ý Lâm nói Pi2 nếu là nas nhà nó nó mount ko nổi ít thì được ạ . Vả lại thử dsd online Pi2 nó như thế nào cho biết chứ ở nhà mạng nội bộ nếu nghe dsd thường dùng roon crack có sẵn trên nas . ( ngoại mạng đâu có dac dsd mà nghe ? Nếu dsd mà chuyển về pcm thì chọn pcm lúc đầu nghe cho chất lượng . . . ) . :mad:
Nếu thử cho biết thì đơn giản mà anh.

Cách 1: Dùng Nas anh Minh đã publish NFS trước đó, đúng 1 folder test DSD
Cách 2: Anh publish NFS đúng 1 folder DSD test hoặc DSD64

Cài script NFS là thử được ngay. Mấy post trang trước có nói rồi, mà em play Pi 2 DSD64 online DoP từ NSF anh Minh Ok luôn, không phải convert PCM.

Pi 2 mount dạng NFS , LMS truy xuất trực tiếp vào Folder NAS (NFS đã mount) SQ32 play trực tiếp. Không cần scan gì.

Cũng không cần DAC DSD. Em dùng cái USB Bluetooh HD05 play DSD 64 Dop OK, I2S Hat dac audioinjector-wm8731 cũng play DSD64 online OK.
 
Chỉnh sửa lần cuối:

quatmo

Well-Known Member
Hướng dẫn nghe nhạc website Youtube.com phát ra DAC. Dùng màn hình Touch LCD của Pi để control nghe Youtube trên rAudio.

1./ Config Touch LCD.
pate vào SSH - enter
Mã:
echo 'MOZ_USE_XINPUT2 DEFAULT=1' | sudo tee -a /etc/security/pam_env.conf

2./ Add Website Youtube.com
pate vào SSH - enter
Mã:
sudo sed -i 's#http://localhost#http://youtube.com#g' /srv/http/bash/xinitrc


3./ Vào menu rAudio -> features
Chọn bật On Browser on RPi


PS: Tìm hiểu cách cài extension chặn quảng cáo nữa là có thể nghe Youtube miệt mài. Cài extension bàn phím ảo. Hai mục này mình chưa tìm hiểu.

Nếu cắm HDMI từ Pi ra Tivi thì vừa xem / nghe trực tiếp qua DAC. Rất đơn giản, không cần add Youtube Api gì cả. Điều khiển trực quan.

Đã test nghe ngon.
 
Chỉnh sửa lần cuối:

linh0983

Well-Known Member
Nếu thử cho biết thì đơn giản mà anh.

Cách 1: Dùng Nas anh Minh đã publish NFS trước đó, đúng 1 folder test DSD
Cách 2: Anh publish NFS đúng 1 folder DSD test hoặc DSD64

Cài script NFS là thử được ngay. Mấy post trang trước có nói rồi, mà em play Pi 2 DSD64 online DoP từ NSF anh Minh Ok luôn, không phải convert PCM.

Pi 2 mount dạng NFS , LMS truy xuất trực tiếp vào Folder NAS (NFS đã mount) SQ32 play trực tiếp. Không cần scan gì.

Cũng không cần DAC DSD. Em dùng cái USB Bluetooh HD05 play DSD 64 Dop OK, I2S Hat dac audioinjector-wm8731 cũng play DSD64 online OK.
Theo các cách bác Lâm set như trên : SQ32 tất cả đều hót ok nhưng nó convert qua PCM nó ko kiển thị DSD trên màn hinh X26 ui ngộ nhỉ ? :cool:
 
Bên trên