From d10d514ba02606a7bf5638783da2172a4ea05c8c Mon Sep 17 00:00:00 2001 From: probonopd Date: Wed, 8 Jan 2025 08:43:41 +0100 Subject: [PATCH] Add hardware configuration for mt32-Pi-Midi-Hat device --- hwconfig/chrissy-mt32-pi-midi-hat.override | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 hwconfig/chrissy-mt32-pi-midi-hat.override diff --git a/hwconfig/chrissy-mt32-pi-midi-hat.override b/hwconfig/chrissy-mt32-pi-midi-hat.override new file mode 100644 index 0000000..e073d0b --- /dev/null +++ b/hwconfig/chrissy-mt32-pi-midi-hat.override @@ -0,0 +1,31 @@ +# mt32-Pi-Midi-Hat by Chrissy +# https://github.com/chris-jh/mt32-pi-midi-hat + +SoundDevice=i2s +SampleRate=48000 +DACI2CAddress=0 +ChannelsSwapped=0 + +MIDIBaudRate=31250 +MIDIThru=umidi1,ttyS1 + +SSD1306LCDI2CAddress=0x3c +SSD1306LCDWidth=128 +SSD1306LCDHeight=64 +SSD1306LCDRotate=0 +SSD1306LCDMirror=0 + +LCDColumns=20 +LCDRows=4 + +ButtonPinPrev=22 +ButtonActionPrev=click +ButtonPinNext=23 +ButtonActionNext=click +ButtonPinBack=27 +ButtonActionBack=click +ButtonPinSelect=17 +ButtonActionSelect=click +ButtonPinHome=17 +ButtonActionHome=longpress +ButtonPinShortcut=0