Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2676) Code (536) Doc (989) Help (430) Quark (698) Plugin (23) SCDoc ↗ Forum ↗ Google ↗
  1. PmonoArtic Help

    ... ffreq = 2000, rq = 0.3, freqlag = 0.05, amp = 1| var sig, plfo, fcurve; plfo = SinOsc .kr(plfofreq, mul:mw, add:1); freq = Lag .kr(freq, freqlag) * plfo; fcurve = EnvGen .kr( Env .adsr(0, 0.3, 0.1, 20), gate); fcurve = (fcurve - 1).madd(0. ...

  2. PdurStutter Help

    ... v; env = EnvGen .kr( Env .perc(0.01, sustain, 0.2), doneAction:2); Out .ar(out, SinOsc .ar(freq, 0, env)) }).add; ) ( a = PdurStutter ( Pseq(#[1,1,1,1,1,2,2,2,2,2,3,3,3,3,3,4,4,4,4,4],inf), Pseq(#[0.5, 1, 2, 0.25,0.25],inf) ); x = a.asStrea ...

  3. ControlSpec Help

    ... map ugens ( var spec; spec = [ 100, 18000, \exp ].asSpec; { var freq,osc; osc = SinOsc .kr(0.1).range(0,1); freq = spec.map( osc ); freq.dump; // BinaryOpUGen SinOsc .ar( freq.poll ) }.play )

  4. Ppatlace Help

    ... v; env = EnvGen .kr( Env .perc(0.01, sustain, 0.2), doneAction:2); Out .ar(out, SinOsc .ar(freq, 0, env)) }).add; ) // interlace two streams ( var c = Ppatlace ([ Pseq ([0, 0, 0, 0, 8, 0, 8], inf ), Pseries (1, 1, 32) ], inf ) + 67; x = c.a ...

  5. Psym Help

    ... vGen .kr( Env .perc(0.01, sustain), doneAction:2) * amp; Out .ar(out, Pan2 .ar( SinOsc .ar(freq, 0, env), pan)) }).store; ) Pdef ( \x , Pbind ( \dur , Pn (0.25, 3), \instrument , \gpdef )); Pdef ( \y , Pchain ( Pbind ( \degree , Prand ([5, ...

  6. 15_Scheduling Help

    ... n 0 and 24 // carPartial :: modPartial => car/mod ratio var mod; var car; mod = SinOsc .ar( freq * modPartial, 0, freq * index * LFNoise1 .kr(5.reciprocal).abs ); car = SinOsc .ar( (freq * carPartial) + mod, 0, mul ); Out .ar( bus, car * En ...

  7. UGens Help

    ... ut XOut OffsetOut LocalIn LocalOut SharedIn SharedOut Oscillators Blip Formant FSinOsc Gendy1 Gendy2 Gendy3 Impulse Klang LFCub LFPar LFPulse LFSaw Osc OscN Pulse Saw SinOsc SyncSaw VarSaw VOsc VOsc3 Delays AllpassC AllpassL AllpassN BufAll ...

  8. Pbinop Help

    ... v = EnvGen .kr( Env .perc(0.01, sustain, 0.2, amp), doneAction:2); Out .ar(out, SinOsc .ar(freq, 0, env)) }).add; ) ( var a; a = Pn ( Pbinop ( \hypot , Pseries (0, 1, 34), Pseries (3, -1, 34)), inf ).asStream; { a.do { |val| Synth ( \help_s ...

  9. Synth Help

    ... hDef ( "help-synth" , { | freq = #[440, 450, 460], out = 0 | Out .ar(out, Mix ( SinOsc .ar(freq, 0, 0.1))); }); x = x.play(s, [freq: [500,501,510] ]); ) x.set( \freq , [1,2,3] * 400 + [1,2,3], \out , 1); // two pairs x.set( \freq , [3] * 40 ...

  10. if Help

    ... can also use if the condition ugen is 0 / 1 ( { if( LFNoise1 .kr(1.0,0.5,0.5) , SinOsc .ar, Saw .ar ) }.play ) ADVANCED: the functions will be inlined, which plucks the code from the functions and uses a more efficient jump statement. { if( ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow