Line 1:
Line 1:
−
The All-In-One circuit can be easily tweaked for having 4 extra switches that can be used for a sustain pedal, MIDI switches (very useful for SooperLooper!), or for sending some specific MIDI message (program change, etc.).
+
The All-In-One circuit can be easily tweaked for adding upto 4 extra switches that can be used for a panic button, a sustain pedal or other MIDI-CC switches (very useful for SooperLooper!).
The unused pins in the MCP23017 are:
The unused pins in the MCP23017 are:
Line 20:
Line 20:
* pin 5 => WiringPi GPIO 115
* pin 5 => WiringPi GPIO 115
−
You can check the schematic here:
+
You can check the schematic [http://wiki.zynthian.org/images/4/44/Zynthian_allinone.sch.svg here]
−
http://wiki.zynthian.org/images/4/44/Zynthian_allinone.sch.svg
+
So, if you have a recent version of All-In_Circuit, you can follow these simple steps for adding your custom switches:
−
−
So, if you have a recent version of All-In_Circuit, the only things you have to do is:
* Update your zynthian
* Update your zynthian
Line 32:
Line 30:
** Select MCP23017_EXTRA as wiring layout. This will set your ZYNTHIAN_WIRING_SWITCHES to “100,103,108,111,106,107,114,115”
** Select MCP23017_EXTRA as wiring layout. This will set your ZYNTHIAN_WIRING_SWITCHES to “100,103,108,111,106,107,114,115”
** Configure the desired actions (advanced options). The UI active layer’s MIDI channel will be used for MIDI actions.
** Configure the desired actions (advanced options). The UI active layer’s MIDI channel will be used for MIDI actions.
+
+
For instance, you could add a "Panic Button" to an official v2 zynthian:
+
+
[[File:Zynthian v2 panic switch.jpeg|500px]]
+
+
and configure the actions as follow:
+
+
* Type: Ui Action
+
* Short push: All Note Off
+
* Bold push: All Off (All Notes Off + All Sounds Off)
+
* Long push: Reboot
+
+
You can read more about this subject in the next links:
+
+
* https://discourse.zynthian.org/t/extra-switches-sustain-pedal-panic-button-etc/1843
+
* https://discourse.zynthian.org/t/extra-switches-now-customizable-from-webconf/2765