Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... n. HilbertH is built with DelayN and Convolution2 . Method *arSSB also includes SinOsc . Class Methods . ar The Hilbert Transform, returning two signals in phase-quadrature . Considered as a complex analytic signal , 3 the first may be rega ...

  2. Spring Doc

    ... force, k, d); freq = outforce * 400 + 500; // modulate frequency with the force SinOsc.ar(freq, 0, 0.2) }.play; ) // several springs in series. // trigger gate is mouse button // spring constant is mouse x // mouse y controls damping ( { va ...

  3. 07_SynthDefs Doc

    ... me of the synthdef { // the ugenGraphFunc with actual code arg freq; Out.ar( 0, SinOsc.ar(freq, 0, 0.1) ) } ).load(s); ) ⧉ ✔ The .load message and the variable 's' The .load message writes synthdefs to disk and also sends them to the defaul ...

  4. Resonator Doc

    ... , freq: TExpRand.kr(25.0,250.0,trig), position: 0.0, resolution: 24, structure: SinOsc.kr(0.01).unipolar, brightness: SinOsc.kr(0.01, 0.5*pi).unipolar * 0.5, damping: TRand.kr(0.2,0.8, trig) ); // Limiter sig = sig.tanh; Pan2.ar(sig, pan); ...

  5. SynthDef Doc

    ... same for every Synth based on it: ( SynthDef(\help_notRand, { |out| Out.ar(out, SinOsc.ar(rrand(400, 800), 0, 0.2) * Line.kr(1, 0, 1, doneAction: Done.freeSelf) ) }).add; ) a = Synth(\help_notRand); b = Synth(\help_notRand); // the same fre ...

  6. Interpreter Doc

    ... ing and the interpreter itself. // silly but simple: understand a Saw for every SinOsc this.preProcessor = { |code| code.replace("SinOsc", "Saw") }; { SinOsc.ar(200) * 0.1 }.play; preProcessor = nil; // reset to nil. ⧉ ✔ . a . a = value . b ...

  7. MatchingP Doc

    ... ces, magnitudes, resynth, delayedson; // Try one of these: son = Pulse.ar(200 * SinOsc.kr(0.3).exprange(0.9, 1.1)); //son = PinkNoise.ar * LFPulse.kr(1); //son = (PlayBuf.ar(~dictsize, ~dict, MouseX.kr(0.1, 2, 1). loop: 1) * ([0.1, 0.3, 0.5 ...

  8. Dbufwr Doc

    ... ], inf) * 60, b, writepos); Demand.kr(writetrig, 0, write); // write on trigger SinOsc.ar( Demand.kr(Impulse.kr(16), 0, read).lag(0.01) * [1, 1.01] ) * 0.1 }.play; ) // write into buffer with mouse clicks ( { var val = MouseY.kr(1000, 200, ...

  9. PlayerMixer Doc

    ... ically add, replace or remove players ( Instr(\testSine,{arg freq=1000,mul=0.1; SinOsc.ar(freq,0,mul)}); a=PlayerMixer([ Patch(\testSine,[400,0.1]), Patch(\testSine,[800,0.08]), Patch(\testSine,[1600,0.06]) ]); ) a.play; a.addPlayer(Patch(\ ...

  10. ScampUtils Doc

    ... = EnvGen.ar(Env.asr(releaseTime:0.5), gate, doneAction: 2); var vibHalfSteps = SinOsc.ar(vibFreq) * vibWidth; var vibFreqMul = 2.pow(vibHalfSteps / 12); var vibSine = SinOsc.ar(freq * vibFreqMul) * volume / 10; Out.ar(out, (envelope * vibS ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow