BACK


	
	
	//1 - Simple Pass Through

	/* 
	    The HandleMIDI() function lets you process MIDI events that the plug-in 
	    receives. 

	    HandleMIDI is called each time a MIDI event is received by the plug-in and is 
	    required to process incoming MIDI events. If you do not implement the 
	    HandleMIDI function, events pass through the plug-in unaffected.

	    HandleMIDI is called with one argument which is a JavaScript object that 
	    represents the incoming MIDI event. HandleMIDI and JavaScript Event object 
	    use is shown in the examples.
	*/

	function HandleMIDI(event) {

	    event.send(); //Pass MIDI events through the plug-in.
	}