Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (80) Code (13) Doc (23) Help (15) Quark (29) SCDoc ↗ Forum ↗ Google ↗
  1. Pgeom Help

    Pgeom geometric series pattern superclass: Pattern Pgeom(start, grow, length) Returns a stream that behaves like a geometric series. start - start value (default: 1.0) grow - multiplication factor. (default: 1.0) length - number of values p ...

  2. Pseries Help

    ... actor. (default: 1) length - number of values produced (default: inf) See also: Pgeom // 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, susta ...

  3. Ppatlace Help

    ... t in turn. Ppatlace(list, repeats) // example p = Ppatlace ([ Pwhite (1, 5, 5), Pgeom (10, 1.01, 10)], inf ); x = p.asStream; x.all; 5 // from Pwhite 10 // from Pgeom 4 // from Pwhite 10.1 // etc.... 5 10.201 4 10.30301 2 10.4060401 10.5101 ...

  4. Pwrap Help

    ... eAction:2); Out .ar(out, SinOsc .ar(freq, 0, env)) }).add; ) ( a = Pn ( Pwrap ( Pgeom (200,1.07,96), 200, 1000.0 ), inf ); x = a.asStream; Routine ({ loop({ Synth ( \help_sinegrain , [ \freq , x.next.debug, \dur ,0.3]); 0.12.wait; }) }).pla ...

  5. Streams-Patterns-Events6 Help

    ... . The start time is given in beats. ( var makePattern, durpat; durpat = Pseq ([ Pgeom (0.05, 1.1, 24), Pgeom (0.5, 0.909, 24) ], 2); makePattern = { arg note, db, pan; Pbind ( \dur , durpat, \db , db, \pan , pan, \midinote , Pseq ([note, no ...

  6. Dgeom Help

    ... ow ( x = x[-1] * grow ) length number of values to create structurally related: Pgeom The arguments can be a number or any other ugen // example ( { var a, freq, trig; a = Dgeom (1, 1.2, 15); trig = Impulse .kr( MouseX .kr(1, 40, 1)); freq ...

  7. PG_02_Basic_Vocabulary Help

    ... oose(weights)). * Pseries(start, step, length): Arithmetic series (addition). * Pgeom(start, grow, length): Geometric series (multiplication). * Pwhite(lo, hi, length): Random numbers, equal distribution ("white noise"). Like rrand(lo, hi). ...

  8. PatternsDocumentedAndNot Help

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

  9. PG_Ref01_Pattern_Internals Help

    ... get the next item, which is embedded and so on. p = Pseq ([ Pseries (0, 1, 3), Pgeom (10, 2, 3)], 1).asStream; p.next; // Pseq is embedded; first item is Pseries(0...), also embedded // Control is now in the Pseries p.next; // second item ...

  10. Streams-Patterns-Events2 Help

    ... gth 8 b = a.asStream; 9.do({ b.next.postln; }); // print 9 values from stream ) Pgeom is a Pattern that generates a geometric series. ( var a, b; // stream starts at 10, steps by factor of 3 and has length 8 a = Pgeom .new(10, 3, 8); b = a. ...

1 2 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow