https://github.com/laenzlinger/midibox
Using a raspberry pi to build a midi foot switch box
https://github.com/laenzlinger/midibox
go golang midi raspberrypi
Last synced: 5 months ago
JSON representation
Using a raspberry pi to build a midi foot switch box
- Host: GitHub
- URL: https://github.com/laenzlinger/midibox
- Owner: laenzlinger
- Created: 2018-12-26T15:52:08.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-11-22T20:43:49.000Z (over 6 years ago)
- Last Synced: 2024-11-15T03:33:36.987Z (over 1 year ago)
- Topics: go, golang, midi, raspberrypi
- Language: Go
- Size: 48.8 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Midibox
Playing with midi is a fun project to learn new technology. I created this small project to learn mainly about
the go language.
I am using a [Raspberry Pi Zero W](https://www.raspberrypi.org/products/raspberry-pi-zero-w/) and an
[Adafruit 128x64 OLED bonnet](https://www.adafruit.com/product/3531) to implement a small midi controller.
The reason for choosing this hardware is because it is so easily available and it offers a small screen and
some buttons to get started without any need to do any soldering.
The hardware is accessed by using the [periph](https://periph.io) hardware abstraction library.
This project is used to demonstrate the [go implementation of the RTP-MIDI protocol](https://github.com/laenzlinger/go-midi-rtp).
## Hardware
Coneection of the DigiTech Control SEVEN switches:
| Key | Color | Pin | Chip |
|--------|---------|-------|--------|
| 0 | türkis | 12 | BCM 18 |
| 1 | violett | 18 | BCM 24 |
| 2 | violett | 22 | BCM 25 |
| 3 | türkis | 32 | BCM 12 |
| 4 | white | 36 | BCM 16 |
| UP | blue | 33 | BCM 13 |
| DOWN | blue | 37 | BCM 26 |
see [pinout](https://pinout.xyz/pinout/oled_bonnet)
Upper Row Ground: white: (Pin 20)
Lower Row Ground: orange (Pin 30)
## installation
``` bash
scp midibox.service pi@midibox
ssh pi@midibox sudo mv midibox.service /etc/systemd/system/midibox.service
ssh pi@midibox sudo systemctl enable midibox.service
make deploy
```