This project is a simple Sustain pedal to midi note converter based on a raspberry pi pico board.
- 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 but I think any one should work) – disable this using the
SUS2MIDI_NEOPIXEL
build flag in the .ini file.
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:
brew install platformio
To compile and upload your sketch, simply run the following command:
pio run -t upload