Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (23) Code (6) Doc (1) Quark (16) SCDoc ↗ Forum ↗ Google ↗
  1. UMIDIFile Quark

    ... 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 ); } { "% : ...

  2. SimpleMIDIFile Quark

    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 ...

  3. wslib-history Quark

    ... 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 ...

  4. extSimpleMIDIFile-asEvents Quark

    // 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 ...

  5. extSimpleMIDIFile-checkWrite Quark

    // 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 = ...

  6. extSimpleMIDIFile-patterns Quark

    + 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 ...

  7. wslib Quark

    ... 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 ...

  8. wslib-todo Quark

    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 ...

  9. MIDIEventRecorder Quark

    // 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 ...

  10. UMIDIFile Quark

    ... 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 ] ...

1 2 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow