Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2676) Code (536) Doc (989) Help (430) Quark (698) Plugin (23) SCDoc ↗ Forum ↗ Google ↗
  1. Jazz Arpeggios by bjorn-westergard (Bjorn Westergard) Code

    ... = freq.cpsmidi; note = note + (LFNoise2.ar(20).range(-1,1) * (1/8)); klang = SinOsc.ar((note * [1,1.002]).midicps, phase: VarSaw.ar(note.midicps, width: Line.ar(1,0.2,dur))) * 0.3; klang = klang * XLine.ar(1,1/10000,dur,doneAction:2); ...

  2. Pgeom Help

    ... v = EnvGen .kr( Env .perc(0.01, sustain, 0.2, amp), doneAction:2); Out .ar(out, SinOsc .ar(freq, 0, env)) }).add; ) ( var a; a = Pgeom (300, 1.03, 70).asStream; { a.do { |val| Synth ( \help_sinegrain , [ \freq , val]); 0.02.wait; } }.fork; ...

  3. Padd Help

    ... v; env = EnvGen .kr( Env .asr(0.001, 1, 0.2), gate, doneAction:2); Out .ar(out, SinOsc .ar(freq, 0, env * 0.1)) }).add; ) ( a = Pbind ( \dur , 0.5, \instrument , \sinegrain , \freq , 440); b = Padd ( \freq , Pseq ([10, 30, 100], inf ), a); ...

  4. Control Doc

    ... ol = Control.names(\array).kr(Array.rand(numsines, 400.0, 1000.0)); sines = Mix(SinOsc.ar(control, 0, numsines.reciprocal)) ; Out.ar(out, sines ! 2); }).add ) b = Synth(\help_Control_Sines); b.setn(\array, Array.rand(20, 200, 1600)); b.setn ...

  5. smooth arpeggio, updated envelope by hemsinlet (hems.inlet) Code

    ... SynthDef(\bass, { |freq = 440, sustain = 1, amp = 0.5| var sig; sig = SinOsc.ar(freq, 0, amp) * EnvGen.kr(Env.perc(0.2), doneAction: 2); Out.ar(0, sig ! 2) }).add; ); ( ( p = Pbind( // the name of the SynthD ...

  6. TChoose Doc

    ... s methods Instance Methods Inherited instance methods Examples ( { var a; a = [ SinOsc.ar, Saw.ar, Pulse.ar ]; TChoose.ar(Dust.ar(MouseX.kr(1, 1000, 1)), a) * 0.2 }.play; ) ⧉ ✔ NOTE: all the ugens are continuously running. This may not be t ...

  7. PulseCount Doc

    ... d instance methods Examples SynthDef("help-PulseCount", { |out = 0| Out.ar(out, SinOsc.ar( PulseCount.ar(Impulse.ar(10), Impulse.ar(0.4)) * 200, 0, 0.05 ) ) }).play; ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/HelpSource/Classes/Pul ...

  8. Wrap Doc

    ... methods Instance Methods Inherited instance methods Examples s.boot; { Wrap.ar(SinOsc.ar(440, 0, 0.2), -0.15, 0.15) }.scope; ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/HelpSource/Classes/Wrap.schelp link::Classes/Wrap::

  9. SynthDefAutogui Doc

    ... open autogui in one line SynthDef(\test, { arg out = 0, freq = 100; Out.ar(out, SinOsc.ar(freq)) }).add.autogui; // Attach to a running Synth x = Synth(\test).autogui; // No scope x = Synth(\test).autogui(scopeOn: false); // With custom Con ...

  10. Fragment IX by coreyker (coreyker) Code

    ... dd; SynthDef(\bassSynth, { |freq, amp=1, timeScale=1, outbus=20| var m1 = SinOsc.ar(8, mul:freq*(1-(2**(0.2/12))), add:freq); var m2 = SinOsc.ar(2, mul:0.5, add:0.75); var e = EnvGen.ar(Env([0, 1, 0.05, 0], [0.1, 1, 1], [1,-2,-4]) ...

prev 121 122 123 124 125 126 127 128 129 130 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow