Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (408) Code (88) Doc (107) Help (49) Quark (164) SCDoc ↗ Forum ↗ Google ↗
  1. functors - Using Pdef for building abstract pattern functions while live coding by julianrohrhuber (julian.rohrhuber) Code

    ... te a new pattern each time it is called Pdefn(\x, { Pseq({ 10.rand } ! 8) }); Pn(Pdefn(\x)).asStream.nextN(16); // the function is called in the incoming event as current environment, so parameters can be passed: Pdef(\stut, { Pstutte ...

  2. ServerTreeView Doc

    ... t; // Play a repeating pattern that triggers a new synth every 0.4 seconds: x = Pn((dur: 0.4, midinote: 69, amp: 0.1)).play; // Create a ServerTreeView instance assigned to variable a: a = ServerTreeView(s) // Start plotting nodes for Serve ...

  3. PpolyPar Quark

    ... a , Prand ([[b, 0.1], [c, 0.5]], inf ), // will get "bars" of length 4/5 \dur , Pn ( Pshuf ([1, 1, 2]/5)), \amp , 0.3, // data dispatch from above, these values will be sent \rel , Pkey ( \data ).collect( _ [1]), \out , Pkey ( \data ).colle ...

  4. PG_Cookbook04_Sending_MIDI Doc

    ... midinote, 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; ⧉ ✔ Previous: ...

  5. Eternal sunrise by 0-2U (grirgz) Code

    ... r(Prand([Prand([2,3,4,6,8]),4,6,8],inf))!2), \dur, 4, \modamp, Pseq([ Pn(1,32*3), Pn(0,32*1), ],inf), \amp, 0.1/2 * 0.5, )); Pdef(\chord2, Pmono(\kobass, \degree, Pseq([ 9, 9, 8, 8, ],inf)+Pseq([0,1,0,3], ...

  6. PHSparPlayer Quark

    ... egato , 0.2, \amp , 0.06 ]], hsIndices: [1] ); ~p3 = PHSparUse (h, pbindArgs: [ Pn ( Pshuf ([0.2, 0.1, 0.1], 1), inf ), [ \midinote , Pkey ( \theseVals ) + 5, \legato , 0.2, \amp , 0.06 ]], hsIndices: [[0, 1]] ); ~p4 = PHSparUse (h, pbindAr ...

  7. Pdup Doc

    ... values Source: FilterPatterns.sc Subclasses: PdurStutter , Psubdivide See also: Pn , Pattern: -dup Description repeat each element n times. ( var a, b; a = Pdup(2, Pwhite(-1.0, 1.0)); x = a.asStream; 8.do { x.next.postln }; ) ⧉ ✔ This is al ...

  8. Fracture Doc

    ... hips, inf), \dur, Pfunc({|e| (e[\end] - e[\start])/f.buffer.sampleRate}), \pan, Pn(Pseq([-1, 1, -0.6, 0.6, -0.2, 0.2, 0]), inf), \rate, Pn(Penv([1, 2, 0.3, 1], [0.5, 0.5, 0.5]), inf), \amp, Penv([0, 0.5, 0], [3, 4], 'sine'), ).play ) p.stop ...

  9. NodeTreeView Doc

    ... t; // Play a repeating pattern that triggers a new synth every 0.4 seconds: x = Pn((dur: 0.4, midinote: 69, amp: 0.1)).play; // Create a NodeTreeView instance assigned to variable a: a = NodeTreeView(s) // Start plotting nodes for NodeTreeV ...

  10. UGenPatterns Overview Quark

    ... euse the knowledge you have about how for example SinOsc works. generators: PClipNoise PDC PExpRand PFSinOsc PImpulse PIRand PLFPulse PLFSaw PLFTri PLine PMouseX PMouseY PMouseButton PPulse PRand PSaw PSilent PSinOsc PWhiteNoise PXLine modi ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow