Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... ecute this and then press the 'j' key ( w.front; // something safe to type on { SinOsc.ar(800, 0, KeyState.kr(38, 0, 0.1)) }.play; ) ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/HelpSource/Classes/KeyState.schelp link::Classes/KeySta ...

  2. NL Doc

    ... ficients c=Buffer.sendCollection(s, a, 1); d=Buffer.sendCollection(s, b, 1); ) {SinOsc.ar(MouseX.kr(440,1760),0,0.2)}.play //without {NL.ar(SinOsc.ar(MouseX.kr(440,1760),0,0.5),c.bufnum, d.bufnum).clip2(1.0)}.play //with ( a=[0,0.02,1, 1,-0 ...

  3. ExampleFiles Doc

    ... ampleFiles. sinedPink A very short stereo sample which has 10 cycles of a 440Hz SinOsc on its first channel and a PinkNoise on its second channel. Filename SinedPink.aiff Channels 2 Samplerate 44100 Hz Format pcm_f32be Duration 00:00:00.02 ...

  4. BFEncodeSter Doc

    ... #w, x, y, z = BFEncodeSter.ar( PinkNoise.ar(Decay.ar(Impulse.ar(2, 0, 0.25))), SinOsc.ar(440, 0, Decay.ar(Impulse.ar(2, 0.5, 0.25))), MouseY.kr(0, pi), // center position of image MouseX.kr(0, pi) // width ); Out.ar(0, B2Ster.ar(w, x, y)) ...

  5. 19_Scheduling Doc

    ... n 0 and 24 // carPartial :: modPartial => car/mod ratio var mod; var car; mod = SinOsc.ar( freq * modPartial, 0, freq * index * LFNoise1.kr(5.reciprocal).abs ); car = SinOsc.ar( (freq * carPartial) + mod, 0, mul ); Out.ar( bus, car * EnvGen ...

  6. SynthSnapshot Doc

    ... instance methods Examples fork { SynthDef(\outputTest, { |out, freq| var sig = SinOsc.ar(freq, 0, 0.1); Out.ar(out, sig) }).add; ~synths = 10.collect { |i| Synth(\outputTest, [ \out, [0, 1, 2, 3].choose, \freq, 400.rand ]); }; 1.wait; Tree ...

  7. FFTCrest Doc

    ... nd pure tone with the mouse var in, chain, crest; in = XFade2.ar(WhiteNoise.ar, SinOsc.ar, MouseX.kr(-1,1)); chain = FFT(b.bufnum, in); Out.ar(0, in.dup * 0.1); crest = FFTCrest.kr(chain); Out.kr(0, crest.poll(10, "crest")); }.play; ) ( { / ...

  8. 032-wave_synth2 Doc

    ... sis SynthDef(\sine, {|out= 0, freq= 400, beat= 1, amp= 1, pan= 0| var z; z= Mix(SinOsc.ar(freq+[0, beat], Rand(0, 2pi), amp*0.5)); Out.ar(out, Pan2.ar(z, pan)); }).add; SynthDef(\saw, {|out= 0, freq= 400, beat= 1, amp= 1, pan= 0, lp= 1000| ...

  9. RMS Doc

    ... tance methods Examples Simple example // analyse a signal { var sig, rms; sig = SinOsc.ar(300, 0, MouseX.kr(0, 1)) * LFPulse.ar(1, 0.5); rms = RMS.ar(sig, 10).poll; [sig, rms] }.scope; ⧉ ✔ More complex usage example adapted from a Pd patch ...

  10. Pbrown Doc

    ... EnvGen.kr(Env.perc(0.01, sustain, 0.2), doneAction: Done.freeSelf); Out.ar(out, SinOsc.ar(freq, 0, env)) }).add; ) ( var a; a = Pbrown(0.0, 1.0, 0.1, inf).asStream; { loop { Synth(\help_sinegrain, [\freq, a.next * 600 + 300]); 0.02.wait; } ...

prev 61 62 63 64 65 66 67 68 69 70 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow