Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (376) Code (92) Doc (123) Help (86) Quark (74) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. EventLoop Doc

    ... record rhythm only, play by hand // a sound to use ( SynthDef(\toc, { Out.ar(0, XLine.ar(1, 0.01, 0.02, doneAction: 2) * SinOsc.ar([600, 1300, 4500], 0, [0.3, 0.2, 0.1]).postln); }).add; ) (instrument: \toc).play; // get more info posted e. ...

  2. CtkEvent Doc

    ... rg outbus, freq, dur, amp = 1; Out.ar(outbus, Pan2.ar(SinOsc.ar(freq, 0, amp) * XLine.kr(amp, 0.0001, dur, doneAction: 0))) }) ); f = {arg starttime = 0.0, basefreq = 440, basedur = 10, baseamp = 1; var ev, amps, dur, freq, freqoff, parfreq ...

  3. UGen Doc

    ... linear , WeaklyNonlinear2 , WhiteNoise , WidthFirstUGen , WrapSummer , XFade2 , XLine , ZOsc , ZeroCrossing … see all See also: Browse: UGens , Tour of UGens , Unit Generators and Synths Description UGens represent calculations with signals ...

  4. Tendency Doc

    ... y like a Stream . ( SynthDef(\tendency, {arg freq; Out.ar(0, SinOsc.ar(freq, 0, XLine.kr(0.1, 0.0001, 1, doneAction: 2))); }).send(s); ) ( Routine.run({ g = Tendency.new(1760.0, 440.0, Env([0.01, 2.0], [10], \sin), Env([0.01, 2.0], [10], \s ...

  5. UGen-Changelog Doc

    ... 3, 0.4, 0.5, 0.6, 0.7, 0.8] // 3.14: [0.0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7] { XLine.ar(1, 2, 7/SampleRate.ir) }.loadToFloatArray(2e-4, action:_.postln) // 3.13: [1.10, 1.21, 1.34, 1.48, 1.64, 1.81, 2.0, 2.0] // 3.14: [1.0, 1.10, 1.21, 1.3 ...

  6. Syn Doc

    ... hDescLib.at(\default).def.asBytes]]); x = Syn.basicNew(\default, [ freq: Plug { XLine.kr(1000, 400, 0.1) } ], z.defaultGroup); b = OSCBundle.new; x.prepareToBundle(b); add.(a, 0, b.preparationMessages, b.messages); y = Syn.basicNew(\default ...

  7. PG_03_What_Is_Pbind Doc

    ... LPF.ar( Mix.new(VarSaw.ar(freq + [0, Rand(-0.4,0.0), Rand(0.0,0.4)], 0, 0.3)), XLine.kr(Rand(4000,5000), Rand(2500,3200), 1) ) * Linen.kr(gate, 0.01, 0.7, 0.3, 2); OffsetOut.ar(out, Pan2.ar(z, pan, amp)); }, [\ir]); ⧉ ✔ When an event plays ...

  8. VarGui Doc

    ... cy ( SynthDef(\synth_0, { |devFactor = 0.1, devFreq = 10, amp = 0.1| var freq = XLine.kr(400, 1200, 10); Out.ar(0, SinOsc.ar(SinOsc.ar(devFreq, 0, devFactor * freq, freq), mul: amp).dup(2) * EnvGate.new) }).add; ) ⧉ ✔ VarGui to play synth o ...

  9. Event Doc

    ... = LPF.ar( PMOsc.ar(freq, freq * ratio, Linen.kr(gate, ar, index, dr), 0, 0.3), XLine.kr(Rand(4000, 5000), Rand(2500, 3200), 1) ) * Linen.kr(gate, 0.01, 0.7, dr, 2); OffsetOut.ar(out, Pan2.ar(z, pan, amp)); }).add; ); (instrument: \pm).play ...

  10. Function Doc

    ... gnal to avoid clicks (default: 0). Discussion: // record a buffer b = { Blip.ar(XLine.kr(10000, 4, 3) * [1, 1.2], 20) * 0.1 }.asBuffer(3, fadeTime: 0.1) b.plot; // after 3 seconds, you can see it. // play the soundfile back { PlayBuf.ar(b.n ...

prev 11 12 13 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow