Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    TestStreamKrDur : UnitTest { test_pseqSpec { var s,k; k = StreamKrDur( Pseq([0,1,2,3,4,5],inf), 0.25 ); s = k.spec; this.assertEquals(s.class,ControlSpec,"ControlSpec"); this.assertEquals( s.minval, 0, "minval 0"); this.assertEquals( s.maxv ...

  2. waveguideFlute-demo-extras Quark

    ... by Wrabel Pbindef(\dmwaveguideFlute, \instrument, "waveguideFlute", \midinote, Pseq([57, 60, [46, 62], [53, 62], [58, 62], [58, 64], [58, 62], [58, 60], [50, 57], [50, 57], [50, 57], [50, 60], [50, 57], [50, 53], [53, 55], [53, 55], [53, 5 ...

  3. kalimba-demo Quark

    Pbindef(\kalimba, \instrument, "kalimba", \strum, 0.05, \dur, Pseq([ 1, 1/2, 1/2, 1, 1/2, 1/4, 1/4, 1, 1/2, 1/4, 1/4, 2, 1/2, 1/2, 1/2, 1/2, 1, 1/2, 1/4, 1/4, 1, 1/2, 1/4, 1/4, 2 ], 1) * 1.25, \degree, Pseq([ [1, 8], [2, 11], 12, [3, 9], 5, ...

  4. TestDurInterpolationFinal Quark

    ... esync a.interpDur(0.5, time: 3, resync: true) //With resync + reset a.interpDur(Pseq([0.25, 0.25, 0.125], inf), time: 5, reset: true) //Other time params work too! a.interpStretch(0.5, time: 3, shape: Env([0, 1, 0.5, 1], [2, 3, 4])) //Using ...

  5. Chord Quark

    ... 7, 10 ], "Minor 7th") ], "Major, Minor, Minor 7th Chords" ); this.assertEquals( Pseq([\maj, \min, \m7], inf).asStream.nextN(10), [ [ 0, 4, 7 ], [ 0, 3, 7 ], [ 0, 3, 7, 10 ], [ 0, 4, 7 ], [ 0, 3, 7 ], [ 0, 3, 7, 10 ], [ 0, 4, 7 ], [ 0, 3, 7 ...

  6. atKey Quark

    ... (e.g. Pdef), Pbind and Pchain. Example s.boot; Pdef ( \one , Pbind ( \degree , Pseq ( (1..7), inf ), \dur , 1, \pan ,-1 ) ); Pdef ( \two , Pbind ( \degree , Pdef ( \one ).atKey( \degree ), \dur , 1, \pan , 1) ); Pdef ( \one ).play; Pdef ( ...

  7. TestAlgaPatternPlayer Quark

    ... ay starts the player ~player = AlgaPatternPlayer(( dur: Pwhite(0.2, 0.7), freq: Pseq([440, 880], inf) )).play; //\dur is not used with a player ~pattern = AP(( def: { SinOsc.ar(\freq.kr + \freq2.kr) * EnvPerc.ar }, freq: ~player[\freq], fre ...

  8. PpatRewrite Quark

    ... true, any time a rule returns an array of values, the array will be wrapped in Pseq so that the array items are output one by one. This is simply a convenience to avoid writing Pseq(array, 1) in every rule. reuseLevelResults: If true, the ...

  9. PpatRewrite Quark

    ... true, any time a rule returns an array of values, the array will be wrapped in Pseq so that the array items are output one by one. This is simply a convenience to avoid writing Pseq(array, 1) in every rule. reuseLevelResults: If true, the ...

  10. ksbass-explanation Quark

    ... strument, "ksbass", \dur, 1/4, \rel, 0.7, \ctranspose, -18, \amp, 0.5, \degree, Pseq([-2, -2, \rest, -2, 0, 1, 0, 2, 4, 1, 1, \rest, -5, -4, -4, \rest, -3, -2, -2, \rest, -2, 0, 1, 0, 2, 4, 1, 1, \rest, -5, -4, -4, -3, -3, 0], 2), \impulseA ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow