Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... nvolve the signal with noise, effectively randomizing the phase information. fftSize: (512, 1024, 2048 or 4096) the window size of the FFT. Smaller windows result in faster response but more side effects smooth: (0-1) amount of smoothing ap ...

  2. DWG sitar model by snappizz (snappizz) Code

    ... midicps * [1, 16/15, 5/4, 4/3, 3/2, 8/5, 15/8, 2]; ~numChikari = ~chikariFreqs.size; ~tarafdarFreqs = 48.midicps * [1, 16/15, 5/4, 4/3, 3/2, 8/5, 15/8, 2, 2*16/15, 2*5/4, 2*4/3, 2*3/2]; ~numTarafdar = ~tarafdarFreqs.size; ) ( // Plu ...

  3. AbstractPatchableNode Quark

    ... for removeDescendant removeAntecedent { |plug| var newArgs = Array(concreteArgs.size); antecedents.remove(plug); concreteArgs.pairsDo { |key, value| if(value === plug) { this.invalidateControl(key, plug); argLookup.removeAt(key); } { newArg ...

  4. load panner synthdefs Quark

    ... t window ) d; // these are all the array defs // result: 104 files with a total size of 2.7MB SynthDef.synthDefDir.openInFinder; ( // loading goes quite fast { s.loadDirectory( SynthDef.synthDefDir ); s.sync; "done".postln; }.fork; ) // hig ...

  5. HoaUGen Quark

    ... eretence // should work or if it's unnecessary // Confirm that the input signal size matches // the number of harmonics for the order. // Returns the order if signal size is valid. *confirmOrder { |in, order = (AtkHoa.defaultOrder)| var io, ...

  6. BBlockerProgram Plugin

    ... ate(instr)}; collection = (result ++ fillUpRandom.if({{256.rand}!(256 - program.size)}, {0!(256 - program.size)})); } ^collection; } makeBuffer {|server, action| server = server ?? {Server.default}; ^Buffer.loadCollection(server, this.colle ...

  7. DetectIndex Doc

    ... = 300; t = Array.series(max, 0, 1).curdle(0.06).scramble.flat; b = Buffer(s, t.size, 1); // alloc and set the values s.listSendMsg(b.allocMsg(b.setnMsg(0, t))); { var index, in, out, f0, fdiff; var bufnum = b; var input; input = MouseX.kr( ...

  8. SensorControl Quark

    ... n = 0; (name+"turned off").postln; turn = 0 }); weights = Array.fill( dataArray.size, 1 ); updateValues = { var val; val = 0; dataArray.do{ |it,i| val = val + (weights[i]*it.longStdDev); }; val; }; updateFunc = { var returnAction; var val = ...

  9. HadronStateLoad Quark

    ... ; loadStage = 0; } showLoad { File.openDialog("", {|aFile| parentApp.alivePlugs.size.do({ parentApp.alivePlugs[0].selfDestruct; }); this.loadState(aFile); }); } loadState {|argFile| var contents; var tempFile = File(argFile, "r"); contents ...

  10. draw wavefields Quark

    ... ithSliders(~win, Rect( 128, 64, 600, 600 ), Rect.aboutPoint( 0@0, 20, 20 ); ).resize_(5); SmoothSlider(~win, Rect(100,100,600,20)) .action_{ |v| t = v.value.linlin(0.0, 1.0, -10.0/344 , 10/344); w.refresh; } .centered_(true) .value_( 0.75 ) ...

prev 231 232 233 234 235 236 237 238 239 240 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow