Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (3508) Code (266) Doc (1134) Help (293) Quark (1779) Plugin (36) SCDoc ↗ Forum ↗ Google ↗
  1. SWDataNode Quark

    ... (see the subclass SWDataStringNode ). - Slots and data - slots ( ) Retrieve the array of slots of the node data_ ( indata ) Set the data to each slot. This multiplies the indata with the scaling factor scale , sets it to the instance variab ...

  2. SWDataNetwork Quark

    ... ected( id, label ); }); if ( size.notNil, { if ( type == 0 ){ this.setData( id, Array.fill( size, 0 ) ); }{ this.setData( id, Array.fill( size, {'0'} ) ); }; }); } isExpected{ |id| ^expectedNodes.includes( id ); } //---- spec (labeling and ...

  3. Canvas3D Quark

    ... rixMatrixMul {|matrix1, matrix2| var m0, m1, m2, m3; #m0, m1, m2, m3= matrix2; ^Array.fill(4, {|x| Array.fill(4, {|y| (matrix1[x][0]*m0[y])+ (matrix1[x][1]*m1[y])+ (matrix1[x][2]*m2[y])+ (matrix1[x][3]*m3[y]) }); }); } *vectorMatrixMul {|ve ...

  4. diff_syntax_colorizer Quark

    ... mmycvay klymix abkly "; var lines = str.split(Char.nl).collect { |line| line.as(Array) }; var diff, lineIndex; var indices = []; diff = DiffString( beginFunc: { var i = indices[lineIndex - 1].copy ?? { { lineIndex } ! lines[lineIndex].size ...

  5. extVarGui_1 Quark

    ... olSpec c = synthCtr.flatten; c.do { |item, i| i.odd.if { c[i] = c[i].miSC_specAsArray } }; } { true }{ synthCtr }; synthCtrs = this.synthCtr.select {|x,i| i.even }; synthStateVars = [assumePlaying, assumeRunning, assumeEnded]; synthStateStr ...

  6. chord-vc Quark

    ... , acc = 0, accAmt = 1.5, accAmp = 1.5| var rdetun = detun.reciprocal, detunes = Array.fill(n, { Rand(0, 1).linexp(0, 1, rdetun, detun) }), top = min(fegRatio * ((accAmt - 1) * acc + 1), 18000 / ffreq), feg = EnvGen.kr(Env.perc(fAtk, fDcy, m ...

  7. degree_freq Quark

    ... = \TuningInfo.asClass.tunings.select({ |item| item.tuning.size == ii }).keys.asArray.sort; } { tunings = Tuning.all.parent.select({ |item| item.tuning.size == ii }).keys.asArray.sort; }; scales = scales.sort; if( ii == 24 ) { tunings.remov ...

  8. SCDrawServer Quark

    ... as the key in the Dictionary. The nodeID is ignored. The floats are put into an array that is passed to the drawing function. The first float after the replyID represents either the duration of the event (when using *run ) or the percentage ...

  9. Temperament Quark

    ... alibrate(calibratefreq, calibratenote) } tunings_ { |tuning| tunings = tuning.asArray.collect({ |item| item ? 0.0 }).wrapExtend(stepsPerOctave); this.root_(root); } calibrate { |freq = 440, noteindex = 69| (noteindex != noteindex.trunc).if( ...

  10. Temperament Quark

    ... alibrate(calibratefreq, calibratenote) } tunings_ { |tuning| tunings = tuning.asArray.collect({ |item| item ? 0.0 }).wrapExtend(stepsPerOctave); this.root_(root); } calibrate { |freq = 440, noteindex = 69| (noteindex != noteindex.trunc).if( ...

prev 101 102 103 104 105 106 107 108 109 110 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow