I’ll start out with a #raspberrypi #pico as I’ve got 5 of ‘em rattling around in my toolbox already doing nothing… 1x Pico should handle 24 sockets (24x GPIO set to Input, with pull-ups)
Cor… 55x mono sockets for less than £10!! Add in the Teensy & that’s a 55 way patch surface for sub £40. https://www.switchelectronics.co.uk/3-5mm-mono-miniature-jack-socket
…and I reckon, with 55x available input pins, a Teensy4.1 will do the trick _perfectly_ with LOTS of room for expansion…!