Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1070) Code (249) Doc (326) Help (124) Quark (363) Plugin (8) SCDoc ↗ Forum ↗ Google ↗
  1. TWindex Help

    ... ynthDef ( "help-TWindex" ,{ arg w1=0.0, w2=0.5, w3=0.5; var trig, index; trig = Impulse .kr(6); index = TWindex .kr(trig, [w1, w2, w3]); Out .ar(0, SinOsc .ar( Select .kr(index,[400, 500, 600]), 0, 0.2 ) ) }).play; ) a.setn(0, [0,0,1].norma ...

  2. DNoiseRing Doc

    ... s methods Instance Methods Inherited instance methods Examples Plot { Demand.ar(Impulse.ar(1000), 0, DNoiseRing(change: 0.1, numBits: 32)) * (2**32).reciprocal }.plot(1) ⧉ ✔ Plain 32bit value scaled to 0..1 and out of the speaker {Demand.ar ...

  3. GravityGrid2 Doc

    ... 2,1.0.rand2,rrand(0.1,1.0)]}).flatten)); //set weights {Pan2.ar(GravityGrid2.ar(Impulse.kr(1),MouseX.kr(0.1,1,'exponential'),LFNoise0.kr(1,0.8),LFNoise0.kr(1,0.8), b.bufnum),0.0)}.play ( var n; n=rrand(1,20); //random number of masses b.set ...

  4. Dunique Doc

    ... ed between several series: { var x = Dseq([0, 1, 2, 3, 4, 5], inf); { Demand.ar(Impulse.ar(1/rrand(0.001, 0.0015)), 0, x) } ! 3 }.plot; // using a Dunique, each series iterates through the same values { var x = Dunique(Dseq([0, 1, 2, 3, 4, ...

  5. SynthOut Doc

    ... freq=[1501,1502]; var sig=SinOsc.ar(freq,0,SinOsc.ar([1,1.1],0,0.1)); var trig=Impulse.ar(10); var amp=Amplitude.ar(sig); trig.set(\ampl,amp[0]); trig.set(\ampr,amp[1]); trig.set(\amp,amp); trig.set(\freq,freq); Out.ar(0,sig) }).add; s.syn ...

  6. That Doc

    ... .0, ), feedback: LFNoise0.kr([1.5, 2.0]) )*EnvGen.kr( envelope: Env.perc, gate: Impulse.kr(LFNoise1.kr([1.2, 1.0], add: 0.7)) )*0.5; }).play; ) // we can use contsructors of That which analyse of specific // parameters, e.g. the amplitude ( ...

  7. SubsampleOffset Help

    ... polation Server .default = s = Server .internal; // switch servers for scope // impulse train that can be moved between samples ( SynthDef ( \Help_SubsampleOffset , { |out, addOffset| var in, dt, sampDur, extraSamples, sampleOffset, resampl ...

  8. music for airports inspired generative music by infinitedigits (infinite digits) Code

    ... ime=0.1; // chord and note changes (random) planenotechange=Dust.kr(1/30)+Impulse.kr(0); planeenv=1-EnvGen.kr(Env.perc(3,10,0.9),planenotechange); planenotes=Demand.kr(TDelay.kr(planenotechange,3),0,Dxrand(planes,inf)); notepuls ...

  9. Convolution2 Help

    ... ); }); ) ( SynthDef ( \conv_test , { arg kernel, t_trig = 0; var input; input = Impulse .ar(1); // must have power of two framesize Out .ar(0, Convolution2 .ar(input, kernel, t_trig, 2048, 0.5)); }).add ) x = Synth ( \conv_test , [ \kernel ...

  10. FreeVerb Help

    ... c , { |mix = 0.25, room = 0.15, damp = 0.5| Out .ar(0, FreeVerb .ar( Decay .ar( Impulse .ar(1), 0.25, LFCub .ar(1200,0,0.1)), // mono src mix, // mix 0-1 room, // room 0-1 damp // damp 0-1 duh ) ! 2 //fan out... ); }).play ) z.set( \room , ...

prev 21 22 23 24 25 26 27 28 29 30 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow