Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1299) Code (80) Doc (443) Help (108) Quark (663) Plugin (5) SCDoc ↗ Forum ↗ Google ↗
  1. Environment Doc

    ... ction. For example ( a = Environment.make({ ~a = 100; ~b = 200; ~c = 300; }); a.postln; ) ⧉ ✔ creates an environment, while a.use({ ~a + ~b + ~c }).postln; ⧉ ✔ evaluates the function within that environment. valueEnvir and valueArrayEnvir W ...

  2. DDWFollowClock Doc

    ... dency cond.unhang; // continue }); cond.hang; "doing the rest of the init here".postln; } ) ⧉ ✔ (In this case, init will not happen if it can't find a lead clock.) Class Methods . new Create a follower clock instance. Arguments: tempo Retai ...

  3. JSONlib Doc

    ... ew convertToSC parseFile convertToJSON Inherited class methods Instance methods postWarnings customEncoder useEvent customDecoder Inherited instance methods Examples Convert an Event to a JSON string Convert a Dictionary to a JSON string Co ...

  4. ArrayedCollection Doc

    ... lse appropriate to the type of indexable slots in the object. Array.newClear(4).postln; ⧉ ✔ ArrayedCollection. with ( ... args ) From superclass: Collection Create a new ArrayedCollection whose slots are filled with the given arguments. Arr ...

  5. Signal Doc

    ... nd the index. ( a = Signal.newClear(16); a.waveFill({ |x, prev, i| [x, prev, i].postln; sin(x).max(0) }, 0, 3pi); a.plot; ) ⧉ ✔ start the starting value of the interval. end the ending value of the interval. . asWavetable Convert the Signal ...

  6. Tdef Doc

    ... w: JITLib First Example Tdef(\x, { loop { 0.5.wait; "aaaaaaaaaaaaaazz".scramble.postln } }).play; Tdef(\x, { loop { 0.125.wait; "aazz".scramble.postln } }); Tdef(\x, { loop { 0.5.wait; (note: 14.rand).play } }); Tdef(\x, { loop { 0.5.wait; ...

  7. Understanding-Errors Doc

    ... to help locate the error. Routine({ var a; a = 5; loop { var b; b = 20.rand; b.postln.ecky_ecky_phtang; // "NI!!!!" a.wait; } }).play; ERROR: Message 'ecky_ecky_phtang' not understood. RECEIVER: Integer 6 ARGS: Instance of Array { (0220756 ...

  8. ServerOptions Doc

    ... lue Examples // Get the default server's options o = Server.default.options; // Post the number of output channels o.numOutputBusChannels.postln; // Set them to a new number o.numOutputBusChannels = 6; // The next time it boots, this will t ...

  9. Function Doc

    ... tUp freqscope get handleError isFunction makeFlopFunc numArgs numVars plotAudio postString prTry prepareForProxySynthDef scopeResponse set shallowCopy transformEvent update varArgs Examples Exception Handling Examples Classes | Core > Kerne ...

  10. UserView Doc

    ... the following example will redraw them differently. See interpreter output for posted information that you can use in the mouse actions. // drag some circles ( var w, r, u; var clicked, relativeWhere; r = { Rect(300.rand, 300.rand, 110, 11 ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow