Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2676) Code (536) Doc (989) Help (430) Quark (698) Plugin (23) SCDoc ↗ Forum ↗ Google ↗
  1. RedOnePole Doc

    ... LFPulse.kr(30, 0.6), 0.5)}.plot(0.1); //roughly the same //--audio examples a= {SinOsc.ar(RedOnePole.ar(LFPulse.ar(MouseX.kr(1, 50, 1)), MouseY.kr(0.975, 1)).linexp(0, 1, 300, 3000), 0, 0.2)!2}.play a.free ⧉ ✔ helpfile source: /tmp/scquark_ ...

  2. 122-collision_objects_synth Doc

    ... ar e, z; e= EnvGen.kr(Env.perc(dur*0.01, dur), t_trig); z= BPF.ar(LFSaw.ar(freq+SinOsc.ar(freq2, 0, amount), 0, amp), freq2*2); Out.ar(out, Pan2.ar(z*e, pan)); }).add; s.sync; //--world w= RedWindow("collision test2", Rect(128, 64, width, h ...

  3. InfluxKtlGui Doc

    ... (bt.value > 0) { "otto".speak } { "off".speak } }); Ndef(\four, { |a, b, c, d| SinOsc.ar( 440 * (2 ** [a, b, c, d])).sum * 0.1 }); Ndef(\four).play; Ndef(\four).gui; // test attachMapped Ndef(\four).addSpec(\a, [0, 2]); Ndef(\four).addSpec ...

  4. RedEffectModuleGUI Doc

    ... ew items (not text). Inherited instance methods Examples a= RedEfxVerb.new; c= {SinOsc.ar([400, 404], 0, 0.5*Decay.kr(Dust.kr(1)))}.play; g= RedEffectModuleGUI(a); g.redEffectModule==a; g.parent; g.views; a.verbMix= 0.5; a.verbRoom= 0.9; g. ...

  5. GMKeyboard Doc

    ... reqs ++ 440; SynthDef(\GMKeyboard, { |out = 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; keyboard = GMKeyboard() .margins_(8) .displayHighlights_(true) .mode_(\chr ...

  6. if Doc

    ... can also use if the condition ugen is 0 / 1 ( { if( LFNoise1.kr(1.0,0.5,0.5) , SinOsc.ar, Saw.ar ) }.play ) ⧉ ✔ optimization the functions will be inlined, which plucks the code from the functions and uses a more efficient jump statement. ...

  7. BufDelayN Doc

    ... s b = Buffer.allocConsecutive(2, s, 32768, 1); a = { |bufs = #[0, 1]| var sig = SinOsc.ar([440, 880]) * Decay2.kr(Impulse.kr([2, 4]), 0.01, 0.15); sig + BufDelayN.ar(bufs, sig, delaytime: 0.125) }.play(args: [bufs: b]); a.free; b.do(_.free) ...

  8. Plotter Doc

    ... (0..17).normalize(0, 15.0.rand).sin }.dup(4) }.dup(3).plot; // UGen functions { SinOsc.ar([700, 357]) * SinOsc.ar([400, 476]) * 0.2 }.plot; // Buffer { var b = Buffer.read(s, ExampleFiles.sinedPink); s.sync; b.plot }.fork(AppClock); // Env ...

  9. BufDelayC Doc

    ... s b = Buffer.allocConsecutive(2, s, 32768, 1); a = { |bufs = #[0, 1]| var sig = SinOsc.ar([440, 880]) * Decay2.kr(Impulse.kr([2, 4]), 0.01, 0.15); sig + BufDelayC.ar(bufs, sig, delaytime: 0.125) }.play(args: [bufs: b]); a.free; b.do(_.free) ...

  10. BufDelayL Doc

    ... s b = Buffer.allocConsecutive(2, s, 32768, 1); a = { |bufs = #[0, 1]| var sig = SinOsc.ar([440, 880]) * Decay2.kr(Impulse.kr([2, 4]), 0.01, 0.15); sig + BufDelayL.ar(bufs, sig, delaytime: 0.125) }.play(args: [bufs: b]); a.free; b.do(_.free) ...

prev 61 62 63 64 65 66 67 68 69 70 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow