Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (317) Code (69) Doc (87) Help (34) Quark (127) SCDoc ↗ Forum ↗ Google ↗
  1. HS Doc

    ... [ \midinote, Pkey(\val) ]).play; // also: // p = PHS(h, [], 0.15, [ \midinote, Pfunc { |e| e.use { ~val } } ]).play; // stop allows resuming, cleanup with free or Cmd-. p.stop; // HS synth still playing p.play; // resume the PHSplayer p.st ...

  2. Scale Doc

    ... egree, Pseq([0, 1, 2, 3, 4, 5, 6, 7, 6, 5, 4, 3, 2, 1, 0, \rest], inf), \scale, Pfunc({ a }, inf), \dur, 0.25 ); q = p.play; }) ) // change scale a = Scale.phrygian; // change tuning a.tuning_(\just); // can also set tuning at creation time ...

  3. PLbindef Doc

    ... xo, PLseq([0, 0, 1, 2]), // echo introduces delay, so do delay if no echo \lag, Pfunc { |e| e.fxo.asArray.includes(1).if { 0 }{ 0.2 } }, \a, 0.1, \att, 0.01, \rel, 0.1, \cd, Pkey(\att)+ Pkey(\rel) + 0.001 ); PLbindef(\echo, \fx, \echo, \dta ...

  4. PG_Cookbook08_Swing Doc

    ... ], 1), \dur, Pwhite(1, 3, inf) * 0.25 ), (swingBase: 0.25, swingAmount: 0.2) ), Pfuncn({ q.stop; Event.silent(1) }, 1) ]) ]).play; ) ⧉ ✔ Swing should not apply to triplets. Note that the rhythmic value 1/6 introduces floating-point rounding ...

  5. Guide_to_HS_and_HSpar Doc

    ... / PHSuse by the local variable ~val , e.g. by Pkey(\val) or a construction with Pfunc . In the case of several help synths (HSpar), there is the option of defining a separately timed pattern to switch between playing help synths, always mar ...

  6. Symbol Doc

    ... et Math applyTo Synthesis kr ar ir tr sVarGui pVarGui sVarGuiSpecs pVarGuiSpecs pfuncPbinds Extensions by wslib asNote Inherited instance methods Undocumented instance methods * + ++ - / < <= '>> ='>>= abs acos ampdb archiveAsCompileString ...

  7. PwarpDur Doc

    ... > 0) { player = Pn(Plazy { Pbind( \degree, Pn(Pseries(-7, 1, 16), inf), \step, Pfunc { |ev| step = ev[\degree] + 7; { plot.refresh }.defer(s.latency); }, \dur, PwarpDur(0.25, 4, curve, midpt, 1) ) }, inf).play; } { player.stop; step = nil; ...

  8. Tdef Doc

    ... _grainlet, Ppar([ Pbind( \dur, Tdef(\z), \note, Pseq([1, 3, 2, 1, 0], inf), \x, Pfunc { TempoClock.default.elapsedBeats.postln } // posts the onset times ), Pbind( \dur, 4, // reference beat \sustain, 0.1, \note, 8 ) ]) ).play(quant: 1); ) ...

  9. PHSpar Doc

    ... (\switchIndex).collect(switch(_, 0, [0, 2.5], 1, [0, 7])), \legato, 0.2, \post, Pfunc {|e| e.use { "demandIndex: ".post; ~demandIndex.postln; "timeGrains: ".post; ~timeGrains.postln; "dur: ".post; ~dur.postln; "switchIndex: ".post; ~switchI ...

  10. Ndef Doc

    ... 2, 0, SinOsc.kr(2 * 3).max(0) * 0.2) }); Ndef(\sound, Pbind(\dur, 0.17, \freq, Pfunc({ rrand(300, 700) }))); Ndef(\lfo, { LFNoise1.kr(3, 400, 800) }); Ndef(\sound).map(\freq, Ndef(\lfo)); Ndef(\sound, { |freq| SinOsc.ar([600, 635] + freq, ...

prev 1 2 3 4 5 6 7 8 9 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow