Sustain Pedal or foot switch


#1

Hello, my zynthian still is on its way to me, but i already wonder if it would be possible to attach a Sustail Pedal (Foot switch, on/off) to one of the GPIO pins of the Raspberry Pi and have this coupled via software to the Midi sustain Signal?
It might be useful for keyboards which do not provide this option.
Regards, hal


#2

Of course it’s possible!! Although it’s not currently implemented … you should work a little bit, but please, do it :wink:

Regards,


#3

Hi, that motivates me in trying figuring out how to implement it :slight_smile:
Regards, hal


#4

Not specially difficult. The simplest way should be extending the zyncoder library.

Kind Regards


#5

Wouldn’t it be best if we had a phone connector jack where we can plug in sustain or volume pedals? Depending on the webconf setting we have to translate the signal differently.


#6

The next All-In-One circuit will include an extra connector with the 4 unused GPIO ports from the MCP23017, so we can use it for this kind of things (switch/sustain pedals). And we have the standard RBPi GPIO ports too …

Regarding the volume/expression pedals, we would need an ADC. It could be used for CV inputs and many other interesting things … there are so many cheap & crazy sensors …

Of course, a simple arduino-like module connected as a USB-MIDI controller could be a nice solution …

Regards,