Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1234) Code (312) Doc (341) Help (126) Quark (454) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. Psetpre Help

    ... ng stream ends when that incoming stream ends ( var a, b; a = Psetpre ( \freq , Pseq ([401, 801], 2), Pbind ( \dur , 0.5)); x = a.asStream; 9.do({ x.next( Event .new).postln; }); ) sound example ( SynthDef ( \sinegrain , { arg out=0, freq=4 ...

  2. Pnaryop Help

    ... ent can also be a pattern: ( var a; a = Pnaryop ( \wrap , Pseries (0, 1, 12), [ Pseq ([3, 4, 5], inf ), Pseq ([9, 7], inf )]); a.asStream.all; ) // common cases: Pwhite (0, 1, inf ).linexp(0, 1, 200, 1000); Pwhite (0, 1, inf ).degreeToKey([ ...

  3. Pcollect Help

    ... by passing it to the function ( var a, b; a = Pcollect ({ arg item; item * 3 }, Pseq(#[1, 2, 3],inf)); x = a.asStream; 9.do({ x.next.postln; }); ) the message collect returns a Pcollect when passed to a pattern ( var a, b; a = Pseq (#[1, 2, ...

  4. Pselect Help

    ... see also: Pcollect , Preject ( var a, b; a = Pselect ({ arg item; item != 2 }, Pseq(#[1, 2, 3],inf)); x = a.asStream; 9.do({ x.next.postln; }); ) the message select returns a Pselect when passed to a pattern ( var a, b; a = Pseq(#[1, 2, 3] ...

  5. Preject Help

    ... see also: Pcollect , Pselect ( var a, b; a = Preject ({ arg item; item == 1 }, Pseq(#[1, 2, 3],inf)); x = a.asStream; 9.do({ x.next.postln; }); ) the message reject returns a Preject when passed to a pattern ( var a, b; a = Pseq (#[1, 2, 3 ...

  6. PatternProxy Help

    ... ams that idle on until a new pattern is inserted. // example a = PatternProxy ( Pseq ([1, 2, 3], inf )); x = Pseq ([0, 0, a], inf ).asStream; t = Task ({ loop({ x.next.postln; 0.3.wait }) }).play; a.source = Pseq ([55, 66, 77], inf ); a.sou ...

  7. Streams-Patterns-Events4 Help

    ... stream returns nil whenever the first one of its streams ends. Pbind ( \freq , Pseq ([440,880]) ).play An event stream is created for a Pattern by sending it the asStream message. What Pbind does is to produce a stream which puts the value ...

  8. EventStream Help

    ... res an event to be passed in, often the default event is used: t = Pbind ( \x , Pseq ([1,2,3])).asStream; // pbind, e.g. creates a stream t.next( Event .default); t.next( Event .default); An event stream cannot be played directly with a clo ...

  9. PdegreeToKey Help

    ... ps per octave in the scale. The default is 12. ( Pbind ( \note , PdegreeToKey ( Pseq ([1, 2, 3, 2, 5, 4, 3, 4, 2, 1], 2), #[0, 2, 3, 6, 7, 9], 12 ), \dur , 0.25 ).play; ) ( var scales; scales = #[[0, 2, 3, 6, 7, 9], [0, 1, 5, 6, 7, 9, 11], ...

  10. Padd Help

    ... lting stream ends when that incoming stream ends ( var a, b; a = Padd ( \freq , Pseq ([401, 801], 2), Pbind ( \freq, 100 )); x = a.asStream; 9.do({ x.next( Event .new).postln; }); ) sound example ( SynthDef ( \sinegrain , { arg out=0, freq= ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow