Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (786) Code (22) Doc (235) Help (67) Quark (457) Plugin (5) SCDoc ↗ Forum ↗ Google ↗
  1. JSONlib Quark

    ... { true } { v == "false" } { false } // an event can not store nil as a value so wrap it in a Ref { v == nil } { Ref(nil) } { v.isArray } { v.collect { |x| this.prConvertToSC(x) } } { v.isKindOf(Dictionary) } { if(useEvent) { res = Event.new ...

  2. FoaXformDisplay Quark

    ... 0) .background_( Color.hsv(*baseColor.asHSV.put(0, (baseColor.asHSV[0] + 0.045).wrap(0, 1))); ) .layout_( VLayout( Button().states_([["Post Matrix"]]).action_({ |but| this.showMatrixWindow(true) }), Button().states_([["Enter Matrix"]]).acti ...

  3. PLswitch Doc

    ... ; // reverse index pattern ~w = PLseq((7..0)); // keep in mind that indices are wrapped, no surprise here ... ~a = (70,72..84); // ... but with shorter array indices are grouped in 5 + 3 ~a = (70,72..78); x.stop; ////////////////////// // p ...

  4. midSideSaw Quark

    ... t adds a sort of "mirrored" stereo image; to me it makes a sound seem like it's wrapped a little bit closer around my ears. Here the initial sound is a sort-of-chorused stereo saw, made with two saw waves with vibrato LFOs that are perfectl ...

  5. Phrase Plugin

    ... /pos = (pos + 1) % length; // odd loop lengths don't work!!! //pos = ((pos + 1).wrap(regionStart, regionStart+regionLength-1)) % phrase.size; pos = (pos + 1) % phrase.size; counter = counter + 1; if(counter >= regionLength, { counter = 0; p ...

  6. GAPmatch Quark

    ... lgorithm" which mimics the evolutionary continuum that we observe in nature. It wraps a GAWorkbench instance for a specific purpose. In terms of its functionality in the SC environment, parameter estimation means this: You have a SynthDef t ...

  7. SPlayFile Quark

    ... iff+start.lag2(lag); var snd= BufRd.ar(n, buf, pos*dur, loo); var mix= SynthDef.wrap(this.prMix, nil, [snd]); var done= SetResetFF.ar(HPZ1.ar(pos)<0*(1-loo)); var env= EnvGen.kr(Env.asr(atk, 1, rel, cur), gate*(1-done), doneAction:2); Out.k ...

  8. RedWorld Doc

    ... lly never needed. . remove Manually remove an object from this world. . contain Wrap an object around world dimensions. i.e. in a world without borders - going out on the right side brings the object back on the left. . contains Check if an ...

  9. VoicerNode Quark

    ... ; def.name = (defname = def.name ++ UniqueID.next); // this might not work with wrapped Instr's try { def.perform(if(SynthDef.findRespondingMethodFor(\add).notNil) { \add } { \memStore }) } { |error| error.notNil.if({ "Error occurred during ...

  10. Documentation Style Guide Help

    ... denting chunks of prose (i.e. method explanations), as it maintains proper text wrap when edited. Tabs are fine for example code and should be utilised to indicate scope. The use of 'see also' links is encouraged. Authors are encouraged to ...

prev 41 42 43 44 45 46 47 48 49 50 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow