Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2106) Code (553) Doc (473) Help (193) Quark (880) Plugin (7) SCDoc ↗ Forum ↗ Google ↗
  1. Pstep Help

    ... { arg out = 0, freq=800, sustain=0.001, amp=0.5, pan = 0; var window; window = Env .sine(sustain, amp); Out .ar(out, Pan2 .ar( SinOsc .ar(freq) * EnvGen .ar(window, doneAction:2), pan ) ) } ).store; times = Pseq ([3.4, 1, 0.2, 0.2, 0.2], i ...

  2. Node Help

    ... er Nodes which are automatically freed after a certain time (for instance by an EnvGen with a doneAction of 2) will not. This keeps the implementation of the classes simple and lightweight. To have the current state of a Node tracked you ca ...

  3. 12_Playbuf Help

    ... Out .ar( bus, PlayBuf .ar( 1, bufnum, BufRateScale .kr(bufnum) * rateScale ) * EnvGen .kr( Env .sine( BufDur .kr(bufnum))) ) }).load(s); ) ( // test the synthdef ... does it work? (yes, it's fine. it plays on the left channel) Synth ( "aMo ...

  4. SC2DTabletSlider Help

    ... d,c],0.2); Out .ar(0, RLPF .ar( Mix .ar(p),freq * ffreqInterval.midiratio,rq) * EnvGen .kr( Env .adsr, gate, gate) ) },[0.1,0.1,0.1,0.1,0.1, nil ]).play(s); w = Window .new.front; int = ControlSpec (-48,48, \linear ,1); v = TabletSlider2D ( ...

  5. Sequencing with Routines and Tasks Help

    ... |freq = 440, amp = 0.2, sustain = 1| var sig; sig = SinOsc .ar(freq, 0, amp) * EnvGen .kr( Env .perc(0.01, sustain), doneAction: 2); Out .ar(0, sig ! 2); // sig ! 2 is the same as [sig, sig] }).send(s); r = Routine ({ var delta; loop { del ...

  6. Event Help

    Event an environment that represents an action Inherits from: Object : Collection : Set : Dictionary : IdentityDictionary : Environment Related classes: Pattern An Event is an Environment that specifies an action to be taken in response to ...

  7. jitlib_basic_concepts_04 Help

    ... eAccurate = false ; ~x.play; // the grain frees itself ~x = { SinOsc .ar(800) * EnvGen .ar( Env .perc(0.001, 0.03, 0.4), doneAction:2) }; // jittery tone. ( r = Routine { loop { 200.do { arg i; ~x.spawn; (0.005).wait; }; 1.wait; } }.play; ) ...

  8. PG_Cookbook01_Basic_Sequencing Help

    ... tartPos: start, doneAction:2); sig = PitchShift .ar(sig, pitchRatio: stretch) * EnvGen .kr( Env .linen(attack, time, decay), doneAction: 2); Out .ar(out, sig ! 2) }).add; // note add! Without this, arguments won't work ) ( TempoClock .defau ...

  9. PdefGui Help

    PdefGui a line of editing controls for a Pdef, and optionally its envir. Inherits from: JITGui: TaskProxyGui (like TdefGui) A gui showing the Pdef's name, playing state, source state, and envir state. Optionally, its envir can also be edite ...

  10. jitlib_efficiency Help

    ... Map(a map) // synthdefs for these things are on the server already. ~a.gate, ~a.env, ~a.line, ~a.xline // some more calculations have to be made on client side, so if automated, it is better to use // the above or a lag in the synth. ~a.lin ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow