close() Close the output device. midiout.close() On some systems a device, once closed, cannot be reopened.