Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (663) Code (163) Doc (222) Help (83) Quark (188) Plugin (7) SCDoc ↗ Forum ↗ Google ↗
  1. SynthDesc Doc

    ... d = SynthDef(\mdDemo, { |out, freq, cutoff, volume, gate = 1| var sig = LPF.ar(Saw.ar(freq, volume), cutoff), env = EnvGen.kr(Env.adsr, gate, doneAction: Done.freeSelf); Out.ar(out, (sig * env) ! 2) }).add; SynthDescLib.global[\mdDemo].mak ...

  2. Instr Doc

    ... lel voices to create, detuned against each other) or even the name of a UGen (LFSaw, Pulse) to use for the oscillator. There are methods detailed below for creating SynthDefs from Instr. Instr also support partial application (supplying som ...

  3. SplineGen Doc

    ... 5,1.0.rand ] }), 3.0,false ); b.gui(nil,1200@300); ) ( // the SplineGen loops { Saw.ar(SplineGen(b,loop:true).kr.linexp(0.0,1.0,40,500).clip(40,500)).dup * 0.4 }.play ) ⧉ ✔ helpfile source: /tmp/scquark_hs/splines/HelpSource/Classes/SplineG ...

  4. HOA_Playground Doc

    ... = {HOAEncoder.ar(~order, Decay.ar( Impulse.ar(1), 0.1, PinkNoise.ar(0.1) ), az: Saw.ar(0.5, pi ) )}; ~hoaScene.fadeTime = 1; s.sync; ~hoaTransformer = RecNodeProxy.new(s, \audio, ~hoaNumChannels); ~hoaTransformer.source = {var in; in = \in. ...

  5. Steno Doc

    ... us. t = Steno.new; t.quelle(\a, { Blip.ar(Rand(4, 16)) * 0.2 }); t.quelle(\b, { Saw.ar(Rand(400, 700)) * 0.2 }); t.filter(\f, { |input| CombL.ar(input, 0.2, Rand(0.01, 0.2), Rand(0.4, 2)) }); t.value("baba"); t.value("babaf"); t.value("(ab) ...

  6. Morse Doc

    ... .play Ndef(\src).stop Tdef(\morse).stop.play; // start over Ndef(\src, { LPF.ar(Saw.ar(LFNoise1.kr([0.3, 0.31], 200, 800)), 2000).sum * 0.5 }); Tdef(\morse).stop.play; // start over Ndef(\src, { Impulse.ar(LFNoise1.kr([0.3, 0.31], 200, 800) ...

  7. Fb1_HopfA Doc

    ... src * hold.lag(0.5), 0.15, 2, 800); sig[0] ! 2 * 0.5 }.play ) x.release // with Saw the result is less exact, sometimes Hopf jumps to higher partials ( x = { var ratio = Demand.ar( Impulse.ar(3), 0, Dseq([0, 2, 4, 5, 7, 9, 11, 12], inf) ).m ...

  8. Streams-Patterns-Events3 Doc

    ... le. ( SynthDef( \help_SPE3_Allpass6, { arg freq; var out, env; out = RLPF.ar( LFSaw.ar( freq, mul: EnvGen.kr( Env.perc, levelScale: 0.3, doneAction: Done.freeSelf ) ), LFNoise1.kr(1, 36, 110).midicps, 0.1 ); 6.do({ out = AllpassN.ar(out, 0. ...

  9. Fb1 Doc

    ... that is provided by func (e.g. letting the fb out modulate a parameter of a VarSaw.ar). This is currently not possible and I don't have a clear picture if and how it would be possible at all or if it would make much sense. Examples 1: Proo ...

  10. Fb1_HopfAFDC Doc

    ... 0.7, src * 0.1] }.play ) x.release // in contrast to Fb1_HopfA adaption to the Saw works quite well ( x = { var ratio = Demand.ar( Impulse.ar(3), 0, Dseq([0, 2, 4, 5, 7, 9, 11, 12], inf) ).midiratio; var hold = (MouseX.kr(0, 1) > 0.1).poll ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow