Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... ID The best approach is to save an incoming value into a variable, and then use Pfunc to access the variable for each event. ( ~legato = 1; c = MIDIFunc.cc({ |value, num, chan, src| ~legato = value.linlin(0, 127, 0.1, 2.5) }, 1); // 1 means ...

  2. RandomOrbit Doc

    ... nc, Pseq([ Pn(1, 7), Pn(-1, 7)], inf), \n, 1, // first ask r.value by hand in a Pfunc: \degree, Pfunc({ |ev| (r.value(ev[\inc], ev[\n] ? 1) * 7).round(1) }), \dur, Pseq([0.5, Pn(0.25, 6)], inf) ).play; // try using number of notes: Pbindef( ...

  3. Plazy Doc

    ... Source: Ppatmod.sc Subclasses: PlazyEnvir See also: PlazyEnvir , PlazyEnvirN , Pfunc Description Plazy evaluates a function that returns a pattern and embeds it in a stream. Class Methods Plazy. new ( func ) Arguments: func A Function that ...

  4. Event_patterns_and_array_args Doc

    ... ((1..7))), // use Function ~seti (2d) for SC versions without method seti: \do, Pfunc { |e| s.makeBundle(s.latency, { ~seti.(x, \otAmps, e.i, e.otAmp) }) } // for newer SC versions with method seti you can use this line instead: // \do, Pfu ...

  5. PG_06g_Data_Sharing Doc

    ... value pattern). Access to the environment depends on function-driven patterns: Pfunc , Pfuncn , Prout , .collect , .select , .reject , and similar. The independent flag specifies whether the environment will be kept separate for each strea ...

  6. NodeProxy_roles Doc

    ... 4)).sum * 0.2 }; ( a[0] = \setbus -> Pbind( \dur, Prand([1, 0.5], inf), \value, Pfunc { var z = rrand(300, 4000); [300, 400, z, z + 30.rand2] } ) ); // modify the other source in the meanwhile: b[0] = { Pulse.ar(a.ar(4)).sum * 0.2 }; a.clea ...

  7. Pfset Doc

    ... Instance methods Inherited instance methods Undocumented instance methods cleanupFunc embedInStream Examples Classes | Streams-Patterns-Events > Patterns'>Patterns > Patterns>Data Sharing'>Data Sharing Pfset : FuncFilterPattern : FilterPatt ...

  8. kitchen_studies Doc

    ... 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 ...

  9. Pattern Doc

    ... inop , Pbrown , Pcauchy , Pchain , Pdict , Penvir , Pevent , Peventmod , Pfhn , Pfunc , Pfuncn , Pgauss , Pgbman , Pgeom , Pget , Phenon , Pif , Pindex , Pkey , Platoo , Plazy , Plet , PlinCong , Plorenz , Pmono , Pnaryop , Ppatmod , Ppoiss ...

  10. PlazyEnvir Doc

    ... tion Source: Ppatmod.sc Subclasses: PlazyEnvirN See also: Plazy , PlazyEnvirN , Pfunc Description Evaluates a function that returns a pattern and embeds it in a stream. In difference to Plazy , the function is evaluated using the environmen ...

prev 1 2 3 4 5 6 7 8 9 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow