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

Thanhvo31

Well-Known Member
Mấy cái này tế nhị lắm anh ạ. Hỏi ngại lắm :confused:

Trừ khi em biết chắc cái TC này của ổng dev.

Có mấy git mò thêm?

https://github.com/ppy2
https://github.com/shawaj/HiTide
https://github.com/shawaj/ifi-tidal-release
https://www.raspberrypi.org/forums/viewtopic.php?t=297771
https://github.com/seniorgod/ifi-tidal-release

Tidal connect service raspberry/ARM based on ppy2/ifi-tidal-release
I found that repository called ifi-tidal-release here on github, created by ppy2. Included are some binaries and some scripts. The names of the binaries intended that this is a tidal connect client. Because the lack of any description i downloaded the repo and play around with the included stuff.

I downloaded the git repos to m< arm-singleboard-computer. I use a (audio optimized) arm singleboard name sparky from allo.com based on a minimal debian system called DietPi (https://github.com/MichaIng/DietPi). It turns out, that the binaries runs on ARMv7 on debian stretch and (more difficult to set up) on debian buster (perhaps on any LINUX version on ARM). There are several binaries included in the repo. You do not need all binaries and all scripts for a tidal connect client.

Below you find the description to get that tidal connect client running for Debian stretch and Debian buster on ARM. The description ist written initially for stretch. Because buster lacks some older libraries there is more to do to get the tidal connect client running on buster. The only difference therefore is to load more "older" libraries which ar not present by default in Debian buster.

If you are not comfortable with installing old libs on your SBC, you can create the tidal-connect-application inside a docker container, like described here: https://github.com/seniorgod/ifi-ti...application_as_docker_container/ifi_docker.md

Let' start with installing tidal-connect-application on your SBC directly without docker:

These are the basic steps to create your tidal connect client:

  1. install required shared libraries
  2. download the repository
  3. adjust the systemd service description
  4. copy everything to the final directories
  5. start the tidal connect client
 
Chỉnh sửa lần cuối:

youngj

Well-Known Member
dastereo mà phổ biến rộng rãi thì volumio lại ăn cháo rồi.

Edit: có anh em nào thấy Tidal Connect từ iPhone (XS, 14.4) chưa?
Của mình từ iPad(14.4) /Desktop thì thấy mà iphone thì chưa.
ProMax 14.4 thấy được nhé,
lại cho e hỏi, nếu so sánh tidal giữa mconnect ra loa active và tidal connect thông qua pi thì cách nào cho âm thanh pure hơn ạ
 

tml3nr

Moderator
ProMax 14.4 thấy được nhé,
lại cho e hỏi, nếu so sánh tidal giữa mconnect ra loa active và tidal connect thông qua pi thì cách nào cho âm thanh pure hơn ạ
- mconnect ra loa: mconnect lấy nhạc rổi làm proxy streaming, đẩy ra loa. Âm thanh ảnh hưởng nhiều bởi thiết bị đang chạy mconnect. Thường ios tiếng sẽ hay hơn andoid. ipad tiếng hay hơn iphone.

- pi làm TC: pi lấy nhạc trực tiếp từ internet, rồi đẩy qua dac, hoặc qua loa nếu như loa có dac input usb.

Tóm lại. Cái nào hay hơn phải thử thực tế mới biết được :D
 

Thanhvo31

Well-Known Member
ProMax 14.4 thấy được nhé,
lại cho e hỏi, nếu so sánh tidal giữa mconnect ra loa active và tidal connect thông qua pi thì cách nào cho âm thanh pure hơn ạ
Cái này nên chọn 1 track mình thích nhất, nghe thử rồi quyết thôi.
https://support.tidal.com/hc/en-us/articles/360004565898-How-to-Use-TIDAL-Connect
What is TIDAL Connect?

TIDAL Connect allows you to stream your favorite music seamlessly from the cloud straight to your connected devices. TIDAL Connect makes it possible for us to deliver the music you want to hear, uninterrupted and without any loss in quality, to your preferred hardware. Other casting technologies have limitations around the quality of the audio you are hearing.
iOS: v2.16.0 or Later
App của mình chắc cũ 2.8.5
 

youngj

Well-Known Member
cảm ơn bác @Thanhvo31 e cũng thử, âm thanh có khác nhau nên đang thẩm tiếp ạ, vì con LS50w của mình có vài vấn đề
- stream trực tiếp: app kef (giới hạn 16bit/44khz) hoặc mconnect (24bit/192khz) đến loa (direct) thì âm thanh to rõ, sân khấu tập trung ở giữa nhưng đôi lúc hay bị dừng giữa chừng, phải mở app chuyển bài khác
- stream thông qua rpi3: dùng app mconnect stream qua rpi3 (moode/volumio) output usb loa thì nghe không bị dừng giữa chừng, chất âm cũng gần tương tự
- stream tidal connect qua dastereo thì e mói thử, smooth thiệt, nghe khác hẳng 2 cách trên, không bị dừng giữa chừng và được cái là off điện thoại thì vẫn hát hết playlist


theo e đoán là cách 1 do stream trực tiếp thông qua app cơ chế của app là sẽ gen ra link tidal track, push link tidal đến loa, loa stream trực tiếp trên link tidal, nên đôi khi mất gói tin => tèo nguyên bài, phải next track

e đang nghe thêm qua tidal connect, cảm ơn các bác chia sẽ kiến thức nhiều ạ
 
Chỉnh sửa lần cuối:

Thanhvo31

Well-Known Member
Vụ iOS Tidal App, chỉ phụ thuộc phiên bản. Các bác update App lên bản mới nhé.
Tidal iOS cần qua US/JP
Chưa có TK App store ở Mỹ thì có HD ở đây https://appngon.com/tao-tai-khoan-apple-id-us.html

What do I need in order to use TIDAL Connect?
  1. Your speaker/audio system needs to be able to support TIDAL Connect. Check the growing list of devices that support it here: tidal.com/connect
  2. You also have to make sure your app version is on or above:
iOS: v2.16.0 or Later
Android: v2.32.0 or Later
  1. Your mobile device needs to be on the same network as your device.
 

tml3nr

Moderator
Em setup thử TC trên raspbian buster stock, Pi4. Chạy được rồi các anh ạ.

Chỉ 1 dòng lệnh duy nhất. Vì trong quá trình cài đặt nó sẽ detect dac để gán device ID. Cho nên phải bảo đảm là Dac đang bật trước khi cài.

Mã:
curl -sSL https://raw.githubusercontent.com/shawaj/HiTide/main/install.sh | sudo bash

Sau đó enable service:

Mã:
sudo systemctl daemon-reload
sudo systemctl enable ifi-streamer-tidal-connect.service
sudo systemctl restart ifi-streamer-tidal-connect.service

More info:

https://github.com/shawaj/HiTide

Em cố gắng test hết mọi thứ TC đang có để xem nó khác nhau như thế nào. Mong muốn lớn nhất của em là cái volume hix.

Vậy mô hình lý tưởng gọn nhẹ giờ này theo em là TC, aprenderer và minidlna. Nếu dùng pi4 thì cắm HDD USB vào cũng OK.

tidal-connect-1.jpg

Mã:
pi@rpi4:~ $ systemctl status -l ifi-streamer-tidal-connect.service
● ifi-streamer-tidal-connect.service - RasPi Streamer Tidal Connect Service
   Loaded: loaded (/lib/systemd/system/ifi-streamer-tidal-connect.service; disabled; vendor preset: enabled)
   Active: active (running) since Sat 2021-03-06 12:10:00 +07; 22min ago
Main PID: 3509 (tidal_connect_a)
    Tasks: 18 (limit: 4915)
   CGroup: /system.slice/ifi-streamer-tidal-connect.service
           └─3509 /usr/ifi/ifi-tidal-release/bin/tidal_connect_application --tc-certificate-path /usr/ifi/ifi-tidal-release/id_certificate/IfiAudio_ZenStream.dat -f HiTide RasPi Streamer --codec-mpegh true --codec-mqa false --model-name HiTide RasPi Streamer --disable-app-security false --disable-web-security false --enable-mqa-passthrough false --log-level 3 --enable-websocket-log 0

Mar 06 12:10:00 rpi4 tidal_connect_application[3509]: ALSA lib conf.c:4568:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
Mar 06 12:10:00 rpi4 tidal_connect_application[3509]: ALSA lib conf.c:5047:(snd_config_expand) Evaluate error: No such file or directory
Mar 06 12:10:00 rpi4 tidal_connect_application[3509]: ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM dmix
Mar 06 12:10:00 rpi4 tidal_connect_application[3509]: Cannot connect to server socket err = No such file or directory
Mar 06 12:10:00 rpi4 tidal_connect_application[3509]: Cannot connect to server request channel
Mar 06 12:10:00 rpi4 tidal_connect_application[3509]: jack server is not running or cannot be started
Mar 06 12:10:00 rpi4 tidal_connect_application[3509]: JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
Mar 06 12:10:00 rpi4 tidal_connect_application[3509]: STARTED TidalConnect services.
Mar 06 12:13:08 rpi4 tidal_connect_application[3509]: [2021-03-06 12:13:08.183] [tisoc] [warning] [PlaybackControllerImpl.cpp:472] Illegal state:1
Mar 06 12:13:13 rpi4 tidal_connect_application[3509]: [2021-03-06 12:13:13.314] [tisoc] [warning] [logger.cpp:22] [audio_worker.cpp:321] Attempting to initialize a decoder without initial data!
 
Chỉnh sửa lần cuối:

tml3nr

Moderator
Của em iphone x xài bản os final hiện tại vẫn thấy bình thường mà bác. Em chọn audio 1.1.6
Dạ không hiểu sao nữa anh ạ. Em là iphone 7 ghẻ, IOS 12.4.1, app tidal 2.18.

Không thấy TC của dastereo. Nhưng TC của hitide thì thấy liền.

Có thể là hai source dùng api khác nhau.

Mình đang test nên mấy cái này không quan trọng lắm. Trước mắt Android thấy là OK rồi. Mình sẽ còn phải thử thêm rất nhiều thứ khác nữa ạ.
 
Chỉnh sửa lần cuối:

dungsin_lqd

Well-Known Member
Thấy các bác bàn tán vụ cài dastereo down về cài trên rpi3 xuất qua dac smsl m200 tiếng mềm mỏng. Em không có tài khoản tidal thì mua như thế nào.
@linh0983 cái vụ này có lấy nhạc từ nas của bác được? Lâu quá em không vào khám phá nas của bác.
 
Bên trên