Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (3519) Code (203) Doc (848) Help (193) Quark (2225) Plugin (50) SCDoc ↗ Forum ↗ Google ↗
  1. MCLDTreeUGens Plugin

    ... se the indexing has to start at 1 not 0 var result = sumF((point - node[..point.size-1]) * node[point.size..point.size*2-1]); var isleaf; if(result > 0){ // "left" branch pathInt = (pathInt << 1); isleaf = node[node.size - 2] > 0.0; }{ // " ...

  2. GMDuoSequencer Quark

    ... { |view, mousePosX, mousePosY| xIndex = super.getXIndex( mousePosX, thisValues.size ); yIndex = super.getYIndex( mousePosY, 2, false ); if(yIndex == 0) { probaMax = thisProbabilities[ thisProbabilities.size - 1]; if(thisValues[xIndex] == p ...

  3. 2c_loadProcesses Quark

    ... didate files "// found % process paths at \n%\n".postf( NTMI.process.foundPaths.size, NTMI.process.procPath.cs); "// post them with: \nNTMI.process.foundNames.cs".postln; // get NTMI.process.namesToLoad = NTMI.process.namesToLoad ? NTMI.pro ...

  4. SCEnvelopeView Help

    ... s.height-250, 250, 100)).front; b = EnvelopeView (w, Rect (10, 10, 230, 70)) .resize_(5) .action_({ arg b; [b.index,b.value].postln}) .value_([[0.0, 0.15, 0.5, 1.0],[0.1,1.0,0.7,0.0]]) .curves_([5,5,-5]); ) Accessing Instance and Class Vari ...

  5. PostOffice Doc

    ... .lines; // empty Log.start; PostOffice.addLines = true; 1 + 2; PostOffice.lines.size; // how many? PostOffice.lines; // post them - this will become a line too PostOffice.clear; // clear lines PostOffice.addLines = false; t = TextView().nam ...

  6. 061-angents-gol_synth Doc

    ... .5].rand2, nil, 1, 10); obj.state= (\cell: 2.rand, \neighbours: 0); px= px+(obj.size*2-1); if(px>(width*0.9), { px= 0; py= py+(obj.size*2-1); }); obj }.dup(n); //world,loc,vel,acc,mass,size synths= {|i| Synth(\sine, [\amp, 0, \freq, i/n*100 ...

  7. extString-nameconversion Quark

    ... e = \text; } }; }); array = array.add(word); array = array.select({ |item| item.size != 0 }); if(convert) {^array.collect( _.asNumberIfPossible );} {^array; }; } extractNumbers { ^this.splitNumbers(true).select(_.isNumber) } removeNumbers { ...

  8. 061-angents-gol_synth Quark

    ... .5].rand2, nil, 1, 10); obj.state= (\cell: 2.rand, \neighbours: 0); px= px+(obj.size*2-1); if(px>(width*0.9), { px= 0; py= py+(obj.size*2-1); }); obj }.dup(n); //world,loc,vel,acc,mass,size synths= {|i| Synth(\sine, [\amp, 0, \freq, i/n*100 ...

  9. Hymn #15 - generative melody by array rewriting by forksandhope (madamdata) Code

    ... ransp = [0, 5, 7, 3, 2]; var scrambRand = {|array| var rand = rrand(0, array.size-3); var end = rand + rrand(1,2); var range = (rand..end); var reverseRange = range.reverse; var temp = array.copy; range.postln; range.do({|ite ...

  10. 102-particle-system_fountain_synth Doc

    ... it to the system Synth(\noise, [ //create a corresponding synth \freq, newPart.size.linexp(0, 3, 10000, 3000), \amp, newPart.accel.linlin(-5, -10, 0, 0.2), \rel, newPart.size*0.05, \pan, world.gravity[0] ]); }; //--system sys= RedParticleS ...

prev 51 52 53 54 55 56 57 58 59 60 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow