Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... tep3add Pstep2add Pwhite Pbrown Pgeom Pseries Pbind Pevent Pnaryop Pbinop Punop Pfuncn Prout Proutine Pfunc The following lists all the Pattern classes where embedInStream uses the default Pattern-embedInStream. These create a new stream wh ...

  2. Ptime Help

    ... am; ) x.next; x.next; x.next; // post time in a playing event stream ( Pbind ( \pfunc , Ptime .new.trace, \dur , Pseries (0.5, 0.5, 5) ).play; ) // change degree independant of number of events that have been playing ( var a, b; a = Pbind ( ...

  3. jitlib_asCompileString Help

    ... }; ~freq[5] = ~ctl1.wrap2(~ctl2) * ~ctl1 / (~ctl2 + ~ctl1); ~pat = Pbind(\freq, Pfunc({ 1.2.rand })); ~z = 9; ~out.set(\freq, 760, \ffreq, 20); ) p.asCompileString; // the document message creates a new document which it posts the code into ...

  4. Streams-Patterns-Events2 Help

    ... ss named Pattern that provides more functionality for the concept of a pattern. Pfunc is a Pattern that returns a FuncStream. The same function arguments are supplied as are supplied to FuncStream. ( var a, b; a = Pfunc .new({ #[1, 2, 3, 4] ...

  5. Pstep Help

    ... ([0, -4, -2, -4, -3, -4, -3, -4], inf ) - 20 ), 0.2), Pstep ( Pbind ( \degree , Pfunc ({ {10.rand}.dup(10) }), \scale , Pfunc ({ {rrand(1, 2)}.dup(7).integrate }) ), 5 ) ).play ) // change one parameter ( Pbind ( \degree , Pstep ( Pseq ([1, ...

  6. Pfset Help

    ... or setting default values or loading server objects. Pfset(func, pattern, cleanupFunc) func: Use environment variable syntax (e.g., ~x = 0) to store values in the internal environment. These values are copied into the event prototype before ...

  7. PG_Cookbook03_External_Control Help

    ... I, 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 = CCResponder ({ |src, chan, num, value| ~legato = value.linlin(0, 127, 0.1, 2.5) }, num: 1); // n ...

  8. PG_06g_Data_Sharing Help

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

  9. Pattern Help

    ... should never be called from within the function that defines a FuncStream or a Pfunc (the pattern that creates FuncStreams). Event Patterns An Event is a Environment with a 'play' method. Typically, an Event consists of a collection of key ...

  10. PatternConductor Help

    ... tes p = Pbind ( \freq , Pwhite (0,log(32)).exp.round(1) * 36.midicps, \detune , Pfunc ({ | ev | ev[ \freq ] * rand(0.01) }), \sustain , Pwhite (log(0.1), log(20)).exp, \dur , Prand ([0.1,0.1,0.1,0.1,0.2,1,2], inf ), \db , Pstep ( Pseq ([-20 ...

prev 1 2 3 4 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow