https://github.com/vipul-sharma20/tora
Wireless speaker using raspberry pi
https://github.com/vipul-sharma20/tora
bluetooth bluetooth-speaker raspberry-pi raspberry-pi-3 wireless
Last synced: 3 months ago
JSON representation
Wireless speaker using raspberry pi
- Host: GitHub
- URL: https://github.com/vipul-sharma20/tora
- Owner: vipul-sharma20
- Created: 2017-09-15T12:23:18.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-09-18T13:30:18.000Z (almost 9 years ago)
- Last Synced: 2026-01-18T23:58:50.070Z (6 months ago)
- Topics: bluetooth, bluetooth-speaker, raspberry-pi, raspberry-pi-3, wireless
- Language: Shell
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Tora
====
Use traditional wired speakers as wireless using raspberry pi. Just one command
required.
Usage
-----
Connect to speaker:
* `tora connect`
Disconnect:
* `tora disconnect`
Setup
-----
* `sudo apt-get update && sudo apt-get install bluez pulseaudio-module-bluetooth python-gobject python-gobject-2 bluez-tools udev`
* `sudo usermod -a -G lp pi`
* `vi /etc/bluetooth/audio.conf`
[General]:
Enable=Source,Sink,Media,Socket
* `vi /etc/bluetooth/main.conf`
Class = 0x00041C
* `vi /etc/pulse/daemon.conf`
resample-method = speex-float-3
* `pulseaudio -D`
* `vi /etc/udev/rules.d/99-input.rules`
SUBSYSTEM="input", GROUP="input", MODE="0660"
KERNEL=="input[0-9]*", RUN+="/usr/lib/udev/bluetooth"
* `sudo mkdir /usr/lib/udev && cd /usr/lib/udev`
* `vi bluetooth` and put [this](https://gist.github.com/vipul-sharma20/8798c31c1dfd80f60fe129e67897fcaf)
* `AUDIOSINK` might differe check yours `pactl list short sinks`
* `chmod 777 bluetooth`
* `sudo amixer cset numid=3 n` (n can be 0=auto, 1=jack, 2=hdmi)
Connecting through Bluetooth
----------------------------
* `bluetoothctl`
* `power on`
* `agent on`
* `default-agent`
* `discoverable on`
* `pairable on`
* `connect `
The Name
--------
Meaning of Tora: [here](http://naruto.wikia.com/wiki/Tora)
This is the first instance of wireless technology being used in this series