25 ms·
I use a Raspberry PI Zero / 3 together with a phat dac for a bluetooth audio receiver / Airplay in my car: Auto-Installer: https://github.com/BaReinhard/Super-
by sandreas 7y ago
I use a Raspberry PI Zero / 3 together with a phat dac for a bluetooth audio receiver / Airplay in my car:
Auto-Installer: https://github.com/BaReinhard/Super-Simple-Raspberry-Pi-Audio-Receiver-Install https://github.com/BaReinhard/Super-Simple-Raspberry-Pi-Audi...
PhatDac (hardware): https://www.amazon.com/Pimoroni-24-bit-192KHz-Sound-Raspberry/dp/B019U9VC9E/ref=sr_1_1?keywords=phat+dac&qid=1561436473&s=gateway&sr=8-1 https://www.amazon.com/Pimoroni-24-bit-192KHz-Sound-Raspberr...
Alternative (hardware): https://www.amazon.com/Audio-AUDIO-Raspberry-Better-quality/dp/B00MDW602K/ref=sr_1_2?keywords=phat+dac&qid=1561436555&s=gateway&sr=8-2 https://www.amazon.com/Audio-AUDIO-Raspberry-Better-quality/...
It can be controlled via buttons over bluez / dbus via infrared remote and buttons:
Button Shim (hardware): https://www.amazon.com/Pimoroni-PIM301-Button-Shim/dp/B07HCPC8MP/ref=sr_1_1?keywords=pimoroni+button+slim&qid=1561436627&s=gateway&sr=8-1 https://www.amazon.com/Pimoroni-PIM301-Button-Shim/dp/B07HCP...
Bluez API: https://git.kernel.org/pub/scm/bluetooth/bluez.git/tree/doc/media-api.txt https://git.kernel.org/pub/scm/bluetooth/bluez.git/tree/doc/...
DBUS control script: https://github.com/sandreas/raspberry-bluetooth-receiver/blob/master/scripts/btapi.sh https://github.com/sandreas/raspberry-bluetooth-receiver/blo...
Unfortunately it is not possible to set playback position via dbus (see https://stackoverflow.com/questions/50190477/bluez-and-dbus-set-track-playback-position-jump-to-position https://stackoverflow.com/questions/50190477/bluez-and-dbus-...), so rewind 30 seconds is not possible atm.
- Karrot_Kream 7y agoI don't know anything about Bluetooth. Does bluez always mount devices on /org/bluez/hci0/dev_${DEVICE_NAME} ?
- sandreas 7y agoDepending on your device... But for me it works with every audio capable device i tried (iPod nano, iPhone SE, Android Moto G7)