Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2106) Code (553) Doc (473) Help (193) Quark (880) Plugin (7) SCDoc ↗ Forum ↗ Google ↗
  1. GMTapTempo Doc

    ... ut = 0, amp = 0.1, freq = 440| var snd = SinOsc.ar(freq, mul: amp); snd = snd * EnvGen.kr(Env.perc); Out.ar(0, snd!2); }).add; tapTempoButton = GMTapTempo() .bpm_(60 * clock.tempo) .action_({ |bpm| if(bpm.notNil) { clock.tempo_(bpm / 60); } ...

  2. 16_Playbuf Doc

    ... 1; Out.ar( bus, PlayBuf.ar( 1, bufnum, BufRateScale.kr(bufnum) * rateScale ) * EnvGen.kr(Env.sine(BufDur.kr(bufnum))) ) }).add; ) ( // test the synthdef ... does it work? (yes, it's fine. it plays on the left channel) Synth("aMonoSamplePla ...

  3. Plotter Doc

    ... b = Buffer.read(s, ExampleFiles.sinedPink); s.sync; b.plot }.fork(AppClock); // Env Env.perc(0.4, 0.6).plot; ⧉ ✔ plotGraph (n, from, to, ...) { |x| sin(x) }.plotGraph(300, 0, 2*pi); { |x| sin(1/x) * x }.plotGraph(from: 0.0001, to: 0.2); ⧉ ✔ ...

  4. GMSequencer Doc

    ... (0); }; }); SynthDef(\GMWhitePerc, { var snd = WhiteNoise.ar(0.25); snd = snd * EnvGen.kr( Env.perc(0.01, 0.2), doneAction: Done.freeSelf ); snd = BPF.ar(snd, 10000, 0.75); Out.ar(0, snd!2); }).add; win.layout_( HLayout() .margins_(0) .spac ...

  5. VoicerMIDISocket Doc

    ... (0, 1, 0.1, 0.35), sig = Mix(Saw.ar(Lag.kr(freq, freqlag) * [1, 1.006])), feg = EnvGen.kr(Env([9000, 800], [0.1], \exp)), eg = EnvGen.kr(Env.adsr(0.01, 0.08, 0.6, 0.1), gate, doneAction: 2); sig = RLPF.ar(sig, feg, 0.4, amp); Out.ar(out, (s ...

  6. SoundFileAnalysis Doc

    ... rtPos = onset * BufSampleRate.kr(bufnum); // convert from seconds to frames var env = EnvGen.kr(Env.linen(0.001, sustain / rate, 0.02), doneAction:2); Out.ar(out, PlayBuf.ar(2, bufnum, rate, startPos:startPos) ) }).add; ~liveBuffer = Buffer ...

  7. TabletSlider2D Doc

    ... [c,d,c],0.2); Out.ar(0, RLPF.ar(Mix.ar(p),freq * ffreqInterval.midiratio,rq) * EnvGen.kr(Env.adsr, gate, gate) ) },[0.1,0.1,0.1,0.1,0.1,nil]).play(s); w = Window.new.front; int = ControlSpec(-48,48,\linear,1); v = TabletSlider2D(w,Rect(10, ...

  8. JITLibChanges3.7 Doc

    ... endered SynthDef is cached, which makes the copy efficient. A ProxySpace or LazyEnvir can be copied and then modified independently. NodeProxy elastic behavior setting NodeProxy is now able to reshape according to its source. When doing so, ...

  9. NNdef Doc

    ... reduce; var freq = freqES.enKr(lag: 0.1, key: \freq, debug:true, spec:nil); var env = EnvGen.kr( Env.perc, freqES.enTr ); RLPF.ar( Pulse.ar(freq), LFNoise1.ar(1).range(1000,4000), 0.1 ) * 0.1.dup * amp * env }).play ) ⧉ ✔ Adding sliders for ...

  10. AlgaPatternPlayer Doc

    ... nsferred to every AlgaPattern s that are using the AlgaPatternPlayer . shape An Env that optionally allows you to define a specific shape for the interpolation. sched Just like any other AlgaNode method, the current function can be schedule ...

prev 31 32 33 34 35 36 37 38 39 40 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow