https://github.com/madskjeldgaard/sustain2midi
A simple midi controller that takes sustain pedal signals and turns them into midi notes
https://github.com/madskjeldgaard/sustain2midi
midi-controller midi-device platformio raspberrypi-pico raspberrypipico
Last synced: about 1 month ago
JSON representation
A simple midi controller that takes sustain pedal signals and turns them into midi notes
- Host: GitHub
- URL: https://github.com/madskjeldgaard/sustain2midi
- Owner: madskjeldgaard
- License: mit
- Created: 2024-05-09T08:24:33.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-14T10:14:43.000Z (about 1 year ago)
- Last Synced: 2025-02-10T22:35:57.157Z (3 months ago)
- Topics: midi-controller, midi-device, platformio, raspberrypi-pico, raspberrypipico
- Language: C++
- Homepage:
- Size: 305 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/madskjeldgaard/raspberry-pi-pico-usbmidi-platformio-template/actions/workflows/build.yml)
# Sustain2Midi

This project is a simple Sustain pedal to midi note converter based on a raspberry pi pico board.
## Features
- Dirt cheap (all you need is a mono jack socket and a raspberry pi pico)
- Sends note on/off
- Note number can be changed easily by sending a midi note to the device.
- (Optional) Use a WS2812 NeoPixel to show the state and midi note value via colour (I use [this module](https://www.aliexpress.com/item/1005001565556198.html?spm=a2g0o.order_list.order_list_main.4.17d91802H9j6ak) but I think any one should work) – disable this using the `SUS2MIDI_NEOPIXEL` build flag in the .ini file.## Dependencies
You need to have platformio installed to make use of this. I prefer using the command line version.
Install it on MacOS by running homebrew:
```bash
brew install platformio
```## Compiling and uploading
To compile and upload your sketch, simply run the following command:
```bash
pio run -t upload
```