ssCore.MIDI.start

Start listening to MIDI events


Availability:

First available in version 3.2 build 136.


Input Parameters:

id - [Optional] - The device id (see CMidi.getInfo) to start receiving messages from. Default value is 0.


Output Parameters:

No output parameters.


Asynchronous Mode:

When this method is called asynchronously, a return object containing the output parameters is passed to the specified callback function.

ssCore.MIDI.start( paramsObject [, callbackParamsObject] [, errorParamsObject] );


Synchronous Mode:

When this method is called synchronously, a return object containing the output parameters is returned to the caller immediately.

var returnObject = ssCore.MIDI.start( paramsObject );


Notes:

Notifications set up by MIDI.setNotify will not be triggered until MIDI.start is called.

When used with MIDI.stop, you can temporarily suspend and resume MIDI event notifications without repeating calls to MIDI.setNotify and MIDI.clearNotify.

                

Examples:

ssCore.MIDI.start();