Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2366) Code (121) Doc (629) Help (191) Quark (1309) Plugin (116) SCDoc ↗ Forum ↗ Google ↗
  1. WFSEvent Quark

    ... oreEditor.current !? { WFSScoreEditor.current.score }) } // array support at { |index| ^events[ index ]; } collect { |func| ^events.collect( func ); } do { |func| events.do( func ); } first { ^events.first } last { ^events.last } audioType ...

  2. ParallelStreams Quark

    ... edInStream { arg inval; var outval, patterns, stream, key, ended; var whichStr, index, delta = 0.0; key = UniqueID.next; patterns = list.collect { |pat, i| pat.collect { |event| event.put(key, i) } }; stream = Ppar(patterns).asStream; which ...

  3. ShannonMindReadingMachine Quark

    ... vious| ^if(current == previous) { 'same' } { 'differently' } } } /* Supplies an indexed, indefinite set of mind reading machines that are indexed by a stream of indices. */ Pmindread : Pattern { var <>pattern, <machineIndex, <behaviorSize, ...

  4. SGUIelement Quark

    ... List.new; defaultSpec= ControlSpec(0, 1); softSetLastTime= 0; } softSetValue {|index, val, within= 0.03, timeout= 1| if(Main.elapsedTime-softSetLastTime<timeout, { this.value= value.copy.put(index, val); softSetLastTime= Main.elapsedTime; ...

  5. Collection-extensions Quark

    ... e and disable many sockets indices = Array.new; me.do({ arg s; (i = sourceArray.indexOf(s)).notNil.if({ indices = indices.add(i); }); }); ^indices } collectIndicesOfItem { arg that; var indices; indices = Array.new; this.do({ |item, i| (ite ...

  6. Interpl Quark

    ... } Interpl { /***** Break Point interpolator. Similar to an Envelope that can be indexed discreetly or continuously by any arbitrary value (while Envelopes can only be indexed by time, using EnvGen). *****/ var <points, <minX, <maxX, <minY, ...

  7. SampleDescript Quark

    ... ar <sectionBreakPoint; //nadir (lowest) point in between onsets. var <globalPeakIndex; var <globalPeakAmp; //Amplitude at RMS peak point. var <globalPeakTime; //Time on the peak point. // **** local information by Onsets ***** // Temporal i ...

  8. PLSys Quark

    ... ring( axiomString ); if ( routine.notNil ){ routine.reset }; } getContextLeft{ |index,level| var left,tstate; /// item is to be ignored with regard to context if ( ignore.includes( state[index].name ) ){ ^nil; }; /// copy up to index: left ...

  9. RedBencode Quark

    ... { //list res.add($l).add(this.encode(val)).add($e); } {("%: error encoding % at index %").format(this.class.name, val, i).error} }; ^res.join; } *encodeBytes {|array| var str= this.encode(array); ^str.collectAs({|x| x.ascii}, Int8Array); } ...

  10. clip_scale Quark

    ... ) .mappedArgs_([ \input, \fromRange, \toRange ]) .prepareArgsFunc_({ |args| var index; index = args.indexOf( \value ); if( index.notNil && { index.even }) { args[index] = \input; }; args; }) .setSpec( \clipMode, ListSpec( (..3), 0, [ \clip, ...

prev 31 32 33 34 35 36 37 38 39 40 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow