Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... amp= 0.1| var e= EnvGen.kr(Env.asr(0.01, 1, 0.01), gate, doneAction:2); var z= SinOsc.ar(freq, 0, amp); Out.ar(out, z*e); }).add; ) ( b= Pbind( \instrument, \redMatrixMixerTest, \degree, Pseq([0, 1, 5, 4], inf), \dur, 0.25, \out, Pseq((0.. ...

  2. Prand Doc

    ... EnvGen.kr(Env.perc(0.01, sustain, 0.2), doneAction: Done.freeSelf); Out.ar(out, SinOsc.ar(freq, 0, env)) }).add; ) ( a = Prand(#[60, 61, 63, 65, 72], inf).asStream; Routine({ loop({ Synth(\help_sinegrain, [\freq, a.next.midicps]); 0.2.wait; ...

  3. OverlapTexture Quark

    ... Env([0, 1, 1, 0], [transdur, susdur, transdur], \sin), doneAction: 2); sound = SinOsc.ar(freq, 0, amp) * env; Out.ar(0, sound); }).load(s); ) s.boot; a = OverlapTexture.new(\sinetest); a.play(60, 1, 1, args: [\freq, {440.rrand(880)}, \amp, ...

  4. snareStein Quark

    ... lend = 0.2; var tone, noise, snd; //Sines for the frequency of the drum: tone = SinOsc.ar(freq: [tonelo, tonehi]); tone = tone * Env.perc( attackTime: att, releaseTime: [tonerel, 0.73 * tonerel], level: toneamp, curve: curve ).kr; //Noise f ...

  5. 12_Playbuf Help

    ... 1; Out .ar( outBus, [ // In.ar ugen reads from an audio bus In .ar(inBus, 1) * SinOsc .kr(modFreq), In .ar(inBus, 1) * SinOsc .kr(modFreq - 0.02) ] ) }).load(s); // apply a low pass filter to an audio source SynthDef ( "aLowPassFilter" , { ...

  6. Pseries Doc

    ... EnvGen.kr(Env.perc(0.01, sustain, 0.2), doneAction: Done.freeSelf); Out.ar(out, SinOsc.ar(freq, 0, env)) }).add; ) ( var a; a = Pseries(300, 20, 70).asStream; { a.do { |val| Synth(\help_sinegrain, [\freq, val]); 0.02.wait; } }.fork; ) ( Pbi ...

  7. DX suite Quark

    ... uish from multichannel expansion. ( { DXMix .ar( Dseq ([1, 0, 1, 2], inf ), `([ SinOsc .ar(100), WhiteNoise .ar(), LFTri .ar(100)]), stepTime: 0.015, fadeTime: 0.015, fadeMode: 1, // alternate steps and fades sine: 0, // sine type or not eq ...

  8. Env Doc

    ... velope in a synth ( { var env = Env([0, 1, 0.5, 1, 0], [0.01, 0.5, 0.02, 0.5]); SinOsc.ar(470) * EnvGen.kr(env, doneAction: Done.freeSelf) }.play ) // an envelope to control a parameter in a pattern ( Pbind( \note, Env([0, 12, 6, 13, 0], [1 ...

  9. PlazyEnvirN Help

    ... nvGen .kr( Env .perc(0.01, sustain, 0.2), doneAction:2); Out .ar(out, Pan2 .ar( SinOsc .ar(freq, 0, env), pan)) }).add; a = PlazyEnvirN ({ arg g=0, h=0, dur=1; postf( "g: %, h: %, dur: %\n" , g, h, dur); Pbind ( \instrument , \help_sinegrai ...

  10. 12-Groups Doc

    ... ndom pan source = Pan2.ar(Decay2.ar(Impulse.ar(Rand(0.3, 1), 0, 0.125), 0.3, 1, SinOsc.ar(SinOsc.kr(0.2, 0, 110, freq))), Rand(-1.0, 1.0)); Out.ar(outBus, source * direct); Out.ar(effectBus, source * (1 - direct)); }).add; SynthDef(\tutoria ...

prev 151 152 153 154 155 156 157 158 159 160 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow