Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... req.ar(440!2)) }); b = AMP(( rate: \audio, chans: 2, time: Pwhite(0.01, 1), in: Pseq([ AlgaTemp({ SinOsc.ar([Rand(1, 100), Rand(1, 100)]) }, scale: [Pwhite(220, 440), Pwhite(440, 880)]), [440, 660], 880 ], inf), dur: Prand([0.125, 0.25, 0.5 ...

  2. UtopiaExamplesSingle_1 Quark

    ... e1.sched(1, {\foo.postln}); SystemClock.sched(1, {\bar.postln}); Pbind(\degree, Pseq((1..4), inf)).play(~slave1, quant: 1); Pbind(\degree, Pseq((5..8), inf)).play(~slave2, quant: 1); ~master.tempo = 3; Pbind(\degree, Pseq((2..5), inf), \dur ...

  3. TestScheduledStepActions Quark

    ... place(\test2, sched:AlgaStep(1)); a.from(220, \f, sched: AlgaStep(1)); ) a.from(Pseq([0.25, 0.5], inf), \dur, sched: AlgaStep(2)) a.from(1, \dur, sched: AlgaStep(0)) s.scope //Now fix the fade in play time!!!!

  4. PreProcessor_python Quark

    ... _result = e.result.as(Array).collect { |x| x.asString.interpret }; Pbind(\note, Pseq(e.calc_result), \dur, 0.1).play;

  5. 04_Multichannel_Expansion Quark

    ... pattern element, triggering 3 instances simultaneously. a = AlgaPattern(( def: Pseq([\sine3, \saw], inf), dur: 0.5, freq: Pwhite([100, 200, 300], [400, 800, 1200]) )).play(chans: 2, scale: 0.5) }); ) //Change the multichannel mode. Now \sa ...

  6. Event patterns and Functions Quark

    ... mmon attributes are: period length = 2, magnitude relation of items = 1:10) p = Pseq ([1,10], inf ) * Pfunc { ~a }; An even more generalized operation is the use of Pcollect, which defines the following Stream behaviour: Output of the sourc ...

  7. PLswitch Quark

    ... ay // PLseq defaults to repeats = inf ( ~a = (70..75) ++ Pshuf ((85..80), 2) ++ Pseq ((90..94)); ~w = PLseq ((0..7)); x = Pbind ( \midinote , p, \dur , 0.1).play; ) // update array element ~a[2] = Pseq ([86, 85], 2) + [0, 3]; // reverse ind ...

  8. TestPattern6 Quark

    ... }); ) a.from(c, \buf, time:2, sched:1) a.from(b, \buf, time:2, sched:1) a.from(Pseq([b, c], inf), \buf, time:0, sched:1) a.from(0.5, \dur, time:2, sched:1) a.from(0.25, \dur, time:2, sched:1) a.from(b, \buf, sched:1) a.from(c, \buf, sched: ...

  9. EventShortcuts Quark

    ... ave dt: Pwhite (0, 20), // detune (in cent) l: 0.2, // legato d: 0.2, // dur w: Pseq ((5, 10..40)/100, 4), // width (synth arg) r: Pseq ([0.1, 0.5], inf ), // rel (synth arg) ]).play ) // works also with other event patterns: Pmono, PmonoAr ...

  10. startup14-perc Quark

    ... lta < ~beatsPerBar.value).if({ deltas.add(~beatsPerBar.value - totalDelta); }); Pseq(deltas, 1) }, { Pfinval(~amps.size, Pn(~divCycle.asPattern, inf)) }); }; ~makeAmpPattern = #{ ~compactPatterns.if({ Pseq(((~amps[0] == 0).if({ #[0] })) ++ ...

prev 31 32 33 34 35 36 37 38 39 40 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow