Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1702) Code (152) Doc (537) Help (191) Quark (806) Plugin (16) SCDoc ↗ Forum ↗ Google ↗
  1. helper-funcs Quark

    ... yStr = presetKey.asString; fItem = view.itemAt(fIndex); // super-oldskool while loop // because there's no 'numChildren' method for TreeViewItem pIndex = 0; while { fItem.childAt(pIndex).notNil and: { fItem.childAt(pIndex).strings[0] != pKe ...

  2. ParaSpace Quark

    ... so you aren't updating on every iteration of the routine, but at the end of the loop. // choose a gui (see GUI helpfile) GUI .swing; GUI .cocoa; ParaSpace .new // use ctrl+click to create a Box ( w = Window .new( "ParaSpace" , Rect (10, 500 ...

  3. Runner Quark

    ... 5).wait ; }) ; }).play( SystemClock ) ; ) ////////////////////////// // Another looping cloud ( g = Graph .new ; r = Runner .new(g, weight:0.2).gui ; p = Painter .new(g, r) ; h = SlicePlayer (r).initAudio( "sounds/a11wlk01.wav" ) ; 20.do({ ...

  4. that-intro Quark

    ... nnels, bufnum: ~that_buffer, rate: BufRateScale.kr(~that_buffer) * rate.lag(1), loop: 1 ); }) ) // ================== // Amplitude Analysis // ================== // we will use amplitude analysis as a simple example to explain everything // ...

  5. HOAAmbiDecoderHelper Quark

    ... nv('PATH', [PATH ':/usr/local/bin']); \n"); file.write("\n\n"); file.write("\t% looping up to the order set above \n"); file.write("\t for order = 1:h_order \n"); file.write("\n \t % set the channel definition first\n"); file.write("\t\t C ...

  6. Rational Quark

    ... .reverseDo yields four. do yields the counter as an Integer, // which is what a loop index is for; reverseDo counts down from this - 1, so // its values are rational whenever the receiver is. do { arg function; var i = 0, limit = this.asInt ...

  7. GettingStartedWithChucklib Quark

    ... 5].choose }; ~asPattern = { Prout ({ // note Prout - NOT Routine or Task - here loop { s.makeBundle(0.2, { Synth ( \sinGrain , [freq: ~calcPitch.value]); }); ~calcDur.value.wait; } }) }; }) => PR ( \routine ); PR ( \routine ) => BP ( \r ); ...

  8. GettingStartedWithChucklib Quark

    ... 5].choose }; ~asPattern = { Prout ({ // note Prout - NOT Routine or Task - here loop { s.makeBundle(0.2, { Synth ( \sinGrain , [freq: ~calcPitch.value]); }); ~calcDur.value.wait; } }) }; }) => PR ( \routine ); PR ( \routine ) => BP ( \r ); ...

  9. ATSResidual Quark

    ... amp, ampScale, \dur, totalDur, \tscale, 1.0], srv.defaultGroup); } // ── Cached-loop API (analog ATSSynth.prepareDef/spawn) ───────────────── // Builds the NoiseDef once; spawnNoise starts it without GUI latency. // Bandbegrenztes WEISSES R ...

  10. XiiToshioMorpher Quark

    ... t; var statesArray, statespop; var silentBuf; var tempo, volume, threshold; var loopmode, timermode, playmode; var threshradio, timermoderadio, playmodepopup, loopmoderadio, volslider, thresholdslider, outbuspop, threshbool; selT = [2, 2]; ...

prev 71 72 73 74 75 76 77 78 79 80 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow