Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (564) Code (220) Doc (92) Help (30) Quark (215) Plugin (7) SCDoc ↗ Forum ↗ Google ↗
  1. Pitch Help

    ... freq, hasFreq = Pitch .kr(in, ampThreshold: 0.02, median: 7); out = CombC .ar( LPF .ar(in, 1000), 0.1, (2 * freq).reciprocal, -6).distort * 0.05; 6.do({ out = AllpassN .ar(out, 0.040, [0.040.rand,0.040.rand], 2) }); Out .ar(0,out); }).play ...

  2. SCStethoscope Help

    ... ernal; s = Server .default; s.boot; ) ( { SinOsc .ar([225, 450, 900], 0, 0.2) + LPF .ar( LFPulse .ar(226 * [1, 2, 5],[0,0.1,0.1],0.2, 0.2), MouseX .kr(20, 10000, 1) ) }.scope; ) // server.scope only changes the properies explicitly given: s ...

  3. Tour_of_UGens Help

    ... }.scope(1); // two band limited square waves thru a resonant low pass filter { RLPF .ar( Pulse .ar([100,250],0.5,0.1), XLine .kr(8000,400,5), 0.05) }.scope(1); Klang - sine oscillator bank arguments: `[ frequencies, amplitudes, phases ], mu ...

  4. 11_Groups Help

    ... 201], 0.05) ) }).load(s); SynthDef ( "secondNode-filter" , { ReplaceOut .ar( 0, LPF .ar( In .ar(0, 2), Lag .kr( LFNoise0 .kr([4, 4.001], 500, 1000), 0.1 ) ) ) }).load(s); ) // evaluate "secondNode-filter" first // "firstNode-source" will go ...

  5. PG_04_Words_to_Phrases Help

    ... 0, width, preamp)).distort * amp * EnvGen .kr(env, gate, doneAction: 2); sig = LPF .ar(sig, ffreq); Out .ar(0, sig ! 2) }).add; ) ( TempoClock .default.tempo = 132/60; p = Pxrand ([ Pbind ( // repeated notes \instrument , \bass , \midinote ...

  6. Streams-Patterns-Events3 Help

    ... e readable. ( SynthDef ( \help_SPE3_Allpass6 , { arg freq; var out, env; out = RLPF .ar( LFSaw .ar( freq, mul: EnvGen .kr( Env .perc, levelScale: 0.3, doneAction: 2 ) ), LFNoise1 .kr(1, 36, 110).midicps, 0.1 ); 6.do({ out = AllpassN .ar(out ...

  7. Sequencing with Patterns Help

    ... 0, width, preamp)).distort * amp * EnvGen .kr(env, gate, doneAction: 2); sig = LPF .ar(sig, ffreq); Out .ar(0, sig ! 2) }).add; TempoClock .default.tempo = 132/60; p = Pxrand ([ Pbind ( \instrument , \bass , \midinote , 36, \dur , Pseq ([0 ...

  8. NodeProxy Help

    ... ent, and proxyB to proxyA's in argument. a = NodeProxy .new.play; a.source = { RLPF .ar( \in .ar(0!2), [4600, 7000], 0.1) }; b = NodeProxy .new.source_ { Impulse .ar([5, 7] / 2) }; a <<> b; proxyA <>> proxyB <>> proxyC <>> ... Inverse of th ...

  9. PG_03_What_Is_Pbind Help

    ... SynthDef ( \default , { arg out=0, freq=440, amp=0.1, pan=0, gate=1; var z; z = LPF .ar( Mix .new( VarSaw .ar(freq + [0, Rand (-0.4,0.0), Rand (0.0,0.4)], 0, 0.3)), XLine .kr( Rand (4000,5000), Rand (2500,3200), 1) ) * Linen .kr(gate, 0.01, ...

  10. Event Help

    ... 0, amp=0.1, pan=0, gate=1, ratio = 1, index = 1, ar = 0.1, dr = 0.1| var z; z = LPF .ar( PMOsc .ar(freq, freq * ratio, Linen .kr(gate, ar,index, dr), 0, 0.3), XLine .kr( Rand (4000, 5000), Rand (2500, 3200), 1) ) * Linen .kr(gate, 0.01, 0.7 ...

prev 1 2 3

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow