居間に設置しているRaspberry Piオーディオのもろもろをバージョンアップしたのでセットアップの流れと設定内容をメモしておきます。
セットアップの流れ
- MoodeaudioをSDカードに焼く
- 初期設定
- Sabreberry32 ドライバ導入
- Moodeaudio 設定
- おまけ
MoodeaudioをSDカードに焼く
公式からダウンロードして作成します。
最新バージョンではなく後述の Sabreberry32のドライバが対応している7.3をダウンロードします。
https://github.com/moode-player/moode/releases/
初期設定
Wifi
焼いたSDカードをRaspberry Piに差し込んで電源を入れます。
LANケーブルを接続しないで起動するとAPモードとして起動するので、PCで接続、設定します。
APのSSIDやパスワードは公式のセットアップガイドを参照します。
https://github.com/moode-player/moode/blob/r730prod/www/setup.txt
SSH
Configure > System からSSHを有効にします。
Sabreberry32 ドライバ導入
作者さんWebサイトの手順でドライバを導入します。
https://nw-electric.way-nifty.com/blog/2021/08/post-ada6d6.html
Moodeaudio 設定
設定を変更した箇所だけまとめ
Library
NASマウント
- Path
IPaddress/path/to/dir/
- Option
- ドメインとSMBのバージョンを追記
ro,dir_mode=0777,file_mode=0777,domain=hogehoge,vers=3.0
Audio
- I2S Audio Device
- Named device
- SabreBerry32
- Driver options
- slave Disabled
- Named device
- MPD Options
- Volume mixier
- Hardware
- SoX Resampling
- Enabled
- Yes
- Bit depth
- 32
- Sample ratet
- 192
- Multithreading
- Yes
- Enabled
- Volume mixier
- Audio Renderers
- Bluetooth
- ON
- Pairing agent
- ON
- Bluetooth
- Spotify renderer
- Spotify
- ON
- Spotify
System
- Timezone
- Japan
- Kernel architecture
- 32-bit
- HDMI port
- OFF
- Wait for eth0 address
- OFF
- SSH term server
- ON
おまけ(BluetoothのAptX HD対応)
先に明記しておきます。
AptXは Qualcomm のライセンスがないと利用できません。
こんな手段もあるんだなーということで紹介にとどめておきます。
https://moodeaudio.org/forum/showthread.php?tid=3683
ライブラリ作者さんの注意書きを引用しておきます。
https://github.com/Arkq/openaptx
This project is for research purposes only. Without a proper license private and commercial usage might be a case of a patent infringement. If you are looking for a library, which can be installed and used legally (commercial, private and educational usage), go to the Qualcomm® aptX™ homepage and contact Qualcomm customer service.
さいごに
SabreBerry32は、製作者さんが公開しているドライバがないとVolumioやMoodeaudioでは利用できません。
複数のディストリビューションそれぞれのバージョンアップに追従してドライバを公開いただいていることにはただただ感謝です。
ただ、Moodeaudioのバージョンアップが作者さん依存になってしまっているので、今後は積極的にMoodeaudioのバージョンをあげるより機器が不調になったら…という流れになりそうです。