Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... ([Color.black, Color.green, Color.blue]); ) ( // use input amplitude to control SinOsc frequency { SinOsc.ar( Amplitude.kr( Blip.ar(3, 20) * LFNoise1.kr(0.1).range(0, 1), MouseX.kr(0.001, 1, 1), MouseY.kr(0.001, 1, 1), 1200, 400 ), 0, 0.3) ...

  2. AlgaMonoPattern Doc

    ... 05, 0.1, 0.5], inf), dur: 0.5 )); //The AlgaNode to modulate ~sine = AlgaNode({ SinOsc.ar(\freq.kr(440)) }, [\freq, ~seq]).play(2); }); ) //Audio rate manipulation ( Alga.boot({ //Mono sequencer featuring AlgaTemps modulating at audio rate ...

  3. Dshuf Doc

    ... rig = Impulse.kr(MouseX.kr(1, 40, 1)); freq = Demand.kr(trig, 0, a) * 30 + 340; SinOsc.ar(freq) * 0.1 }.play; ) // audio rate ( { var a, freq, trig; a = Dseq([Dshuf({ 10.rand } ! 81, 5)], inf).poll; trig = Impulse.ar(MouseX.kr(1, 10000, 1)) ...

  4. AlgaTemp Doc

    ... AlgaNode //AlgaTemp can also be used as an 'arg' ( Alga.boot({ a = AlgaNode( { SinOsc.ar(\freq.kr(220) + \fm.ar) }, [\fm, AlgaTemp({ LFNoise2.ar(1000) }, scale: [-200, 880])] ).play(chans: 2); }); ) //Using a new AlgaTemp a.from(AlgaTemp({ ...

  5. MarkovSynth Doc

    ... ce methods Examples // Table size of 1 reflects the input. x = { MarkovSynth.ar(SinOsc.ar(), 1, 2, 1); }.play; x.free; // Table size of 2, keep it running for a while. x = { MarkovSynth.ar(SinOsc.ar(), 1, 2, 2); }.play; x.free; // Table siz ...

  6. EaseOverview Doc

    ... EaseInOutQuad.(t)}.plot; //--similar in sclang and inside synthdefs s.boot c= {SinOsc.ar(EaseInOutExpo.kr(MouseX.kr)*500+500, 0, 0.1)}.play c.free a.collect{|x| EaseInOutExpo.(x)}.plot //--rates are flexibe when used inside synthdefs c= {S ...

  7. PV_Mul Doc

    ... ( SynthDef("help-mul", { |out = 0| var inA, chainA, inB, chainB, chain ; inA = SinOsc.ar(500, 0, 0.5); inB = SinOsc.ar(Line.kr(100, 400, 5), 0, 0.5); chainA = FFT(LocalBuf(2048), inA); chainB = FFT(LocalBuf(2048), inB); chain = PV_Mul(chai ...

  8. Exercise_09_HOA_interfacing_VBAP_and_Ambisonics Doc

    ... r = 0| var source, lbedev50, order5Sig ; source = PinkNoise.ar(10); // source = SinOsc.ar(440.0); lbedev50 = VBAP.ar(50, source, b.bufnum, MouseX.kr(-180, 180), MouseY.kr(-90, 90), spr); order5Sig = HOAEncLebedev50.ar(5, lbedev50, gain: 0, ...

  9. Level_Compensation Doc

    ... s.meter; s.scope; n = 10; // 10 chans to 1, fully coherent in-phase signals: { (SinOsc.ar ! n) }.plot; { (SinOsc.ar ! n).sum }.plot; // sum : +-10 // equal amplitude: divide by number of channels -> peak 1 { (SinOsc.ar ! n).sum / n }.plot; ...

  10. NamedControl Doc

    ... Examples // use NamedControl to create a number of multichannel controls: a = { SinOsc.ar(NamedControl.kr(\freq, [300, 330, 370], [1, 0.3, 0.02])).sum * 0.1 }.play; a.setn(\freq, [700, 705, 890]); a.setn(\freq, [0, 2, 5].midiratio * 400); / ...

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow