Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (80) Code (13) Doc (23) Help (15) Quark (29) SCDoc ↗ Forum ↗ Google ↗
  1. Streams-Patterns-Events2 Doc

    ... 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; a = Pgeom.new(10, 3, 8); // stream starts at 10, steps by factor of 3 and has length 8 b = a.a ...

  2. Demo: Loading a MIDI file, playing it with your own SynthDef by bruno (Bruno Ruviaro) Code

    ... 0.4, 0.5, 0.8, 1, 2], inf) )).trace.play(~bpm); ) // ex. 4 ( Pstretch(Pn(Pgeom(0.5, 1.1, 14)), // can also stretch by pattern! Pbindf(~melody.p, \instrument, "plucking", \decay, 1, \dampen, 0.1, \amp, 1, \ctranspose, ...

  3. Pattern Doc

    ... Pdict , Penvir , Pevent , Peventmod , Pfhn , Pfunc , Pfuncn , Pgauss , Pgbman , Pgeom , Pget , Phenon , Pif , Pindex , Pkey , Platoo , Plazy , Plet , PlinCong , Plorenz , Pmono , Pnaryop , Ppatmod , Ppoisson , Pprob , Pproto , Pquad , Prout ...

  4. Streams-Patterns-Events5 Help

    ... duration to get the sustain time. ( // changing duration Pbind ( \dur , Pseq ([ Pgeom (0.05, 1.1, 24), Pgeom (0.5, 0.909, 24) ], inf ), \midinote , Pseq (#[60, 58], inf ) ).play ) ( // changing legato value Pbind ( \dur , 0.2, \legato , Pse ...

  5. Undocumented-Classes Help

    ... st PeakFollower Peep Pen Pevent PfadeIn PfadeOut Pfindur Pfset Pfunc Pfuncn Pfx Pgeom Pindex Plag PlayButton PlayerAmpGui PlayerBinop PlayerBinopGui PlayerEffectGui PlayerEfxFuncGui PlayerMixerGui PlayerPoolGui PlayerSpec PlayerUnopGui Ploo ...

  6. Streams-Patterns-Events5 Doc

    ... te duration to get the sustain time. ( // changing duration Pbind( \dur, Pseq([ Pgeom(0.05, 1.1, 24), Pgeom(0.5, 0.909, 24) ], inf), \midinote, Pseq(#[60, 58], inf) ).play ) ( // changing legato value Pbind( \dur, 0.2, \legato, Pseq([ Pseri ...

  7. EventPatternProxy Doc

    ... . One use case is -endless . a = EventPatternProxy.new; a.source = Pbind(\freq, Pgeom(100, Pwhite(1.01, 1.2), 4)); r = Routine { |inval| loop { a.embedInStream(inval) } }; r.nextN(12, ()); // the next 12 values from r a.source = Pbind(\freq ...

  8. VoicerSequencer Quark

    ... hs_( nil, 4 ); // change filter and panning patterns q.putArg( \ffreq , Pseq ([ Pgeom (800, 1.2, 18)], inf )); q.putArg( \pan , Pseq ([ Pseries (-1, 0.05, 40)], inf )); q.stop; // you should stop the sequencer before stopping the clock; // ...

  9. VoicerSequencer Quark

    ... hs_( nil, 4 ); // change filter and panning patterns q.putArg( \ffreq , Pseq ([ Pgeom (800, 1.2, 18)], inf )); q.putArg( \pan , Pseq ([ Pseries (-1, 0.05, 40)], inf )); q.stop; // you should stop the sequencer before stopping the clock; // ...

  10. AbstractFunction Doc

    ... value; // Patterns, Streams, UGens, and Proxies are AbstractFunctions, too: a = Pgeom(1, 2, 5).neg; a.asStream.nextN(8); { a = LFNoise1.ar(1500); [a, a.neg] }.plot; ⧉ ✔ . reciprocal a = { 10.rand.postln }; b = a.reciprocal; b.value; a = Pge ...

prev 1 2 3 4 5 6 7 8 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow