Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... 4100 and 48000 #trackb, trackh, trackq, tempo = BeatTrack.kr(fft, lock); beep = SinOsc.ar(1000, 0.0, Decay.kr(trackb, 0.1)); Out.ar(out, Pan2.ar((vol * in) + (beepvol * beep), 0.0)) }).play ) a.set(\vol, 0.0); a.set(\vol, 1.0); a.set(\beepv ...

  2. IBVA Doc

    ... aitForBoot{ var synth; SynthDef(\mysnd, {|out= 0, amp= 0.2, lag= 0.01| var snd= SinOsc.ar(\data.kr(#[0, 0, 0, 0], lag)); Out.ar(out, Splay.ar(snd*amp)); }).add; s.sync; synth= Synth(\mysnd); a.action= {|...arr| synth.set(\data, arr.linexp(0 ...

  3. ProcMod Doc

    ... mples SynthDef(\singrain, {arg freq, amp, dur, envbus; OffsetOut.ar(0, Pan2.ar( SinOsc.ar(freq, 0, amp) * EnvGen.kr(Env.sine(dur, amp), doneAction: 2) * In.kr(envbus), Rand.new(-1.0, 1.0) ) ) // read off the overall env control of the ProcM ...

  4. Pstep Doc

    ... 0.5, pan = 0| var window; window = Env.sine(sustain, amp); Out.ar(out, Pan2.ar( SinOsc.ar(freq) * EnvGen.ar(window, doneAction: Done.freeSelf), pan ) ) } ).add; times = Pseq([3.4, 1, 0.2, 0.2, 0.2], inf); levels = Pseq([0, 1, 2, 3, 4], inf) ...

  5. 15-Sequencing-with-Routines-and-Tasks Doc

    ... SynthDef(\singrain, { |freq = 440, amp = 0.2, sustain = 1, out| var sig; sig = SinOsc.ar(freq, 0, amp) * EnvGen.kr(Env.perc(0.01, sustain), doneAction: Done.freeSelf); Out.ar(out, sig ! 2); // sig ! 2 is the same as [sig, sig] }).add; r = ...

  6. DiskOut Doc

    ... , LFSaw.kr([8, 7.23], 0, 3, 80)).midicps; // glissando function zout = CombN.ar(SinOsc.ar(f, 0, 0.04), 0.2, 0.2, 4); // echoing sine wave Out.ar(out, zout) }).add; // this will record to the disk SynthDef("help-Diskout", { |bufnum| DiskOut. ...

  7. DXEnvFan Doc

    ... ,4,5,6,7,0], inf), size: 8, fadeTime: 0.01, equalPower: 0, sine: 1, // 1 power: SinOsc.ar(10, -pi/2).range(0.5, 10), // fadeMode: 1, // stepTime: 0.015 ) }.plot(0.1) ) // if equalPower is set to 0 you can also choose a curve arg // which is ...

  8. Alga Doc

    ... used for the specific Alga instance. Discussion: ( Alga.boot({ a = AP(( def: { SinOsc.ar * EnvPerc.ar(release: 0.1 * \tempo.kr(1)) }, tempo: Pfunc { Alga.clocks[Server.default].tempo.reciprocal } )).play(chans: 2) }) ) //10 times faster Al ...

  9. ProxyPreset Doc

    ... doneAction:2); freq = freq * XLine.kr(1, bend.midiratio, sustain); Out.ar(out, SinOsc.ar(freq, 0, env)) }).add; ) // then make a ProxyPreset for the Tdef; // for Tdefs, best use the TdefPreset class b = TdefPreset(a); // these are the para ...

  10. DrumTrack Doc

    ... kr(source, lock,kicksensitivity:kick,snaresensitivity:snare,debugmode:2); beep= SinOsc.ar(1000,0.0,Decay.kr(trackb,0.1)); Out.ar(0,Pan2.ar((vol*source)+(beepvol*beep),0.0)); }).play; ) a.set(\vol,0.0); a.set(\beepvol,1.0); a.set(\kick,0.2); ...

prev 81 82 83 84 85 86 87 88 89 90 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow