Use select(2) to wait for next MIDI event and user input on UNIX
1 file changed