Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2836) Code (566) Doc (808) Help (347) Quark (1105) Plugin (10) SCDoc ↗ Forum ↗ Google ↗
  1. PatternProxy Doc

    ... ; t.stop; ⧉ ✔ // PatternProxy, like Pdefn can be accessed in multiple streams ( SynthDef("Pdefhelp", { |out, freq, sustain = 1, amp = 1, pan| var env, u = 1; env = EnvGen.kr(Env.perc(0.03, sustain), 1, doneAction: Done.freeSelf); 5.do { var ...

  2. Ndef Doc

    ... superclass NodeProxy or a ProxySpace ) may provide a convenient solution. // a SynthDef, creating single-channel grain when instantiated ( SynthDef(\grain, { |out = 0, freq = 300, amp = 0.3| OffsetOut.ar(out, Pulse.ar(freq) * EnvGen.kr(Env ...

  3. ServerTiming Doc

    ... ts) and physical time (clock.elapsedBeats) just before playing a grain. s.boot; SynthDef(\sinGrain, { |out = 0, freq = 440, amp = 0.5, dur = 1| Out.ar(out, SinOsc.ar(freq, 0, amp) * EnvGen.kr(Env.sine(1), timeScale:dur, doneAction: Done.fre ...

  4. BBCutProc11 Doc

    ... ay(100); bbcut= BBCut2(CutBuf1(f),BBCutProc11.new(8,4.0,2,3,0.5,3,1.0)); pulse= SynthDef(\pulse, { var rate, impulse; rate= MouseX.kr(2,3); impulse= Impulse.kr(rate); SendTrig.kr(impulse, 100, rate); Out.ar(0,Decay.kr(impulse,0.1)*SinOsc.ar ...

  5. PG_06g_Data_Sharing Doc

    ... cleanupFunc. (Pproto is another way; see Pattern Guide 06f: Server Control .) ( SynthDef(\playbuf, { |bufnum, start, dur = 1, amp = 0.2, out| var sig = PlayBuf.ar(1, bufnum, BufRateScale.ir(bufnum), 0, start); sig = sig * amp * EnvGen.kr(En ...

  6. DbufTag Doc

    ... l Post Big Beats // many processes with different write speeds on one string. ( SynthDef(\post, { |bufnum, out| var tag, axiom, rules, index; var freq = Rand(10000, 15000); var deletionNumber = MouseX.kr(1, 6); // modulate deletion number a ...

  7. Streams-Patterns-Events2 Doc

    ... attern to create two instances of the random melody stream. ( s = Server.local; SynthDef(\help_SPE2, { arg i_out=0, sustain=1, freq; var out; out = RLPF.ar( LFSaw.ar( freq ), LFNoise1.kr(1, 36, 110).midicps, 0.1 ) * EnvGen.kr( Env.perc, lev ...

  8. FoaXformDisplay Doc

    ... : // select a decoder of your choice ~decoder = FoaDecoderKernel.newSpherical ( SynthDef(\decoder_spherical, { arg outbus = 0, inbus; // ReplaceOut here in case you'be selected a // hardware out for the auditioner ReplaceOut.ar( outbus, Foa ...

  9. PIdev Doc

    ... hythmBase *.x [1, 2]; ~rhythmNum = ~rhythms.size; ~rhythms = ~rhythms.scramble; SynthDef(\noise_grain, { |out = 0, freq = 400, att = 0.005, rel = 0.1, rq = 0.05, pan = 0, amp = 0.1| var sig = { WhiteNoise.ar } ! 2; sig = BPF.ar(sig, freq, r ...

  10. BufEnvir Doc

    ... uivalent q.b[[\y, \c, \z]] = [nil];// equivalent // example with a soundfile: ( SynthDef("help_PlayBuf", { arg out=0, bufnum=0, sustain=1, amp=0.1, rate=1, offset=0; Out.ar(out, EnvGen.kr(Env.linen(0, sustain, 0.02), doneAction:2) * PlayBuf ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow