Your MIDI keyboard should now be successfully interfaced with your computer, potentially via your audio interface. This ...
MIDI was created over thirty years ago to connect electronic instruments ... [mitxela]’s polyphonic synth for the ATtiny 2313 does just that, using only two kilobytes of Flash and fitting ...
The only downside: you need a synthesizer to turn MIDI notes into actual sounds ... and a USB hub to connect a likewise added USB audio interface, as well as the controller itself.
So, let’s answer this question comprehensively: how do you connect a MIDI keyboard ... got an old-school 5-pin MIDI keyboard you’d like to mate with your digital synth VSTs, then your needs ...