Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... ike this... (only standard patterns) a= Pbind(\dur, 0.25, \freq, Pn(Pstutter(4, Pseq([800, 400])))+(sin(Ptime()/Pkey(\dur)*2pi*(1/40))*10).trace).play a.stop //and the equivalent (well, roughly) synth as well... (compare how time is handled ...

  2. wavetable bass by snappizz (snappizz) Code

    ... octave: 3, amp: 0.4, dur: 3.0, scale: Scale.minor, degree: Pseq([7, 6, 2, 3, 5], inf), legato: 1.1 ]).play; ) // contributors so far: nathan ho

  3. AlgaProxySpace Doc

    ... nition ( ~d = ( def: { SinOsc.ar(\freq.kr(440)) * EnvPerc.ar }, dur: 0.5, freq: Pseq([440, 880], inf) ) ) ⧉ ✔ helpfile source: /tmp/scquark_hs/AlgaLib/HelpSource/Classes/AlgaProxySpace.schelp link::Classes/AlgaProxySpace::

  4. startup02-melodicStorage Quark

    ... le must act on grace notes before the notes are embedded in the stream // thus, PseqFunc // change in ~useRh will take effect only at segment boundaries ~asNotePattern = #{ |passInValue| var dur, length, rhy, out; out = (passInValue[\useRh] ...

  5. Object Doc

    ... ed at the time of evaluating the resulting function or stream. 1 |==| 1 // true Pseq([1], inf) == 1 // false (because "a Pseq" is not 1) Pseq([1], inf) |==| 1 // a Pbinop (Pseq([1], inf) |==| 1).asStream.next // Pbinop evaluates to true ⧉ ✔ ...

  6. PLrand Doc

    ... 0] = 97; e.a[0] = 96; // ... or arrays f.a = (72, 72.5..77); e.a = [60]; e.a = [Pseq([60, 47.5]) + [0, 5], [61, 65.5]]; x.stop; y.stop; ////////////////////// // placeholder may also get lists of event patterns ( p = PLrand(\a); ~a = [ Pbin ...

  7. PLswitch1 Quark

    ... // update array ~a = [59, 85]; // update index pattern, used to stop also ~w = Pseq ([0, 0, 1], 5); ////////////////////// // placeholder may also get lists of event patterns ( p = PLswitch1 ( \a , \w ); ~a = [ Pbind ( \midinote , Pwhite ( ...

  8. ddwPatterns Quark

    ... ).notNil.if({ pos = pos + stepp }, { ^inval }); }, { ^inval }); }); ^inval; } } PseqFunc : Pseq { // executes a function on the list item before embedding in stream // if func is nil, the item is used as is var <func; *new { |list, repeats ...

  9. Kaprekar by henklass (henklass) Code

    ... //play the digits Pbind( \instrument, \digitsplayer, \freq, Pseq(digits.mirror2+60).midicps, \cutoff, 500*(a+1), \dur, 0.1 ).play; 0.8.wait; //play greatest and smallest if (smallest < 15 ...

  10. Pfxb Help

    ... , 3); r = Pfxb (q, \distort , \pregain , 20, \amp , 0.25); o = Pfxb (r, \wah ); Pseq ([p, q, r, o], 2).play; ) // test order of effect chain ( SynthDef ( \echo , { arg out=0, maxdtime=0.2, dtime=0.2, decay=2, gate=1; var env, in; env = Line ...

prev 101 102 103 104 105 106 107 108 109 110 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow