Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (5475) Code (807) Doc (1945) Help (663) Quark (2016) Plugin (44) SCDoc ↗ Forum ↗ Google ↗
  1. TestEvent Quark

    ... ncy: 0, finish: { finishTest = true } ); var i, msg1, finishTest = false; var isPlaying; SynthDef(\xxx_test, { |freq, zzzz, gate = 1| }).add; this.assert(SynthDescLib.global.at(\xxx_test).canFreeSynth.not, "SynthDesc detects that Synth can' ...

  2. Pmsyn Doc

    ... lug(\modAtkEnv, [value: freq, ratio: 8], map: (freq: \value)) }, \dur, 0.25 ) ).play; ) p.stop; // PmonoArtic retriggers at the beginning of each slurred group ( p = Pmsyn( PmonoArtic(\default, \freq, Pexprand(300, 900, inf), \freqPlug, { | ...

  3. SoundIn Doc

    ... s most expensive patchcord (use headphones to avoid feedback) { SoundIn.ar(0) }.play; // stereo version { SoundIn.ar([0, 1]) }.play; // scope input; silent output { Amplitude.kr(SoundIn.ar(0)) }.scope; ⧉ ✔ helpfile source: /usr/local/share/ ...

  4. PanAmbi3O Doc

    ... ( PanAmbi3O.ar(sound, MouseX.kr(-pi, pi), MouseY.kr(-pi, pi)), '1_4_7_4' ) ); }.play; ) // a ProxySpace example p = ProxySpace.push; ~test = { EnvGen.kr(Env.adsr, Impulse.kr(3)) * PinkNoise.ar(0.8); }; ~enc = { PanAmbi3O.ar(~test.ar, MouseX ...

  5. TBrownRand Doc

    ... (10); SinOsc.ar( TBrownRand.kr(300, 3000, 1.0, MouseX.kr(0, 5), trig) ) * 0.1 }.play; ) ( { var trig = Dust.kr(10); Pan2.ar( SinOsc.ar(LinExp.kr(TBrownRand.kr(dev:0.2, trig:trig), 0, 1, 300, 3000)), TBrownRand.kr(-1.0, 1.0, 1.0, 4, trig), 0 ...

  6. startup_example_simpleJIT Quark

    ... close }; q.pdg = PdefAllGui(16).moveTo(420, 600); 1.wait; Env.perc.test; // and play a test sound if you like "setup done.".postln; }); Task({ 1.wait; // wait till quit has happened - make longer if needed. s.boot; // boot again }).play(App ...

  7. PSPdiv Quark

    ... ynKlank .ar(`[freq * (1..8), amp * (8..1)/8, ringtime * (1!8)], source); sig = Splay .ar(sig); OffsetOut .ar(0, Balance2 .ar(sig[0], sig[1], pan) * EnvGen .ar( Env .perc(att, rel), doneAction: 2)) }).add; ) ( // base pattern, no need to pro ...

  8. Fhn2DL Doc

    ... 2DL.ar(220,800,0.3,0.3,0.6,0.8,LFPulse.kr(MouseX.kr(1, 10, 1), 0, 0.1)),0.0)) }.play ( SynthDef(\fhn, {|out=0, pan=0, amp=0.1| var sig; sig=Fhn2DL.ar(110, 22050, TExpRand.kr(0.001, 0.2, Dust.kr(8)), TExpRand.kr(0.001, 0.2, Dust.kr(13)), TRa ...

  9. Fhn2DC Doc

    ... 2DC.ar(220,800,0.3,0.3,0.6,0.8,LFPulse.kr(MouseX.kr(1, 10, 1), 0, 0.1)),0.0)) }.play ( SynthDef(\fhn, {|out=0, pan=0, amp=0.1| var sig; sig=Fhn2DC.ar(110, 22050, TExpRand.kr(0.001, 0.2, Dust.kr(8)), TExpRand.kr(0.001, 0.2, Dust.kr(13)), TRa ...

  10. PLshufn Quark

    ... ; // prepare Environments e = (a: (67..72)); f = (a: (77..82)); ) e.use { x = p.play(quant: 0.2) }; f.use { y = p.play(quant: 0.2) }; // replace array elements ... e.a[0] = 97; f.a[0] = 98; // ... or arrays ( e.a = [80, 81]; f.a = (70..73); ...

prev 191 192 193 194 195 196 197 198 199 200 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow