Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... { var a; this.pairsDo { |k,v| a = a.add(k); a = a.add(v.isKindOf(Function).if { Pfunc { |e| e.use { v.() } } }{ v }); }; ^a } p { ^Pbind(*this.pa)} pm { |sym| ^Pmono(sym, *this.pa)} pma { |sym| ^PmonoArtic(sym, *this.pa)} pbf { |sym| ^Pbind ...

  2. AlgaPatternPlayer Quark

    ... urrentEnvironment); entryVal.algaAdvance(currentEnvironment); //Store value for Pfunc / Pkey retrieval //However, this doesn't work when triggering interpolation: //it will only consider the lastID one if(entryVal.isEvent.not, { if(uniqueID ...

  3. HS with VarGui Quark

    ... d structure determined by a single interval parameter p = PHSpar (h, switchDur: Pfunc { ~swTmMid * (1 + rand2(~swTmDev)) }, switchIndex: Pseq ([0,1], inf ), pbindArgs: [ 0.15, [ \midinote , Pkey ( \thisVal ) + Pfunc { [~int.neg, 0, ~int] } ...

  4. kitchen studies Quark

    ... ate newly generated Environment, where variables are being set and Streams from Pfuncs and PLx patterns are reading from. See Event patterns and Functions , PLx suite and VarGui . For certain live replacements though, environmental variable ...

  5. 0coast-PatternSequencer Quark

    ... 2, 2, 2, 2], inf), \octave, Pseq([2, 44], inf) * Pseq([1, 1, 0, 1], inf), \dur, Pfunc({2 * Pdef(\player).get(\mydur)}), \sustain, Pkey(\dur) * Pseq([Pseries(0.01, 0.01, 32)], inf), )).play ) Pdef(\playerB).gui

  6. 2_MKtlElement_tests Quark

    ... patterns x.value = 0.6; Pbind(\x, x).trace.play; x.value = 1.0.rand; Pbind(\x, Pfunc({ x.deviceValue })).trace.play; x.deviceValueAction = exprand(20, 200);

  7. Lattice Quark

    ... sefreq = 440; orient = false ; index = lattice.overtones.size ; Pbind ( \freq , Pfunc ({ var freq; index = index - 1; // use the index to compute what frequency to play, but // if the frequency is out of bounds, return nil // the nil will h ...

  8. derived-elements-mfunc Quark

    ... ther things, // e.g. to calculate other param values with it a = Pbind( \angle, Pfunc({ z.deviceValue }), \panPos, Pkey(\angle) * 100 ).trace.play; a.stop;

  9. README Quark

    ... en: s.boot Pbind( [\trig, \delta, \dur, \str, \num], Pmini("1 2 3 4"), \degree, Pfunc({ |e| if(e.trig > 0) { e.str.asInteger } { \rest } }), ).play ``` ## JSMini The first thing i started working on is the mini-notation. You can find the fu ...

  10. republic_basicpatterns Quark

    ... .5, Pn(0.04, 5)], inf) ) ).play ) ( Pdef(\x, Pbind( \instrument, \xxx, \server, Pfunc { r.servers.choose } .trace, \zzf, Pseq([8700, 800, 720], inf), \mod, Pwhite(0.1, 0.7, inf), \dur, Prand([0.3, 0.5, Pn(0.04, 5)], inf) ) ).play )

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow