Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... unter + 1; }); }; }); ^[Ptpar(demandPatternArgs), Ptpar(receivePatternArgs)]; } play { |clock, quant| var warnMsg = "No PHSplayer - " ++ "Playing a PHSuse needs a PHS being played\n"; helpSynth.isPHSplaying.not.if { warnMsg.warn; }{ ^PHelpS ...

  2. click clack toot // fm-grains by lf0 (_Lf0) Code

    ... = Array.fill(i,{1/i}); a.sine1(b); ~arrays.add(a); } }.play; 0.5.wait; SynthDef(\mainOut, { arg gate,amp,ffreq=24000,q=0,dist=1; var in,mix,out; in = In.ar(~main,2); mix = in* ...

  3. LeastChange Doc

    ... LFNoise0.ar(800, amp); in2 = SinOsc.ar(800); LeastChange.ar(in1, in2) * 0.1; }.play; ) d.set(\amp, 0.1); d.set(\amp, 0); d.set(\amp, 3); d.free; ⧉ ✔ the control that changed least is used as output: ( d = { |freq = 440| var internalFreq; i ...

  4. Pclump Doc

    ... e [3]). x = Pclump(2, Pseq([1, 2, 3], 1)).asStream; x.next; x.next; x.next; ⧉ ✔ Play some random chords: Pbind( \degree, Pclump(Pseq([3, 3, 4, 2, 4, 2, 4], inf), Pseq([1, 3, 5, 7, 9], 8), inf), \dur, 1).play ⧉ ✔ helpfile source: /usr/local/ ...

  5. ndef-menu-choice Quark

    ... ? q.ndefs = q.ndefs.put(slotIndex, choiceNdef); q.ndefs[slotIndex].set(\amp, 0).play(vol: 0.25); //////////// GUIGUIGUI ///////// q.ndefs.do { |ndef, i| // in 0_inphlux - needed? q.inphGui.attachToButton(i, ndef); }; q.ndefGuis.do { |g, i| ...

  6. NTMI_flat_krak_auto Quark

    ... scar.makeServer; // activate flatcat simulation defer ({ Tdef(\flatcatSim).stop.play }, 1); // stop this tdef from unintended self-looping (happens sometimes) Tdef(\allLEDs).clear; // NetLib quark has this: NetAddr.myIP // nUFO NTMI network ...

  7. Rotate2 Doc

    ... r(4, w, x, y); [a, b, d, c] // reorder to my speaker arrangement: Lf Rf Lr Rr }.play; ) // Rotation of stereo sound: ( { // rotation via lfo var x, y; x = PinkNoise.ar(0.4); y = LFTri.ar(800) * LFPulse.kr(3, 0, 0.3, 0.2); #x, y = Rotate2.ar ...

  8. Limiter Doc

    ... ethods Inherited instance methods Examples ( // example signal to process Synth.play({ var z; z = Decay2.ar( Impulse.ar(8, LFSaw.kr(0.25, -0.6, 0.7)), 0.001, 0.3, FSinOsc.ar(500)); }, 0.8) ) ( Synth.play({ var z; z = Decay2.ar( Impulse.ar(8 ...

  9. Runner Quark

    ... (g.nv-1, g.nv-1, 2.0.rand) ; r.addAndSetup(g.nv-1).start(r.na-1) ; 1.wait }) }).play( SystemClock ) ; ) // adding some noise. You can evaluate while routine is working h = Sinusoider .new(r) ; r.gui ; // if want to see what's going on ///// ...

  10. Select Doc

    ... ze * 0.5; Out.ar(out, Select.ar(LFSaw.kr(1.0, 0.0, cycle, cycle), a) * 0.2 ) }).play; ) // Here used as a sequencer: ( SynthDef("help-Select-2", { |out = 0| var a, s, cycle; a = Array.fill(32, { rrand(30, 80) }).midicps; a.postln; cycle = a ...

prev 211 212 213 214 215 216 217 218 219 220 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow