fixed rtmidi IO for tutorial