MIDI A MIDI NoteOn command creates a new instance of SAOL instrument. SAOL instruments that are accessible by MIDI commands use a special declaration header, as shown on the right panel. MIDI-capable SAOL instruments have two instrument parameters. The first parameter is initialized with the note number specified by the instantiating NoteOn command. The second parameter is initialized with the velocity value of the NoteOn command.
MIDI preset numbers are integers starting from zero.
A particular present number may only be used by one instrument. A NoteOn command creates an instance of the instrument that has the same preset number as the extended channel of the command. Before the first NoteOn command executes on a MIDI channel, a PChange command should execute to set the preset number for the channel. If the MIDI channel requires a preset number greater than 127, the PChange command should be preceded by a CChange command for controller 32, to select a preset bank number. At that time, the instrument is scheduled for termination at the end of the current execution cycle.