Skip to content

close()

Close the input device and free its resources.

Also clears every event handler set with the on… methods.

Parameters

Once an object midiin has been created, you can use the following function:

midiin.close()