Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1139) Code (82) Doc (462) Help (88) Quark (506) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. GMGridButton Doc

    ... eq = 440| var snd = SinOsc.ar(freq, mul: amp); snd = snd * EnvGen.kr( Env.perc, doneAction: Done.freeSelf ); Out.ar(0, snd!2); }).add; win.layout_( VLayout() .margins_(0) .add(keyboard) ); CmdPeriod.doOnce({ win.close; }); win.front; }); ) ...

  2. DimpleThing Quark

    ... tead of a.set('position',[x,y,z]); addAction(property,func) Add an action to be done when the property is received. property The property name func The function to be performed. The argument is an array with the value(s). removeAction(prope ...

  3. Ppatlace Doc

    ... q = 440, sustain = 0.05| var env; env = EnvGen.kr(Env.perc(0.01, sustain, 0.2), doneAction: Done.freeSelf); Out.ar(out, SinOsc.ar(freq, 0, env)) }).add; ) // interlace two streams ( var c = Ppatlace([ Pseq([0, 0, 0, 0, 8, 0, 8], inf), Pseri ...

  4. granbuf.pxpreset Quark

    ... names, ///// tuning parameter values, or deleting unwanted presets. ///// When done, save the textfile where it is, and ///// then load the edited settings again with: NdefPreset('granbuf').loadSettings(clear: true); */ List[ ('curr' -> [ ...

  5. Re: circling transpositions by luka (Luka P.) Code

    ... ecay = 5, coef = 0.1; var env, snd; env = EnvGen.kr(Env.linen(0, decay, 0), doneAction: 2); snd = Pluck.ar( in: BrownNoise.ar(amp), trig: Impulse.kr(0), maxdelaytime: 0.1, delaytime: freq.reciprocal, decaytime: decay, ...

  6. FilePlayer Quark

    ... e ); Task ({ 20.do{ f.writeLine( Array .fill( 10, { 1.0.rand })); 1.0.wait; }; "done" .postln; }).play; f.close; // view the file: "testfile2.txt" .openDocument; // read it with the player: a = TabFilePlayer .new( "testfile2.txt" ); a.next; ...

  7. Pstutter Doc

    ... = 0, freq = 440, sustain = 0.05| var env; env = Env.perc(0.01, sustain, 0.2).kr(doneAction: Done.freeSelf); Out.ar(out, SinOsc.ar(freq, 0.5pi, env)) }).add; ) ( a = Pbind( \instrument, \help_sinegrain, \note, Pxrand([0, 5, 7, 9], inf), \dur ...

  8. Streams-Patterns-Events4 Help

    ... t look up any unspecified argument values from the current Environment. This is done with the valueEnvir and valueArrayEnvir methods. These methods will, for any unspecified argument value, look in the current Environment for a symbol with ...

  9. Array Help

    ... ubroutines have completed. // an array of routine functions: ( a = [ { 1.wait; \done_one .postln }, { 0.5.wait; \done_two .postln }, { 0.2.wait; \done_three .postln } ]; ) // join after 0 ( Routine { "join = 0." .postcln; a.fork(0); \doneAl ...

  10. NPdef Quark

    ... nodeproxy's variable name (at least in proxyspace). Since the actual lookup is done in the Pdef's dictionary, you can easily interchange NPdef and NPxdef with one another, to change the event type. See also NPxdef which is similar but cros ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow