1- # TODO
2-
3- - turn up volume output from bbox pi
4-
5- # BBox
1+ # Beatboxer <!-- omit from toc -->
62
7- Beatboxer in Go
3+ A human-sized drum machine built with a Raspberry Pi, Adafruit Feather Scorpios, NeoPixels, and Go
84
9- - [ TODO] ( #todo )
10- - [ BBox] ( #bbox )
11- - [ Raspberry PI Setup] ( #raspberry-pi-setup )
12- - [ OS] ( #os )
5+ - [ Raspberry PI Setup] ( #raspberry-pi-setup )
6+ - [ OS] ( #os )
137 - [ First Boot] ( #first-boot )
148 - [ Faster boot] ( #faster-boot )
159 - [ Code] ( #code )
@@ -18,21 +12,21 @@ Beatboxer in Go
1812 - [ baux-style sound card] ( #baux-style-sound-card )
1913 - [ Test] ( #test )
2014 - [ Audio support for Go] ( #audio-support-for-go )
21- - [ Run] ( #run )
22- - [ Build] ( #build )
23- - [ Auto boot with keyboard attach] ( #auto-boot-with-keyboard-attach )
24- - [ Auto boot baux] ( #auto-boot-baux )
25- - [ Connectivity] ( #connectivity )
26- - [ Configure to connect over ethernet] ( #configure-to-connect-over-ethernet )
27- - [ Configure the Pi to connect as Wifi AP] ( #configure-the-pi-to-connect-as-wifi-ap )
28- - [ Switch the Pi back to connecting to the internet with wifi] ( #switch-the-pi-back-to-connecting-to-the-internet-with-wifi )
29- - [ Docs] ( #docs )
30- - [ Credits] ( #credits )
31-
15+ - [ Run] ( #run )
16+ - [ Build] ( #build )
17+ - [ Auto boot with keyboard attach] ( #auto-boot-with-keyboard-attach )
18+ - [ Auto boot baux] ( #auto-boot-baux )
19+ - [ Connectivity] ( #connectivity )
20+ - [ Configure to connect over ethernet] ( #configure-to-connect-over-ethernet )
21+ - [ Configure the Pi to connect as Wifi AP] ( #configure-the-pi-to-connect-as-wifi-ap )
22+ - [ Switch the Pi back to connecting to the internet with wifi] ( #switch-the-pi-back-to-connecting-to-the-internet-with-wifi )
23+ - [ Docs] ( #docs )
24+ - [ Credits] ( #credits )
25+ - [ TODO ] ( #todo )
3226
33- ## Raspberry PI Setup
27+ # Raspberry PI Setup
3428
35- ### OS
29+ ## OS
3630
37311 . Install Raspberry Pi Imager: https://www.raspberrypi.com/software/
38322 . Choose ` Raspberry Pi 5 ` , ` Raspberry Pi OS Lite (64-bit) ` and
@@ -173,19 +167,19 @@ aplay /usr/share/sounds/alsa/Front_Center.wav
173167sudo apt-get install -y libasound2-dev
174168```
175169
176- ## Run
170+ # Run
177171
178172``` bash
179173go run cmd/bbox/main.go --fake-leds
180174```
181175
182- ## Build
176+ # Build
183177
184178``` bash
185179go build -o /home/sig/bin/bbox cmd/bbox/main.go
186180```
187181
188- ## Auto boot with keyboard attach
182+ # Auto boot with keyboard attach
189183
190184``` bash
191185cat << 'EOF ' >> ~/.profile
@@ -208,7 +202,7 @@ sudo systemctl daemon-reload
208202sudo reboot
209203```
210204
211- ### Auto boot baux
205+ ## Auto boot baux
212206
213207``` bash
214208cat << 'EOF ' >> ~/.profile
220214EOF
221215```
222216
223- ## Connectivity
217+ # Connectivity
224218
225- ### Configure to connect over ethernet
219+ ## Configure to connect over ethernet
226220
227221``` bash
228222IP=192.168.2.2
@@ -251,7 +245,7 @@ alias pi="ssh sig@$HOSTNAME.local"
251245alias pieth=" ssh sig@$IP "
252246```
253247
254- ### Configure the Pi to connect as Wifi AP
248+ ## Configure the Pi to connect as Wifi AP
255249
256250``` bash
257251SSID=sigpi
@@ -275,22 +269,25 @@ HOSTNAME=raspberrypi5-4
275269ssh sig@$HOSTNAME .local
276270```
277271
278-
279- #### Switch the Pi back to connecting to the internet with wifi
272+ ### Switch the Pi back to connecting to the internet with wifi
280273
281274``` bash
282275nmcli connection show
283276sudo nmcli connection down Hotspot
284277```
285278
286- ## Docs
279+ # Docs
287280
288281``` bash
289282jekyll serve -s docs
290283open http://127.0.0.1:4000/bbox
291284```
292285
293- ## Credits
286+ # Credits
294287
295288- [ wavs] ( wavs ) courtesy of (http://99sounds.org/drum-samples/ )
296289- Keyboard courtesy of (https://github.com/kodachi614/macropaw )
290+
291+ # TODO
292+
293+ - proper LED simulator
0 commit comments