-
... if( this.exists ) { if( reload or: { all[ rawPath.asSymbol ].isNil }) { file = SimpleMIDIFile.read( rawPath ); if( file.midiEvents.size > 0 ) { all[ rawPath.asSymbol ] = SimpleMIDIFile.read( rawPath ); UMIDIFile.changed( \added ); } { "% : ...
-
SimpleMIDIFile part of wslib a MIDI file implementation capable of reading and writing all types of MIDI data (except sysex messages). first an example: ( m = SimpleMIDIFile ( "~/Desktop/midifiletest.mid" ); // create empty file m.init1( 3 ...
-
... aledUserView ScaledUserView.keepRatio now works (also for ScaledUserViewWindow) SimpleMIDIFile.p added (creates a Ppar'ed set of Pbinds) -> call .p.play to play as pattern added dependancies folder added PlayBufCF and PlayBufAlt classes (no ...
-
// requires SimpleMIDIFile.sc from wslib + SimpleMIDIFile { playNotesWithFunction { |function, channel, track, clock, doneAction| // function is called every time a note is played // passed arguments are: // noteNr, velo, dur, upVelo, track ...
-
// write file using the wslib file management options + SimpleMIDIFile { checkWrite { arg newFileName, overwrite= false, ask= true; var theFile; newFileName = newFileName ?? pathName; newFileName = newFileName.standardizePath; newFileName = ...
-
+ SimpleMIDIFile { p { |inst, amp = 0.2, useTempo = true| // amp: amp when velo == 127 var thisFile; inst = ( inst ? 'default' ).asCollection; // todo: create multi-note events from chords, detect rests if( useTempo ) { if( timeMode == 'sec ...
-
... brary of SuperCollider3 extensions by Wouter Snoei 2005-2009 Main Features Lang SimpleMIDIFile shortcuts SVG String-collect (change) SMPTE AutoBackup Note asciiCorrect midiname appleScript file-management (String extensions) interpolate (Ar ...
-
to do for wslib - conversion more methods between SimpleMIDIFile and Pattern s - more ports for MIDIWindow , and MIDIOut support - finish MultiServer (currently experimental) for intelligent multi-processor handling from the lang using mult ...
-
// wslib 2006 // a MIDI event recorder for SimpleMIDIFile // the timeline is kept by Process.elapsedTime, so there are no routines running MIDIEventRecorder { classvar <>global; var <maxEvents = inf; var <startTime = 0; var <events; var <ar ...
-
... if( this.exists ) { if( reload or: { all[ rawPath.asSymbol ].isNil }) { file = SimpleMIDIFile.read( rawPath ); if( file.midiEvents.size > 0 ) { all[ rawPath.asSymbol ] = file.timeMode_( \seconds ); allNoteSustainEvents[ rawPath.asSymbol ] ...