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

tellme0823

Well-Known Member
Xem ra chú nas J1900 ae ta đang dùng ngon mà lại rẻ các bác nhỉ ? Ngày trước order 280 tệ hôm nay là 370 tệ chứng tỏ là ngon nên mới lên giá a hihi . :oops:

https://item.taobao.com/item.htm?spm=2013.1.w4071-21795846104.2.3f4e1162IActIV&id=593897687785

Khi order 17/08/2019 đến nay 4 tháng rồi các bác (share nội ngoại mạng 18/24) phải nói là ngon bổ rẻ ít tốn điện . Theo mình nghe nhạc có chú nas này quản lý nhạc + những tiện ích chơi nhạc của nó như ( Cloud , Minimsever . Roon , Logitech Media Sever) hơn hơn hẳn chú PC a . Các bác cho nó xa ra như mình là 30 mét cáp mới tới swich 4 cổng PC(2) mini J1900 xong vào các Pi2 nghe mượt mà a . :rolleyes:

https://vi.aliexpress.com/item/4000051753747.html?spm=a2g0s.9042311.0.0.63c84c4dYVNI6u

NHUYTVM.jpg


Mình khoái nhất chức năng đồng bộ Cloud quá tuyệt các bác a đỡ tốn ổ cứng backup . :oops:

HGFYTR.jpg


HJUYTRnc.jpg


Tóm lại theo mình các bác nên chơi . Bác @tml3nr thêm chú này đú với ae cho vui bác a . Hẹn giờ cho chạy suốt ban ngày đến đêm nghỉ a như mình đây . :(

HGYNBkiu.jpg
Có cách nào cài naa cho volumio ko bác
 

linh0983

Well-Known Member
Bác xem dùm cổng Coaxial. Họ mượn nhánh (+) của AES đưa vào Coxial. Bên digione, ngõ của chip differential buffer ra độc lập, không mượn của nhau.
Mình ngại mất balance trên AES

Mạch trên board LAMP AUDIO nó y như mạch này a chỉ khác cái công tắc SW1 cho khỏi nhập nhằng bác a . :oops:

GHYTBNM.jpg



Bác tách nó ra so sánh thử a . (nếu mình ngại mất balance trên AES) . :mad:
 
Chỉnh sửa lần cuối:

tml3nr

Moderator
Xem ra chú nas J1900 ae ta đang dùng ngon mà lại rẻ các bác nhỉ ? Ngày trước order 280 tệ hôm nay là 370 tệ chứng tỏ là ngon nên mới lên giá a hihi . :oops:

https://item.taobao.com/item.htm?spm=2013.1.w4071-21795846104.2.3f4e1162IActIV&id=593897687785

Khi order 17/08/2019 đến nay 4 tháng rồi các bác (share nội ngoại mạng 18/24) phải nói là ngon bổ rẻ ít tốn điện . Theo mình nghe nhạc có chú nas này quản lý nhạc + những tiện ích chơi nhạc của nó như ( Cloud , Minimsever . Roon , Logitech Media Sever) hơn hơn hẳn chú PC a . Các bác cho nó xa ra như mình là 30 mét cáp mới tới swich 4 cổng PC(2) mini J1900 xong vào các Pi2 nghe mượt mà a . :rolleyes:

https://vi.aliexpress.com/item/4000051753747.html?spm=a2g0s.9042311.0.0.63c84c4dYVNI6u

NHUYTVM.jpg


Mình khoái nhất chức năng đồng bộ Cloud quá tuyệt các bác a đỡ tốn ổ cứng backup . :oops:

HGFYTR.jpg


HJUYTRnc.jpg


Tóm lại theo mình các bác nên chơi . Bác @tml3nr thêm chú này đú với ae cho vui bác a . Hẹn giờ cho chạy suốt ban ngày đến đêm nghỉ a như mình đây . :(

HGYNBkiu.jpg
Dạ em cũng lăm le vụ nas để xào minimserver nhưng còn vấn vương mpd quá :rolleyes:
 

tml3nr

Moderator
Có cách nào cài naa cho volumio ko bác
Có chút manh mối ở đây ạ:

https://community.roonlabs.com/t/hqp-naa-raspberry-pi/6140/

As I mentioned over on the HQPlayer integration thread, getting this working was remarkably simple.

I already had Volumio running on my Raspberry Pi 2 + Hifiberry Digi+ card and an Edimax EW-7811UTC wifi adapter for high-speed 802.11ac connectivity (which I needed for playback of higher-resolution DSD & 192kHZ PCM files). Worked fine, but Volumio was so kludgy,

I did a fair amount of reading the past few days, and remembered reading that the HQPlayer NAA stuff could work alongside MPD. So on a whim I tried a variant of something I saw on a post by Miska on computeraudiophile.com.

I ssh’ed into my RPI2 and tried:

apt-get install libasound2 alsa-utils

wget http://www2.signalyst.com/bins/naa/debian_wheezy/raspberry_pi/networkaudiod_2.0.5-20_armhf.deb

dpkg -i networkaudiod_2.0.5-20_armhf.deb

I went back into HQPlayer Desktop on my iMac, changed the Backend to NetworkAudioAdapter and much to my surprise, under Device there was snd_pi_hifiberry_digi! I changed the SDM Pack to DoP and was in business.

To simplify things I first played back a local file from HQPlayer, but once it worked, I switched over to Roon—actually RoonServer + HQPlayer running on my iMac, controlled by the Roon iPad app.

OK ! Here I am listening to Roon/HQP on a Raspberry Pi NAA. It replaced a 5m Belkin USB cable. This is how I got there. It’s aimed squarely at someone with some familiarity with computers, but not necessarily Linux, so apologies if it’s very basic level. It’s also Windows based so apologies for that, and it’s long. but now I’m all apologied out so you’ll just have to wear that.

The goal here was a minimal headless installation, nothing not needed to get HQP by Ethernet in and hi res (including DSD) by USB out to my DAC (Auralic Vega). In future I may expand it to do WiFi and RoonSpeakers, but for now it is just an Ethernet NAA.

Hardware
Raspberry Pi 2 Model B (1 GB)
FLIRC Case
Switching Power Supply (5v, micro USB) (to be replaced by a Powerbank battery, but used for setup)
Verbatim MicroSDHC card (8 GB)
SanDisk MobileMate Duo USB/MicroSD reader
Ethernet CAT6 patch cable (5m)
Mapleshade USB cable (1m)

Install the Pi in the FLIRC case, 4 screws and a double sided sticky pad. Very clean case construction, looks good.
Load the MicroSD into the USB reader and plug it into a PC. Note the drive letter assigned to the card/reader.

Operating System
After reading this comparison 28 I decided to go with DietPi rather than Raspbian Lite. Also @muski has said everything that needs to be said about installing Raspbian Lite.

I downloaded DietPi (Jessie) 42 from Fuzon. The price was pretty good (free, donations accepted). Incidentally the names of Debian Linux releases are characters from “Toy Story”. “Jessie” is the latest stable release with a later version, “Stretch”, out for testing. Unzip/Extract the downloaded archive. DietPi_v102_RPi-(Jessie) is the disk image file which we are about to write to the SDmicro card so put it somewhere you can easily browse to (desktop was good for me).

If you haven’t got a disk imager, download and install Win32 Disk Imager 5. After install, open it and browse to the image file. Select the drive letter corresponding to the card/reader.

Now STOP. Take a sip of your favoured beverage (Pikes Clare Valley Shiraz 2013 worked for me) and double check that drive letter. Writing a disk image to a drive other than the one you intend results in much weeping, wailing and gnashing of teeth. So don’t do that.

When the image has finished writing, remove the MicroSD card from the reader and plug it into the Pi (it goes in electrodes up on the Pi). Connect the Pi by Ethernet to your router and power up the Pi. You will see some light activity on the Pi as the filesystem expands itself. The Pi will reboot twice during this process.

While the Pi was digesting the OS I went into the router LAN settings and configured a fixed IP address for the Pi. I used the one assigned by DHCP and wrote it down so I could remember it when starting an SSH terminal session. (Edit: Don’t do this, it can cause problems. Leave everything to DHCP for the moment and we will change to a static IP address later. For the moment, just note the IP address assigned by DHCP).

If you don’t have an SSH terminal program you like, download and install PuTTY 4. Open PuTTY and point it at the IP address of the Pi (check it in the router if you didn’t configure a fixed address as above) and open an SSH terminal session. Login as “root”, password “dietpi”. DietPi will update itself and reboot the Pi again, closing your recently opened terminal window.

Reopen PuTTY as above and DietPi will start it’s configuration steps. It will firstly ask if you want to use a USB drive. I said no to this because the NAA doesn’t have any real need for disk access (I think) and I was content to use the microSD card if it did.

DietPi will then take you to it’s software setup menu:

  1. I didn’t install any DietPi Optimised Software. There is an audio package, but it is not necessary for the NAA.
  2. I did install the ALSA audio system from the Additional Linux Software. This is necessary (and sufficient) for USB audio output.
  3. Dropbear is the SSH server we want.
  4. I chose None for File Server.
  5. I chose None for Log System.
  6. DietPi Config:
    You can change the default user/password here. I didn’t bother.
    Check that Autostart is set to option 7. Starts without a login.
Then hit “Install Go” and watch the fireworks as DietPi configures itself and ALSA. I had a hang while this happened, but I just went back and did the above again and it finished fine second time around. It will reboot again after configuration is complete.

Network Audio Daemon
Incidentally a daemon in LInux is the equivalent of a service in Windows. Starts automatically and all that style of thing.

We don’t need to install the ALSA utils. That all happened when we selected ALSA in the DietPi software config above.

We do, however, have to get the NAA software from Signalyst. I opted for the first armhf (being the chipset in the Pi) Stretch version, networkaudiod_3.1.0-25_armhf.deb, rather than the later 3.1.1-27 version because the later version requires a later C++ library than DietPi Jessie has. I may set out how to upgrade in a later post, but for the moment lets go with what worked.

So the two Linux commands I used were:

sudo wget https://www.signalyst.eu/bins/naa/v3/stretch/networkaudiod_3.1.0-25_armhf.deb 57

sudo dpkg -i networkaudiod_3.1.0-25_armhf.deb

(Edit: This last line used to have a duplicated package, which I copied from elsewhere but was unnecessary and potentially causing issues, my apologies)

After the NAA has configured itself, type exit to terminate the SSH session.

Now connect a USB cable from the Pi to your DAC. After a short pause, open HQP and change the name of the NAA in Tools/Network Naming. Then go to Settings/Backend and choose Network Audio Adapter. You should now see your NAA and DAC in the Device menu ( it saw the Vega through an Uptone Regen), select them.

You may have to reconfigure HQP settings for the new device, then have a listen.

I found things in general improved with the Ethernet/Pi/Mapleshade combination compared to the Belkin USB cable. There were some pops and artifacts at first, but after a while everything settled down and the Vega exact clock seems much happier with this combination.

Next, possibly upgrading to 3.1.1-27 and battery power for the Regen and Pi.

Edit: The Vega DAC takes DSD 128 by DoP which is all that I have tested. Rene and Jussi have set out below how to get up to DSD 512 direct using Raspbian Lite (Stretch) and the latest version NAA. Thanks guys!

Link mới của signalyst.eu:

https://www.signalyst.eu/bins/naa/linux/stretch/networkaudiod_3.6.0-42_armhf.deb
 
Chỉnh sửa lần cuối:

chautranthanh

Well-Known Member
Chào các bác.
GCC 3 HDMI ghép tạm với 2 board: HDMI convert & XMOS Amanero to 4 output.
Tín hiệu I2S lấy từ bo dưới đưa lên bo trên

So sánh coxial out:

Bo HDMI convert: âm thanh harsh
Bo XMOS Amanero: Dễ chịu, ấm
PS; Đợi dây AES về. Mình so sánh các cổng xem sao.
out2.jpg







Bo Xmos bác mua ntn , nó có sẵn dây ghim nối với bo HDMI à?
 

chautranthanh

Well-Known Member
1. XMOSAmanero: Shop
2. Header 7P XH2.54-7P Đực Cong: Shop
3. Header 7P XH2.54-7P Loại Cái: Shop
4. Header 6P XH2.54-6P Loại Cái : Shop
5. Lõi Header XH2.54: Shop

Dây tùy thích. Bác làm, do khác socket và pin out, in đảo vị trí.
Thanks bác, vụ này mình chịu
1. XMOSAmanero: Shop
2. Header 7P XH2.54-7P Đực Cong: Shop
3. Header 7P XH2.54-7P Loại Cái: Shop
4. Header 6P XH2.54-6P Loại Cái : Shop
5. Lõi Header XH2.54: Shop

Dây tùy thích. Bác làm, do khác socket và pin out, in đảo vị trí.
 

quatmo

Well-Known Member

XMOSAmanero đã về, hàn jump pin vô nối nó lại.

2019-12-24-09_18_14-1577153863156---Windows-Photo-Viewer.png



Chào các bác.
GCC 3 HDMI ghép tạm với 2 board: HDMI convert & XMOS Amanero to 4 output.
Tín hiệu I2S lấy từ bo dưới đưa lên bo trên

So sánh coxial out:

Bo HDMI convert: âm thanh harsh
Bo XMOS Amanero: Dễ chịu, ấm
PS; Đợi dây AES về. Mình so sánh các cổng xem sao.

out2.jpg

Vậy là chip Wolfson WM8805 trên bo XMOSAmanero reclock lại tín hiệu làm cho âm thanh tốt hơn.
 
Chỉnh sửa lần cuối:

linh0983

Well-Known Member

mtminh

Well-Known Member
Mạch trên board LAMP AUDIO nó y như mạch này a chỉ khác cái công tắc SW1 cho khỏi nhập nhằng bác a . :oops:

GHYTBNM.jpg



Bác tách nó ra so sánh thử a . (nếu mình ngại mất balance trên AES) . :mad:
Vâng. Đủ đồ nghe trước, tách sau bác ạ. Biết đâu, họ ghép vậy hợp tai mình ;).

Đã isolated bằng R1 và R2 ( XMOSAmanero không có C1, C2). Mình vẫn ngại mạch RL và C kí sinh của cả hai lấy cùng một điểm không switch, tạo mạch cộng hưởng. Làm ảnh hưởng cân bằng dãi thông :rolleyes:

Cảm ơn bác. Mắt mình kém, nhìn nhòe nhòe, dễ nhầm. Có bác ra tay, chắc ăn :D
 

tellme0823

Well-Known Member
Ok để tối về mình cài thử bác:)
Báo cáo bác tình hình như sau:
B1: ssh [email protected]
Pass: volumio
B2: apt-get install libasound2 alsa-utils
B3: wget https://www.signalyst.eu/bins/naa/linux/stretch/networkaudiod_3.6.0-42_armhf.deb
B4: dpkg -i networkaudiod_3.6.0-42_armhf.deb

Bị báo lổi bước cuối cùng:
-------
Preparing to unpack networkaudiod_3.6.0-42_armhf.deb ...
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Unpacking networkaudiod (3.6.0-42) over (3.6.0-42) ...
dpkg: dependency problems prevent configuration of networkaudiod:
networkaudiod depends on libstdc++6 (>= 5.2); however:
Version of libstdc++6:armhf on system is 4.9.2-10+deb8u1.

dpkg: error processing package networkaudiod (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
networkaudiod
--------
Vấn đề là naa dùng cho bản raspbian stretch còn volumio dùng bản jessie cũ hơn.
Thử cài libstdc++6:armhf nó không chịu.

Test tiếp ép thay đổi source rồi update:
sudo nano /etc/apt/sources.list

đổi thành:
deb http://archive.raspbian.org/raspbian stretch main contrib non-free
deb-src http://archive.raspbian.org/raspbian stretch main contrib non-free

chạy lại lênh:
apt-get update
apt-get upgrade

Nó update qua toàn bộ stretch đòi gỡ mấy chục mb của volumio, nếu update chắc tiêu luôn volumio nên mình tạm ngừng tại đây, có bác nào cao thủ nhờ ngâm cứu tiếpo_O.
 
Chỉnh sửa lần cuối:

tieuphi2006

Well-Known Member
Báo cáo bác tình hình như sau:
B1: ssh [email protected]
Pass: volumio
B2: apt-get install libasound2 alsa-utils
B3: wget https://www.signalyst.eu/bins/naa/linux/stretch/networkaudiod_3.6.0-42_armhf.deb
B4: dpkg -i networkaudiod_3.6.0-42_armhf.deb

Bị báo lổi bước cuối cùng:
-------
Preparing to unpack networkaudiod_3.6.0-42_armhf.deb ...
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Unpacking networkaudiod (3.6.0-42) over (3.6.0-42) ...
dpkg: dependency problems prevent configuration of networkaudiod:
networkaudiod depends on libstdc++6 (>= 5.2); however:
Version of libstdc++6:armhf on system is 4.9.2-10+deb8u1.

dpkg: error processing package networkaudiod (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
networkaudiod
--------
Vấn đề là naa dùng cho bản raspbian stretch còn volumio dùng bản jessie cũ hơn.
Thử cài libstdc++6:armhf nó không chịu.

Test tiếp ép thay đổi source rồi update:
sudo nano /etc/apt/sources.list

đổi thành:
deb http://archive.raspbian.org/raspbian stretch main contrib non-free
deb-src http://archive.raspbian.org/raspbian stretch main contrib non-free

chạy lại lênh:
apt-get update
apt-get upgrade

Nó update qua toàn bộ stretch đòi gỡ mấy chục mb của volumio, nếu update chắc tiêu luôn volumio nên mình tạm ngừng tại đây, có bác nào cao thủ nhờ ngâm cứu tiếpo_O.
Hi hi.. nó cùng nỗi đau em đã mò.. HQ player naa nó không dùng chung với phần mền nghe nhạc khác..
Nó giống như hay tương tự.. HQ player đang chạy.. thì khi có chương trình phát nhạc khác đang chạy nó sẽ tự động ngắt..
Theo em anh nên dùng 1 thẻ nhớ khác để MAP(ghi riêng).. việc cấm cái thẻ nhớ nó để hơn giải quyết cái này..
1..anh dùng Debian.. rồi chạy 2 dòng lệnh trên..
2..anh có thể dùng theo cách của em..
https://www.proe.vn/jetson-nano-dev-kit
Install Ubuntu không update gì hết rồi chạy 2 dòng lệnh trên..
Thanks anh..
 
Bên trên