Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (285) Code (19) Doc (91) Help (18) Quark (156) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. follow_point Quark

    ... = maxSpeed * ControlDur.ir; maxRotation = maxRotation * (1/180pi); initPoint = DC.kr( point ); #x,y,angle = LocalIn.ar(3); fp = initPoint + [x,y]; delta = (point - fp).asPoint.asPolar; delta.rho = delta.rho.min( maxSpeed ); delta.theta = i ...

  2. AnalogIn Doc

    ... .sc See also: AnalogOut , DigitalIn , DigitalOut , DigitalIO Description Read a DC-coupled analog input connected to a sensor (e.g.: a potentiometer or CV in). NOTE: This UGen only works on Bela Class Methods AnalogIn. ar ( analogPin: 0 , m ...

  3. RedLFSR4 Doc

    ... //just post the values {var trig= Impulse.ar(4); RedLFSR4.ar(trig).poll(trig); DC.ar(0)}.play; //sounding example {var trig= Impulse.ar(MouseX.kr(1, 100, 1)); SinOsc.ar((RedLFSR4.ar(trig)+60).midicps, 0, 0.3)!2}.play; //language side b= 2r ...

  4. circle_trajectory Quark

    ... , radius = #[10.0,10.0], u_startPos = 0| var circle; u_startPos = (u_startPos * DC.kr( speed ) * 2pi).wrap(0,2pi); circle = SinOsc.kr( speed * clockwise.linlin(0,1,-1,1), [ 0, 0.5pi ] + startAngle + u_startPos, radius, center ); UMapOut.kr( ...

  5. Level_Compensation Doc

    ... panning: when panned to the center, both signals are at 0.7, or -3 dB { Pan2.ar(DC.ar(1), Line.kr(-1, 1, 0.1)) }.plot(0.1); // loudness seems constant when panning { Pan2.ar(PinkNoise.ar(0.2), SinOsc.kr(0.3)) }.play; ⧉ ✔ LinPan2 uses equal ...

  6. AssemblageRecording Quark

    ... cs ++ ", " ++ headerFormat.cs ++ ", " ++ sampleFormat.cs ++ ", 0, 0, true);").radcode; }; }); } startRecording {var recTracks; recStates.do({|item, index| if(item == 1, { recTracks = recTracks.add(("space" ++ mixTrackNames[index].asString.c ...

  7. UGen-Changelog Doc

    ... e audio-rate { InRect.ar(0, 0, Rect(0,1,0,1)) } // accepted in both { InRect.ar(DC.ar(0), DC.ar(0), Rect(0,1,0,1)) } ⧉ ✔ LFUGens Fixed init sample calculation. Fixes initial phase output: it used to miss the first sample. { LFPulse.ar(Sampl ...

  8. Logistic Help

    ... in the range of 0.0 to 1.0 for normal values of the chaosParam. This leads to a DC offset, and may cause a pop when you stop the Synth. For output you might want to combine this UGen with a LeakDC or rescale around 0.0 via mul and add: see ...

  9. ringz Quark

    ... = 0.001, decayTime = 1, amp = 0.1| var sig, scaledValue; scaledValue = (value - DC.kr( value )); sig = Formlet.kr( scaledValue, freq, attackTime, decayTime ) * amp; sig = (sig + value).clip(0,1); UMapOut.kr( sig ); }) .setSpec( \freq, FreqS ...

  10. ringz Quark

    ... = 0.001, decayTime = 1, amp = 0.1| var sig, scaledValue; scaledValue = (value - DC.kr( value )); sig = Formlet.kr( scaledValue, freq, attackTime, decayTime ) * amp; sig = (sig + value).clip(0,1); UMapOut.kr( sig ); }) .setSpec( \freq, FreqS ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow