Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (3894) Code (643) Doc (1121) Help (424) Quark (1675) Plugin (31) SCDoc ↗ Forum ↗ Google ↗
  1. Pshuf Help

    ... }); ) Pshuf used as a sequence of pitches: ( SynthDef ( \help_sinegrain , { arg out=0, freq=440, sustain=0.05; var env; env = EnvGen .kr( Env .perc(0.01, sustain, 0.2), doneAction:2); Out .ar(out, SinOsc .ar(freq, 0, env)) }).add; ) ( a = P ...

  2. Pxrand Help

    ... ); ) Pxrand used as a sequence of pitches: ( SynthDef ( \help_sinegrain , { arg out=0, freq=440, sustain=0.05; var env; env = EnvGen .kr( Env .perc(0.01, sustain, 0.2), doneAction:2); Out .ar(out, SinOsc .ar(freq, 0, env)) }).add; ) ( a = P ...

  3. snare909 Quark

    /* Retrieved from http://sccode.org/1-5aD */ SynthDef(\snare909,{ |out=0,mul=1,velocity=1| var excitation, membrane; excitation = LPF.ar(WhiteNoise.ar(1), 7040, 1) * (0.1 + velocity); membrane = ( /* Two simple enveloped oscillators represe ...

  4. Klank Doc

    ... nerates 4 partials used in different configurations: ( SynthDef(\help_Klank, { |out = 0, i_freq| var klank, n, harm, amp, ring; // harmonics harm = \harm.ir(Array.series(4, 1, 1).postln); // amplitudes amp = \amp.ir(Array.fill(4, 0.05)); // ...

  5. Pfset Help

    ... tion to evaluate when the pattern is stopped, or when the supplied pattern runs out of values. For example, if you loaded a Buffer in the initializer function, you could free it in the cleanupFunc. ( var a, b; a = Pfset ({ ~legato = 0.3; ~d ...

  6. Add it up! by codepool (codepool) Code

    ... tterDensity = 500; SynthDef.new("additup1", { arg freq = 440, amp = 1, out = 0, freqJitterAmt = 0, harmMult = 1, harmOffset = 1, harmDecayPower = 1, formFreqRatio = 1, formAttack = 0.005, formDecay = 0.003; freq = Mou ...

  7. Pindex Help

    ... ats specifies the number of repeats. // example ( SynthDef ( \help_pindex , { | out, amp=0.1, freq=440, gate=1 | var son = Saw .ar(freq * [0.99, 1, 1.01]).mean; son = son * EnvGen .ar( Env .adsr, gate: gate, doneAction:2); Out .ar(out, son. ...

  8. Skyline by Bobby Macdonald by bruno (Bruno Ruviaro) Code

    ... mix: 0.3, room: 0.6, damp: 0.6 ); snd = Pan2.ar(snd, pan); Out.ar(0, snd); // 'doneAction: 2' here DetectSilence.ar(snd, 0.001, 0.2, doneAction: 2); }).add; //LEAD SynthDef("melody", { arg amp, att, re ...

  9. Feedback with beats by rukano (rukano) Code

    Trying out some stuff to get some melodies/pads out of feedback and some beats in the background. Ndef(\a, { var src, loc, delay=0.01; src = Decay2.ar(Impulse.ar(1/8), LFNoise2.kr(4).range(0.001, 0.0001), LFNoise2.kr(4).range(0.005, 0 ...

  10. apad_mh Quark

    ... g freq=880, amp=0.5, attack=0.4, decay=0.5, sustain=0.8, release=1.0, gate=1.0, out=0; var env,sig,mod1,mod2,mod3; env=EnvGen.kr(Env.adsr(attack,decay,sustain,release),gate,levelScale:amp,doneAction:2); mod1=SinOsc.kr(6).range(freq*0.99,fre ...

prev 71 72 73 74 75 76 77 78 79 80 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow