Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... q=440, sustain=1.0| var osc; osc = SinOsc.ar( [freq, freq+0.05.rand], 0.5pi ) * EnvGen.ar( Env.perc, doneAction: Done.freeSelf, levelScale: 0.3, timeScale: sustain ); Out.ar(out, osc); }).add; ) ///////////////////////////////////////////// ...

  2. FilterComparisons Doc

    ... ) Victor Lazzarini's string resonator. { Streson.ar(LFSaw.ar([220, 180], 0, mul:EnvGen.kr(Env.asr(0.5, 1, 0.02), 1.0) * 0.2), LinExp.kr(LFCub.kr(0.1, 0.5*pi), -1, 1, 280, 377).reciprocal, 0.9, 0.3) }.play ⧉ ✔ helpfile source: /usr/local/sha ...

  3. GMButton 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; // Instanciate the View, and assign a string button = GMButton(); button.string_("beep"); // Assign custom action ...

  4. PG_Cookbook05_Using_Samples Doc

    ... ar(1, bufnum, rate: rate * BufRateScale.kr(bufnum), startPos: start, loop: 0 ), env = EnvGen.kr(Env.linen(0.01, time, 0.05, level: amp), doneAction: Done.freeSelf); Out.ar(out, (sig * env).dup); }).add; SynthDef(\bell, { |out, accent = 0, a ...

  5. SoundFile Doc

    ... 0, gate = 1| var sig = VDiskIn.ar(2, bufnum, BufRateScale.kr(bufnum)); var gateEnv = EnvGen.kr(Env([1, 1, 0], [sustainTime-rel, 0])); var env = EnvGen.kr(Env.asr(atk, 1, rel), gate * gateEnv, doneAction: Done.freeSelf); Out.ar(out, sig * e ...

  6. 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> ...

  7. PTimePoints Doc

    ... that event that depend on the clock's current time will be incorrect, including Env as streams, Pseg and Ptime . NOTE: If two successive time points are the same, the second will occur one bar later. Reference point: Barline Time points mak ...

  8. kitchen_studies Doc

    ... Buffer Granulation , Live Granulation , VarGui , DX suite , DXMix , DXMixIn , DXEnvFan , DXEnvFanOut , DXFan , DXFanOut , ZeroXBufRd , TZeroXBufRd , ZeroXBufWr Description In 2016 my interest in granular synthesis was focussed on the potent ...

  9. 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, ...

  10. 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]); ) ( // コン ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow