Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... (1 )*1.midiratio ]; fa = faz[[3,0,3,1,2,2,2,2, 1,1,1,1,0,3]].flat; n = fa.size; qw = Impulse.kr(10); cx = PulseDivider.kr(qw, n); oi = Stepper.kr(qw,0,0,n-1); fsa = { [0,0,0, 0.02,0.08,0.1 ].choose }!div(n,4); ...

  2. RepresentationManager Quark

    ... rep; repList.remove(rep); } clear{repList.clear; } numberOfActiveReps{ ^repList.size; } }

  3. selectIndex Quark

    ... , this.species); } selectIndexAs { | function, class | var res = class.new(this.size); this.do {|elem, i| if (function.value(elem, i)) { res.add(i) } } ^res; } }

  4. TimelineCut Quark

    ... .normalizeSum); //always normalize to make safe blockarray= Array.fill(currform.size,{arg i; blockfunc.value(currform[i],i)}); //Post << [currform, blockarray] << nl; }); //beatspersubdiv=currphraselength/subdiv; index=0; }); beatsleft= cur ...

  5. Tartini Doc

    ... and calculated via FFT. There are some parameters for you to choose the window size and other aspects of the calculation, but a user who doesn't want to worry too much about this kind of stuff, please just use the defaults and don't worry ...

  6. midi_note_gate Quark

    ... romRange = unit.get( \fromRange ); if( endPoint.isNil or: { unit.get( \device ).size == 0 or: { endPoint.device.find( unit.get( \device ) ).notNil; } }) { if( endPoint.isNil or: { unit.get( \port ).size == 0 or: { endPoint.name.find( unit.g ...

  7. Fragment IX by coreyker (coreyker) Code

    ... (outbus, Pan2.ar(amp * o)); }).add; SynthDef(\rev, {|inbus=0, outbus=0, roomsize=200, revtime=10, damping=0.5| var in = In.ar(inbus,2); var fx = GVerb.ar(in, roomsize, revtime, damping); Out.ar(outbus,fx); }).add; Server.defau ...

  8. SS_SCMIRAudioFileNormalization Quark

    ... tiles = SS_SCMIR.lookupGlobalFeatureNorms(which)[0]; numquantiles = percentiles.size-1; } { percentiles = this.featureQuantiles(array,which,num,numquantiles); }; //minval = percentiles[0]; //maxval = percentiles[percentiles.size-1]; ///if(m ...

  9. Say Doc

    ... ame.dirname +/+ "saybuf_synthdefs.scd").openOS; ⧉ ✔ Which voices? Say.allVoices.size; // Say finds all installed voices Say.fxVoiceNames; // macOS has lots of effects voices - Say.fxVoices.size; // which are filtered out by default, such th ...

  10. extCollection Quark

    ... 0; var func = { |col| var cols = col.select { |it| it.isCollection }; if (cols.size > 0) { depth = depth + 1; cols.do { |it| func.(it) } } { depth } }; func.(this); ^depth } }

prev 131 132 133 134 135 136 137 138 139 140 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow