What happens, when you remove the 4051 and connect a pot input (e.g. AIN::J1:A0) directly with a Mux output (AIN::J5:A0) - if this doesn’t behave like if you connect the pot directly to CORE::J5:A0, you know, that there is a problem with your PCB
Even with a pot connected directly to the core on J5:A0 I’m still getting no midi data / or any indication on the LCD of AIN activity. The DINX4 I’ve built works like a dream as does the LCD.
Should I be getting random midi stuff because the A1-3 are unused and ungrounded?
Yes, you should at least get random MIDI events when you touch your finger on these ungrounded pins.
This is a very basic function, there is no reason why the analog pins shouldn’t work (assumed that you haven’t changed the firmware). Could it be, that you’ve destroyed the analog stages inside the PIC during some experiments?