Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (408) Code (88) Doc (107) Help (49) Quark (164) SCDoc ↗ Forum ↗ Google ↗
  1. PLx_suite Doc

    ... how dynamic scope placeholding of a ListPattern // could be done with Plazy, // Pn defaults to repeats = inf. ( p = Pn(Plazy { Pseq(~a, 1) }); ~a = (60..70); x = Pbind( \midinote, p, \dur, 0.2 ).play; ) // First drawback: replacing of a new ...

  2. PlazyEnvir Help

    ... PlazyEnvir ({ arg a=0, b=1; Pshuf ([a, a, b], 2) }); // a, b default to 0,1 x = Pn (a, inf ).asStream; 10.do { x.next.postln }; Post .nl; e = (a:100); 10.do { x.next(e).postln }; Post .nl; e = (a:100, b:200); 10.do { x.next(e).postln }; ) P ...

  3. Ptime Doc

    ... 5], 9) ); b = Pbind( \degree, Pseq(#[0, 2b, 3], 1), \dur, 2, \ctranspose, -7 ); Pn( Pfset({ ~tempo = #[1, 2, 4].choose.postln }, Pseq([ Event.silent(1.25), Ppar([a, b]) ]) ) ).play ) ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/HelpS ...

  4. Pdelta Quark

    ... e points // the time point pattern puts 4 notes in random places in the bar p = Pn ( Plazy ({ Pseq (({ 4.0.rand } ! 4).round(0.125).sort, 1) }), inf ); // trace lets us see the time points first q = Pdelta (p.trace).asStream; q.nextN(6); 0. ...

  5. Pdelta Quark

    ... e points // the time point pattern puts 4 notes in random places in the bar p = Pn ( Plazy ({ Pseq (({ 4.0.rand } ! 4).round(0.125).sort, 1) }), inf ); // trace lets us see the time points first q = Pdelta (p.trace).asStream; q.nextN(6); 0. ...

  6. PG_Cookbook04_Sending_MIDI Help

    ... note, not just frequency \degree , Pwhite (-7, 12, inf ), \dur , Pwrand ([0.25, Pn (0.125, 2)], #[0.8, 0.2], inf ), \legato , sin( Ptime ( inf ) * 0.5).linexp(-1, 1, 1/3, 3), \amp , Pexprand (0.5, 1.0, inf ) ).play(quant: 1); ) p.stop; Prev ...

  7. FoaMatrix Quark

    ... alt }) } initFromFile { |filePathOrName, mtxType, searchExtensions = false| var pn, dict; // first try with path name only pn = Atk.resolveMtxPath(filePathOrName); pn ?? { // partial path reqires set to resolve pn = Atk.resolveMtxPath(fileP ...

  8. Block Quark

    ... //play soundfile marylin1 pl 1 2 marylin2 //play, bus 1, slot 2, file lp 2 ant pn 1 rave //pattern in block 1 called rave sn 1 textures //synth in block 1 called textures sn 1 {SinOsc.ar(440)} //create temp synth def pn 1 Pbind(\note, [1,3 ...

  9. Re: midified arpeggiator/auto-accompaniment using patterns by 0-eQ (elgiano) Code

    ... , 1, 1].normalizeSum) ); if (~player.notNil) { ~player.stop; }; ~player = Pn(Ppar([right,left])).play; }); )

  10. Pconst Doc

    ... ), doneAction: Done.freeSelf); Out.ar(out, SinOsc.ar(freq, 0, env)) }).add; ) ( Pn( Pbind( \dur, Pconst(1, Prand([1, 0.02, 0.2], inf)), \instrument, \help_sinegrain, \degree, Pseries(0, 1, inf), \octave, 6 ) ).play; ) ⧉ ✔ helpfile source: / ...

prev 21 22 23 24 25 26 27 28 29 30 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow