Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1629) Code (85) Doc (795) Help (232) Quark (486) Plugin (31) SCDoc ↗ Forum ↗ Google ↗
  1. Block Quark

    ... dex]}, {thisChan = channels}); this.add(thisChan, {|val| cond.test = true; cond.signal; arr = arr.add(val) }); cond.wait; }; action.(arr); }.fork; } *addAll {arg arr, action; var cond, ndefArr; { cond = Condition(false); arr.do{|item| cond. ...

  2. LoadBalancer Quark

    ... Delay.wait; }); afterBootAction.value( this ); condition.test = true; condition.signal }.fork( AppClock ); condition.wait; }; } quit { bootRoutine.stop; servers.do(_.quit) } serverRunning { ^servers.every({ |srv| srv.serverRunning == true } ...

  3. BinAmbi Quark

    ... of bufnums containing the HRTFs level: Level/gain Return out: Array[2] binaural signal */ *ar { arg in, level=1; var left; // check number of in channels match order if (in.size != (this.order + 1).squared, { "BinAmbi: in has wrong number o ...

  4. AutomationGui Quark

    ... ndow class' name starts with a // J as in JSCWindow, we don't need to defer GUI signals. // see automation.defer(). if (("" ++ win.class)[0] == $J){ automation.doDefer = false; }{ automation.doDefer = true; }; // did the caller supply a bou ...

  5. HoaUGen Quark

    ... on --~ The method for calculating SH rotation around Z by operating directly on signal coefficients can be found in Appendix C of: Jaroslav Krivánek, Jaakko Konttinen, Sumanta Pattanaik, Kadi Bouatouch. Fast Approximation to Spherical Harm ...

  6. PVFile Quark

    ... wSize, <hopSize, <frameBSize, <pvpvoc, <minFreq, <maxFreq, <spacing; var <len, <signal, <le, <path, filepath, <loaded, <magScale; *new {arg path, server; ^super.new(path, "rb").init(path, server); } *load {arg path, server; ^this.new(path, ...

  7. SlicedSndFile Quark

    ... *initClass { globalClassKeyDict.put( \wt, this ); } dataForBuf { ^this.data.as(Signal).asWavetable } } USndFileSliceBuf : UDataBuf { *initClass { globalClassKeyDict.put( \ssl, this ); } *new { |slices, bufSndFile, id| if( bufSndFile.isKind ...

  8. Plug Quark

    /* gplv3 hjh */ // TODO: Is it safe to 'release' always? // a modulation or signal source for a target Syn /* problem: p = Pbind( \type, \syn, \instrument, \xyz, \lfo, Plug { LFDNoise3.kr(0.1) } ) You have one instance of Plug but you need ...

  9. MoscaRenderer Quark

    ... efor checking other otputs come before if (subOutBus.notNil) { subOutFunc = { | signal, sublevel = 1 | var subOut = Mix(signal) * sublevel * 0.5; Out.ar(subOutBus, subOut); }; // make sure recbus is equal to Mosca's first ouput if (subOutBu ...

  10. FoaAudition Quark

    ... test = false }) }); test.not.if({ loadCondition !? { loadCondition.test_(true).signal } }); msg = "loading file...".post; defer({ this.changed(\status, msg) }); newBuf = Buffer.cueSoundFile( server, soundfilePath, 0, numChans, vdiskinBufSi ...

prev 31 32 33 34 35 36 37 38 39 40 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow