Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... n in block 1 called rave sn 1 textures //synth in block 1 called textures sn 1 {SinOsc.ar(440)} //create temp synth def pn 1 Pbind(\note, [1,3,4]) //create temp pattern routing blk 1 -> pln 1 blk 4 //creates 4 blocks (ndefs) to put synths/p ...

  2. GMTapTempo Doc

    ... ]) * 48.midicps; SynthDef(\GMhelp, { |out = 0, amp = 0.1, freq = 440| var snd = SinOsc.ar(freq, mul: amp); snd = snd * EnvGen.kr(Env.perc); Out.ar(0, snd!2); }).add; tapTempoButton = GMTapTempo() .bpm_(60 * clock.tempo) .action_({ |bpm| if( ...

  3. LPCAnalyzer Doc

    ... MouseX.kr(1,256)).dup(2) }.play ) ( { var input,source; input= Resonz.ar(Saw.ar(SinOsc.kr([0.1,0.11],500,600)),LFNoise1.kr(LFNoise1.kr(4,3.5,7),700,2500),LFNoise2.kr(0.5,0.3,0.4)); source= SoundIn.ar; LPCAnalyzer.ar(input,source, 64,MouseX. ...

  4. HilbertHIm Doc

    ... .sampleRate; // in seconds freq = dur.reciprocal; { // imaginary HilbertHIm.ar( SinOsc.ar(freq, pi/2), // cosine test, one cycle over fftbuffer size size: size); }.loadToFloatArray(overSample * dur, s, { |arr| defer { arr = arr.copyRange(st ...

  5. SuperColliderAU Doc

    ... ng // Now let's create a quick ring-modulator effect: z = { SoundIn.ar([0,1]) * SinOsc.ar(MouseX.kr(100, 1000)) }.play(u); ⧉ ✔ Inside the bundle As an AudioUnit plugin, SuperColliderAU is packaged in a component bundle. All the files needed ...

  6. Done Doc

    ... thDef("Done-help", { |out, t_trig| var line, a, b; line = Line.kr(1, 0, 1); a = SinOsc.ar(440, 0, 0.1*line); // sound fading out b = WhiteNoise.ar(Done.kr(line)*0.1); // noise starts at end of line Out.ar(out, Pan2.ar(a+b)); }).add; ) Synth ...

  7. OFX_Chain Doc

    ... in a filter, 'in' is the signal on the bus in.asArray[0] // force mono inputs * SinOsc.ar(LFNoise0.kr([randrate, randrate]).exprange(300, 3000)).sum }, \comb, \filterIn -> { |in, decay = 3| CombL.ar(in, 0.02, [0.03, 0.042], decay) }, \ampFi ...

  8. NearestN Doc

    ... ; // distances Out.kr(~foundbus, findices); Out.kr(~mousebus, mouse); Out.ar(0, SinOsc.ar((findices * 2 + 60).midicps, 0, fdistsq.explin(1e-6, 1, 0.5, 0)).sum); }.play; ~updater = Task{loop{ ~foundbus.getn(3, {|data| ~nearests = data.asInte ...

  9. RedMixer Doc

    ... all a.free b.stop //--save and recall settings a= RedMixer(#[20, 30, 40]); b= {SinOsc.ar([400, 404], 0, 0.5)}.play(outbus: 20); c= {PinkNoise.ar(0.5!2)}.play(outbus: 30); d= {WhiteNoise.ar(0.1!2)}.play(outbus: 40); a.lag= 2 a.mixer.bal= 0. ...

  10. How-to-Use-the-Interpreter Doc

    ... erver window for the result // once that's done execute this to make a sound { FSinOsc.ar(800, 0, 0.1) }.play; ⧉ ✔ (Press and hold Cmd (the Apple key) and then press period to stop the sound started above.) In the help files all executable ...

prev 81 82 83 84 85 86 87 88 89 90 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow