Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (572) Code (144) Doc (154) Help (54) Quark (220) SCDoc ↗ Forum ↗ Google ↗
  1. scm_synthdef_autoload Quark

    ... okenspiel ( Pbind( \instrument, \bell, \fs, Pseq( (60..20), inf).midicps, \t60, Pwhite(1, 100), \dur, 1 ).play; ) // xilophone ( Pbind( \instrument, \bell, \fs, Pseq( (80..92), 1).midicps, \t60, 1, \pitchy, 1, \dur, 0.25 ).play; ) // marimb ...

  2. chord-vc Quark

    ... a - data.mean }, argPairs: { |thisVC| Pbind( \ratios, (BPStream(\ratioBase) + ( Pwhite( thisVC.v.globalControls[\pRandWidth].asPattern.neg, thisVC.v.globalControls[\pRandWidth].asPattern, inf ) * Pn(Pgeom.fromEndpoints(0.05, 1, 5), inf) ).c ...

  3. PSloop Quark

    ... rand ((60..80), inf ) ), bufSize: 10, lookBack: Pseq ([ Pn (0, 7), Pstutter (4, Pwhite (3, 5, 1))], inf ).trace, indices: Pseq ([1!2, { |l| (l-1..0).postln }], inf ).trace ).trace.play ) p.stop Ex. 4a: loopFunc given as Function // a Functi ...

  4. PL Quark

    ... , step, direction, start, cutItems, envir] } } ////////////////////// PLwhite : Pwhite { var <>envir; *new { |lo = 0.0, hi = 1.0, length = inf, envir = \current| ^super.new(PL(lo, 1, inf, envir), PL(hi, 1, inf, envir), PL(length, length, 1, ...

  5. JMDrawIcon Quark

    ... (interval))+1; var nY =(drawRect.height*0.6); var slots = Pseed(randomSeed+119, Pwhite(0, nY, n)).asStream.nextN(n); Pen.width= penWidth; nY.do{|k| x=drawRect.left; n.do{|i| Pen.line(Point(x,y-slots.at(i)),Point(x,y+slots.at(i))); x=x+inter ...

  6. startup01-events Quark

    ... ch or SynthDef ~objects = ( default: (def: \default, args: [ freq: PdegreeToKey(Pwhite(35, 50, inf), #[0, 2, 4, 5, 7, 9, 11], 12).midicps ]) ); // support code follows ~makeSynthDefs = { ~objects = ~objects.value; ~objects.keysValuesDo({ |i ...

  7. startup01-events Quark

    ... ch or SynthDef ~objects = ( default: (def: \default, args: [ freq: PdegreeToKey(Pwhite(35, 50, inf), #[0, 2, 4, 5, 7, 9, 11], 12).midicps ]) ); // support code follows ~makeSynthDefs = { ~objects = ~objects.value; ~objects.keysValuesDo({ |i ...

  8. VarGui Quark

    ... bounds \rel , Pfunc { ~rel.choose }, // short and long release time \soundMix , Pwhite (0.1, 0.9), \indexLR , PLrand ([0, 1]) ); ) ( // in GUI start control synth before EventStreamPlayer // then try playing with sliders and pausing / resum ...

  9. preprocessor Quark

    ... ver")*/; // generators may now have a {} pair before the arg list // e.g. \ser*{Pwhite(1,4,inf)}(...) ch.notNil and: { allowedBrackets.includes(ch).not } }; // ch.debug("clParseGeneratorBrackets got"); \clParseBracketed.eval(code, ch, true) ...

  10. preprocessor-generators Quark

    ... ) PR(\clGenIns).clone { ~distributions = IdentityDictionary[ \lin -> { |lo, hi| Pwhite(lo, hi, inf) }, \exp -> { |lo, hi| Pexprand(lo, hi, inf) }, // "exponential beta": beta distribution weighted toward low values (for rhythm) \expb -> { | ...

prev 21 22

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow