Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (458) Code (127) Doc (139) Help (76) Quark (116) SCDoc ↗ Forum ↗ Google ↗
  1. Pdfsm Doc

    ... t, SinOsc.ar([freq, freq + 0.1.rand2], 0, env)) }).add; ) ( var p; p = Pdfsm( [ Prand([0, 1, 2], inf), // signalStream IdentityDictionary[ // state 0 0 -> [2, Pseq([67, 68, 69], 2)], 1 -> [0, 66], 2 -> [1, 65] ], IdentityDictionary[ // stat ...

  2. feedbackPad2-demo Quark

    ... \legato, 0.55, \del, Pwhite(0.05, 0.1), \rel, Pseq([Pn(1.75, 7), 3]), \polFlip, Prand([0, 1], inf), \thresh, Pwhite(0.01, 0.67), \degree, Pseq([[-7, 0, 2, 4], [-5, -1, 2, 4], [-6, -2, 1, 4], [-7, -3, 0, 4]], 2) );

  3. Piano Gestures: A Little Study by mimetikmusic (mimetikmusic) Code

    ... 3],inf)); b=PatternProxy(Pseq([1/2],inf)); r=PatternProxy(Pseq([12],inf)); n=Prand([4,8,16],inf).asStream; t=Task({ Pdef(\x,Pbind(\type,\midi,\chan,0, \midiout,~mOut, \scale,~scale, \root,-12, \degree, ...

  4. Instr-Patterns Doc

    ... str, "minimoog.two", // note is converted to freq by things in NotePlayer \note,Prand([10,20,30],inf), // args are passed into the function \int1, Prand([-3,0,7,11,13],inf), \dur, 0.5 ).play ) ⧉ ✔ Note that it IS possible to dynamically cha ...

  5. "Variations on a Carol" by Michelle Nguyen by bruno (Bruno Ruviaro) Code

    ... di2 = Pbind( \instrument, "amDepth", \dur, Pseq (durs, 1), \degree, Prand (notes, inf), \amp, 0.6, \sus, 0.2, \rel, 0.5, \modFreqRatio, 0.7, \modDepth, 1.5 ).play.stop; }.value; { var melodyb, not ...

  6. Pevent Doc

    ... used in two cases: using an event pattern as a stream directly a = Pbind(\note, Prand([1, 2, 3], inf)).asStream; a.next; // returns nil a = Pevent(Pbind(\note, Prand([1, 2, 3], inf))).asStream; a.next; // returns an event ⧉ ✔ setting some d ...

  7. Pdict Help

    ... ( \dur , 0.3, \degree , Pseq ([0, 1, 2], 2)) ); x = Pdict (e, Pseq ([ \a , \b , Prand ([ \a , \c ]) ], 4) ); x.play; )

  8. Digital Harp (and a just intonation demo) by akselai (akselai) Code

    ... Pseq([1, 1, 1/2, 1/2, 1, 2]), ]; Pbind.new( \instrument, \harp, \delta, Prand(0.7*~strum_patterns, inf), \legato, inf, \amp, 0.5, \strum, Pseq(0.06*[0, 1, 1, 0, 0, 0.5], inf), \freq, Pseq([0, -1, -2, -1, 0, 1, 2, 1].dupEach ...

  9. PHSusePlayer Quark

    ... = PHS (h, nil , // default help synth args // two pbinds with different timing Prand ([0.4, 0.2], inf ) , [ \midinote , Pkey ( \val ) + 4, \amp , 0.07 ], 0.1, [ \midinote , Pkey ( \val ) + 15 + Pxrand ([0, 2, 5], inf ), \amp , 0.04, \legat ...

  10. Streams-Patterns-Events6 Doc

    ... te, Pseq([50, 45], inf)) ]).play ) ( // Ppars can be nested Ppar([ Pbind( \dur, Prand([0.2, 0.4, 0.6], inf), \midinote, Prand([72, 74, 76, 77, 79, 81], inf), \db, -26, \legato, 1.1 ), Pseq([ Pbind(\dur, 3.2, \freq, Pseq([\rest]) ), Prand([ ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow