Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (535) Code (4) Doc (98) Help (27) Quark (405) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. startup15-contrapunct Quark

    ... parms; eventually I'll add safety checks? parmsToInsert = bp.v.coordParms ?? { IdentityDictionary.new }; parms.respondsTo(\keysValuesDo).if({ parmsToInsert.putAll(parms); }); currentEnvironment.putAll(parmsToInsert); (bp.v.alwaysReset == t ...

  2. startup15-contrapunct Quark

    ... parms; eventually I'll add safety checks? parmsToInsert = bp.v.coordParms ?? { IdentityDictionary.new }; parms.respondsTo(\keysValuesDo).if({ parmsToInsert.putAll(parms); }); currentEnvironment.putAll(parmsToInsert); (bp.v.alwaysReset == t ...

  3. UserViewObjectsManager Quark

    ... super.newCopyArgs(userView,bounds ?? {userView.bounds}).init } init { objects = IdentityDictionary.new; stack = List.new; selected = List.new; selectedStrokeColor = Color.blue; bounds = bounds.moveTo(0,0); } add { arg obj, renderFunc, bound ...

  4. Painter Quark

    ... vLabels Boolean for plotting vertex labels. Default value is true. statsDict an IdentityDictionary associating to a vertexID the number of its occurences. The counter is referred to all the actants. colFact The factor used to calculate the ...

  5. UsingMIDI Help

    ... separate set of response functions for each channel. ~noteOn = Array .fill(16, IdentityDictionary .new); MIDIIn .noteOn = { |port, chan, num, vel| ~noteOn[chan].do( _ .value(port, chan, num, vel)) }; // this function will respond only on c ...

  6. Architecture Doc

    ... r Class EventDispatcher { var events; *new { ^super.new.init; } init { events = IdentityDictionary.new; } // Method to subscribe to an event subscribe { |eventName, action| events[eventName] = events[eventName] ?? { Set.new }; events[eventN ...

  7. EQspecs Quark

    ... initClass { // each func takes "in" and outputs eq'ed signal (1 band) eqFuncs = IdentityDictionary[ \eq -> { arg in, k, freq, rq; MidEQ.ar(in, freq, rq, k.ampdb) }, \lopass -> { arg in, k, freq; LPF.ar(in, freq) }, \hipass -> { arg in, k, f ...

  8. Conductor Quark

    ... ndows var <>player; var <>preset; *initClass { StartUp.add ({ Conductor.specs = IdentityDictionary.new; Conductor.specs.putPairs([ // set up some ControlSpecs for common mappings // you can add your own after the fact. unipolar: ControlSpec ...

  9. Unit Quark

    ... = \audio, index = 0, name| if( this.ioNames.isNil ) { this.ioNames = MultiLevelIdentityDictionary(); }; this.ioNames.put( mode, rate, index.asInteger, name ); } audioInName { |index=0| ^this.prGetIOName( \in, \audio, index ); } controlInNa ...

  10. 03. GeoGraphyAudio Quark

    ... h ; // init is relevant var p, l, name ; samplesPath = aSamplesPath ; bufDict = IdentityDictionary .new ; server.doWhenBooted({ // load a buffer for all the files in samplePath p = Pipe .new( "ls -R" + samplesPath, "r" ) ; l = p.getLine ; w ...

prev 41 42 43 44 45 46 47 48 49 50 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow