Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1483) Code (412) Doc (388) Help (177) Quark (503) Plugin (3) SCDoc ↗ Forum ↗ Google ↗
  1. 02_Evaluating_code Doc

    ... e line of code, such as { SinOsc.ar([400, 401], 0, 0.1) * Saw.ar([11, 33], 1) * EnvGen.kr(Env.sine(10)) }.play ⧉ ✔ first make sure that the localhost server is booted. Then put the cursor anywhere on the line (shown above) and press <enter> ...

  2. recursive_phrasing Doc

    ... ustain, amp * AmpCompA.kr(freq)); Out.ar(out, Pan2.ar( SinOsc.ar(freq), pan ) * EnvGen.ar(window, doneAction: Done.freeSelf) ) } ).add; SynthDef(\noiseGrain, { arg out = 0, freq=800, sustain=0.001, amp=0.5, pan = 0; var window; window = Env ...

  3. News-3_11 Doc

    ... piling in some cases (#4018) UGens: Fixed Fixed an issue with the Done flags on EnvGen (#4789) Fixed an issue with EnvGen gating non-gated envelopes (#4436) sclang: Added Ableton Link support is here! Check the LinkClock class for more info ...

  4. GrainBuf Doc

    ... , env, freqdev; // use mouse x to control panning pan = MouseX.kr(-1, 1); env = EnvGen.kr( Env([0, 1, 0], [1, 1], \sin, 1), gate, levelScale: amp, doneAction: Done.freeSelf); Out.ar(out, GrainBuf.ar(2, Impulse.kr(10), 0.1, sndbuf, LFNoise1. ...

  5. RedMatrixMixer Doc

    ... ( SynthDef(\redMatrixMixerTest, {|out= 0, freq= 400, gate= 1, amp= 0.5| 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, ...

  6. 12 Doc

    ... 1; Out.ar( bus, PlayBuf.ar( 1, bufnum, BufRateScale.kr(bufnum) * rateScale ) * EnvGen.kr(Env.sine(BufDur.kr(bufnum))) ) }).add; ) ( // SynthDefをテストする ... 動く?(はい、大丈夫。左チャンネルで再生する。) Synth("aMonoSamplePlayer", [\bus, 0, \bufNum, b]); ) ( // コン ...

  7. Psync Doc

    ... ef(\help_sinegrain, { |out = 0, freq = 440, sustain = 0.05, pan| var env; env = EnvGen.kr(Env.perc(0.01, sustain, 0.3), doneAction: Done.freeSelf); Out.ar(out, Pan2.ar(SinOsc.ar(freq, 0, env), pan)) }).add; ) ( // a fixed duration pattern: ...

  8. Operators Doc

    ... ong other things: ( { // trigger an envelope var trig; trig = SinOsc.ar(1) > 0; EnvGen.kr(Env.perc, trig, doneAction: Done.none) * SinOsc.ar(440, 0, 0.1) }.play ) // trigger a synth ( SynthDef("help-EnvGen", { arg out=0; Out.ar(out, EnvGen. ...

  9. Ringz Doc

    ... mple rate. ( a = { // rectangular pulse exciter (deterministic input) var exc = EnvGen.ar(Env([1, 1, 0], [0.01, 0], \lin)), sig = Ringz.ar(exc, 440, decaytime: 0.2), rms = sqrt(Integrator.ar(sig.squared) * (0.2 / SampleRate.ir)), end = Dete ...

  10. PG_06f_Server_Control Doc

    ... olumeCtl, { |out, amp = 1, gate = 1| var sig = In.ar(out, 2) * amp; sig = sig * EnvGen.kr(Env(#[1, 1, 0], #[1, 1], -3, releaseNode: 1), gate, doneAction: Done.freeSelf); ReplaceOut.ar(out, sig) }).add; ~vbus1 = Bus.control(s, 1).set(0.5); ~ ...

prev 21 22 23 24 25 26 27 28 29 30 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow