Updated Portmidi example - keyboard