-
+ SimpleMIDIFile { // plotting using wslib GUI extensions // - could be optimized // - should make use of GUI style ( waiting for color standardization ) asPenFunction { |bounds, track = 0, type = \pitchBend, channel = 0, cc = 0, minVal = 0 ...
-
... or the tempo map, // which is used for conversion from ticks to seconds and vv. SimpleMIDIFile { classvar <>tempoScale = 1024; var <tempo = 120; var <>pathName; var <>midiEvents; // format: [trackNumber, absTime, type, channel, val1, val2] ...
-
... ts.collect({ |event| event[1..] }) ); } *playMIDIFile { |path| var file; file = SimpleMIDIFile( path ).read; file.timeMode = \seconds; file.pitchBendMode = \float; this.midiRecorder.resetArm; this.midiRecorder.isRunning = false; this.playFi ...