Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... env = Decay2 .kr(gate, 0.05, 8, 0.0003); synth = RLPF .ar( LFPulse .ar(freq, 0, SinOsc .kr(0.12, [0, 0.5pi], 0.48, 0.5)), freq * SinOsc .kr(0.21, 0, 18, 20), 0.07 ); #a, b = synth*env; DetectSilence .ar(a, 0.1, doneAction: 2); Out .ar(out, ...

  2. Document Help

    ... n to this document: //example: easy button: //when you click in front of a 17 a SinOsc will start up; s.waitForBoot({ Document .current.mouseUpAction_({ arg doc; var char; char = doc.rangeText(doc.selectionStart, 2); if(char == "17" ,{ { En ...

  3. MultiChannel Help

    ... run across them. // look at the outputs of Pan2: Pan2 .ar( PinkNoise .ar(0.1), FSinOsc .kr(3)).dump; play({ Pan2 .ar( PinkNoise .ar(0.1), FSinOsc .kr(1)); }); When an Array is given as an input to a unit generator it causes an array of mult ...

  4. Environment Help

    ... boot; ( var orc; orc = Environment .make { ~a = { arg freq, amp, pan; Pan2 .ar( SinOsc .ar(freq), pan, amp); }; ~b = { arg amp, pan, freq; Pan2 .ar( RLPF .ar( Saw .ar(freq), freq * 6, 0.1), pan, amp); }; ~c = { arg pan, freq, amp; Pan2 .ar( ...

  5. PG_Cookbook07_Rhythmic_Variations Help

    ... EnvGen .kr( Env ([1, decay1L, 0], [decay1, decay2], -4), doneAction: 2), sig = SinOsc .ar(fcurve, 0.5pi, preamp).distort * env * amp; Out .ar(out, sig ! 2) }).add; SynthDef ( \kraftySnr , { |amp = 1, freq = 2000, rq = 3, decay = 0.3, pan, ...

  6. ClientVsServer Help

    ... valuate an audio function like this: // assuming the server is already booted { SinOsc .ar}.play ; In this case many server operations are hidden. To understand the passages inolved in the evalutation of this code see Functions and Other Fu ...

  7. jitlib_basic_concepts_02 Help

    ... ess the proxy space and the proxies in it indirectly: p[ \x ].play; p[ \x ] = { SinOsc .ar(450, 0, 0.1) }; // or: when the proxyspace is pushed, you can use a normal environment indirectly: p.push; d = (); d[ \buffer1 ] = Buffer .alloc(s, 1 ...

  8. Streams-Patterns-Events4 Help

    ... the environment. ( var a, b, c, n; n = 40; a = { arg freq, amp, pan; Pan2 .ar( SinOsc .ar(freq), pan, amp); }; b = { arg amp, pan, freq; Pan2 .ar( RLPF .ar( Saw .ar(freq), freq * 6, 0.1), pan, amp); }; c = { arg pan, freq, amp; Pan2 .ar( R ...

  9. Array Help

    ... s to an array of UGen s (see those helpfiles for more details). s.boot; ( x = { SinOsc .ar([0.1, 0.2], 0).poll * 0.1 }.play; ) x.trace; // By tracing the Synth you can see the two Poll units we created x.free dpoll(trig, label, trigid) appl ...

  10. Streams-Patterns-Events3 Help

    ... cal; SynthDef ( \help_SPE3_SimpleSine , { arg freq, sustain=1.0; var osc; osc = SinOsc .ar( [freq,freq+0.05.rand] ) * EnvGen .ar( Env .perc, doneAction: 2, levelScale: 0.3, timeScale: sustain ); Out .ar(0,osc); }).add; ) /////////////////// ...

prev 41 42 43 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow