Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1066) Code (141) Doc (212) Help (64) Quark (645) Plugin (4) SCDoc ↗ Forum ↗ Google ↗
  1. UGen Doc

    ... l range exprange curverange unipolar bipolar degrad raddeg clip fold wrap blend lag lag2 lag3 lagud lag2ud lag3ud varlag slew degreeToKey minNyquist snap softRound linlin linexp explin expexp lincurve curvelin bilin prune checkBadValues if ...

  2. Dbufwr Doc

    ... g, 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, 1); // cursor y pos controls frequency var pos ...

  3. 061-angents-gol_synth Doc

    ... 0, beat= 1, amp= 1, pan= 0| var z; z= SinOsc.ar(freq+SinOsc.ar(40, 0, beat), 0, Lag.kr(amp, 0.02)); Out.ar(out, Pan2.ar(z, pan)); }).add; s.sync; //--world w= RedWindow("agents test ca2", Rect(128, 64, width, height)).front; wgrav= RedVecto ...

  4. Crest Doc

    ... you can simply use ampdb to convert the data. You may also wish to add a slight lag to the values you produce, if your window is short and/or your signal includes strong low frequencies, because the phase of the signal may affect the result ...

  5. 11 Doc

    ... }).add; SynthDef("secondNode-filter", { ReplaceOut.ar( 0, LPF.ar( In.ar(0, 2), Lag.kr( LFNoise0.kr([4, 4.001], 500, 1000), 0.1 ) ) ) }).add; ) // "firstNode-source"は最初に実行されなければならない // もし "secondNode-filter"が先に評価されれば、"firstNode-source"はそれを通 ...

  6. ModalityTutorial Doc

    ... mple SynthDef and Synth: ( SynthDef(\blippy, { var snd = Blip.ar( \freq.kr(440).lag(0.1), \numHarmonics.kr(100), \amp.kr(1.0).lag(0.1) ) * 0.5; Out.ar(0, Pan2.ar(snd, \pan.kr(0).lag(0.1) ) ) }).add ); //start the synth by hand first z = Syn ...

  7. CCIn Doc

    ... um CC number, 0 to 127. spec A Spec, i.e. \freq, \amp, [5, 50], [1, 100, \exp]. lag lag3 time, default is 0.05. Examples // simple example m = CCIn.new; // listen to all midi in ports and all midichannels x = {SinOsc.ar(m.kr(0, 0, \freq), 0 ...

  8. ReplaceBadValues Doc

    ... with kr signals ( x = { arg freq = 440; var safeFreq = ReplaceBadValues.kr(freq.lag(0.2), 666).poll; SinOsc.ar(safeFreq, 0, 0.1); }.play; ) // x.set(\freq, inf); // create bad freq value inf -> replaces with 666 x.set(\freq, 330); // and go ...

  9. LoopBuf Doc

    ... e=1, loopRel=0, startPos=0, startLoop, endLoop, ipol=2; var env, signal; rate = Lag.kr(rate, glide); env = EnvGen.ar(Env.adsr(0.1,0.2,1,2), gate, doneAction: 2); signal = LoopBuf.ar(1,bufnum, BufRateScale.kr(bufnum) * rate, gate+loopRel, st ...

  10. TPV Doc

    ... = Amplitude.kr(input); //threshhold = 0.001; // noise gating threshold //gate = Lag.kr(inputAmp > threshhold, 0.01); //in = input * gate; fft = FFT(LocalBuf(1024, 1), in, wintype:1); output = TPV.ar(fft, 1024, 512, 50, 50, 1.0, 4, 0.2); // ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow