Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (225) Code (25) Doc (78) Help (44) Quark (78) SCDoc ↗ Forum ↗ Google ↗
  1. PG_Ref01_Pattern_Internals Help

    ... he Routine to do, so that stream is over; it can only yield nil thereafter. p = Pseries (0, 1, 3).asStream; // this will yield exactly 3 values 4.do { p.next.postln }; // 4th value is nil We saw that list patterns can contain other patterns ...

  2. PG_06g_Data_Sharing Help

    ... e - the higher the note, the shorter the length ( p = Pbind ( \degree , Pseq ([ Pseries (-7, 1, 14), Pseries (7, -1, 14)], inf ), \dur , 0.25, // \degree is EARLIER in the Pbind \legato , Pkey ( \degree ).linexp(-7, 7, 2.0, 0.05) ).play; ) ...

  3. Dseries Help

    ... to create The arguments can be a number or any other ugen structurally related: Pseries see also: Demand // example ( { var a, freq, trig; a = Dseries (0, 1, 15); trig = Impulse .kr( MouseX .kr(1, 40, 1)); freq = Demand .kr(trig, 0, a) * 30 ...

  4. PG_06e_Language_Control Help

    ... every time whenever this pattern object plays \degree , Pseed (0x7FFFFFFF.rand, Pseries ({ rrand(-7, 0) }, Pwhite (1, 3, inf ), { rrand(4, 10) })), \dur , 0.25 ); q = p.play; // uses one seed q.stop; r = p.play; // uses the same seed r.stop ...

  5. Pfindur Help

    ... \dur , Prand ([1, 0.02, 0.2], inf ), \instrument , \help_sinegrain , \degree , Pseries (0, 1, inf ), \octave , 6 ); Pn ( Pfindur (1, c) ).play; )

  6. Pgeom Help

    ... tor. (default: 1.0) length - number of values produced (default: inf) See also: Pseries // example ( var a; a = Pgeom (1.0, 1.1, inf ); a.asStream.nextN(100).plot; ) // sound example ( SynthDef ( \help_sinegrain , { arg out=0, freq=440, sus ...

  7. PG_01_Introduction Help

    ... "Give me an infinite series of numbers starting with 0, increasing by 1"? With Pseries , you can. (Here, keyword addressing of the arguments is used for clarity, but 'start', 'step' and 'length' can be omitted.) a = Pseries (start: 0, step ...

  8. TaskProxy Help

    ... " , -1,0,0, \freq , rrand(600, 640)); 0.1.wait; } } ) ( x.source = { var x; x = Pseries (300, 20, 100).loop.asStream; loop { s.sendMsg( "/s_new" , "pdef_grainlet" , -1,0,0, \freq , x.next); 0.05.wait; } } ) ( x.source = { var x; x = Plazy { ...

  9. PatternsDocumentedAndNot Help

    ... lnorm Pstatbal PstepNfunc [ PstepNadd ] Pstep3add 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-e ...

  10. Ptime Help

    ... 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 ( \degree , Pswitch (#[0, 2b, 3], ...

prev 1 2 3 4 5 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow