村上や |
|
ニュース |
2019年10月12日
「Raspberry Pi
Zero WH」で作るインターネットラジオです。
bluetoothスピーカーに挑戦しました。
スマホの音楽をbluetooth通信で音を出してみましたが、音質は・・・。
ノイズも出ます。
Wifiをオフにしても、ノイズはそれほど改善されません。
うーーーん。
備忘録です。
↓bluetooth 関連のパッケージ追加 #
apt-get install pulseaudio-module-bluetooth python-gobject python-gobject-2 ↓ユーザー(pi)を「lp」グループに追加 #
usermod -a -G lp pi ↓「/etc/bluetooth/audio.conf」の新規作成 # nano
/etc/bluetooth/audio.conf
↓「/etc/pulse/daemon.conf」の修正 # nano
/etc/pulse/daemon.conf
↓再起動 #
reboot ↓Bluetooth の設定 #
bluetoothctl ↓Bluetoothを発見可能にする [bluetooth]#
discoverable on ↓Bluetooth の設定確認 [bluetooth]# show
↓スマホでペアリング登録
↓ペアリングを認証 [bluetooth]#
trust XX:XX:XX:XX:XX:XX ↓Bluetooth の設定確認 [bluetooth]# show
|
【バックナンバー】