This class is missing documentation.
MIDIEventRecorder.arm(maxEvents)
MIDIEventRecorder.global
MIDIEventRecorder.global = value
MIDIEventRecorder.new(maxEvents, startTime)
MIDIEventRecorder.with( ... events)
.add(eventArray)
.addAll(arrayOfEventArrays)
.addEvent(eventArray, timeOffset: 0, absTime)
.addNote(channel: 0, noteNr: 64, velo: 64, dur: 1, upVelo)
.addNoteOff(channel: 0, noteNr: 64, velo: 64)
.addNoteOn(channel: 0, noteNr: 64, velo: 64)
.addType(type: 'noteOn', channel: 0 ... values)
.asSimpleMIDIFile(pathName, pitchBendMode: 'int8')
.paused = bool: true
.plot(index: 3)
.reset(newmaxEvents, newStartTime)
.sort(function)
Copy and paste the text below and save to HelpSource/Classes/MIDIEventRecorder.schelp
link::Classes/MIDIEventRecorder::