-
+ SimpleMIDIFile { pArr { |inst, amp = 0.2, useTempo = true| // amp: amp when velo == 127 var thisFile, resultArr; inst = ( inst ? 'default' ).asCollection; if( useTempo ) { if( timeMode == 'seconds' ) { thisFile = this } { thisFile = this. ...
-
... ecord and playback movements, and plot, read and write them to MIDI files using SimpleMIDIFile . similar undocumented classes: MIDITouchWindow MIDIControlWindow MIDICinetixWindow MIDIBendWindow ( nC , busOffset, initValues, historySize, max ...
-
... d to whole numbers except the subframes. Used by SMPTEView, TransportWindow and SimpleMIDIFile By default the frameRate is 25 (25 per second), and the subFrameRate 100 (100 per frame). please note: the SMPTE class does not generate nor reco ...
-
+ 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 ...