Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... f], \lin, onDone: { ("Drift: " ++ ~blend.drift).warn; }); ~blend.start; ~what = Pseq([0.1, 0.5, 0.33], inf); ~dur = (~dur.blend(~what, ~blend)).asStream; ) //If changing this, it takes the same amount of time once triggered TempoClock.defau ...

  2. that-intro Quark

    ... x[\freq].cpsmidi - 60; x[\freq] = nil; }; // the simplest way to play it back: Pseq(~that_memory).play; // transform to chord Pbindf(Pseq(~that_memory), \ctranspose, [0, 6, 7]).play; // save a bit of memory: ~that_saved = ~that_memory.copy ...

  3. PS Quark

    ... ch they appeared, dropping nils by default q.bufSeq // repeat original sequence Pseq (q.bufSeq).play // play in reverse order, as Stream has been finished there's also a nil to be dropped Pseq (q.lastValues.drop(1)).play // counted embeddin ...

  4. aiBass Quark

    ... the rest into \dummy (where presumably they are ignored) BP ( \bass ).bassID = Pseq ([ \roots , \dummy ], inf ); // look at velocity to determine which notes to pass // chord-change notes have a velocity higher than a given threshold // ch ...

  5. aiBass Quark

    ... the rest into \dummy (where presumably they are ignored) BP ( \bass ).bassID = Pseq ([ \roots , \dummy ], inf ); // look at velocity to determine which notes to pass // chord-change notes have a velocity higher than a given threshold // ch ...

  6. AudioMulchClock Quark

    ... egato needs to be scaled down - still not working properly b= Pbind ( \degree , Pseq ([0, 5, 2, 1, 0, 5, 2, 1, 0, -1], inf ), \dur , Pseq ([1, 1, 1, 1, 0.25, 0.25, 0.5, 1, 1, 1], inf ), \legato , Pfunc ({a.beatDur})).play(a, quant:4) a.shif ...

  7. MarkovSetN Quark

    ... m.next([120, 100]).postln }; // training by a stream m = MarkovSetN .fill(100, Pseq ([1, 2, 3, 4, Prand ([5, 55, 555])], inf ).asStream, 2); 8.do { m.next([1,2]).postln }; 8.do { m.next([3,4]).postln }; 8.do { m.next([4,5]).postln };

  8. GenomePattern Quark

    ... sis main folder // use this to stream the letters of the bases themselves (like Pseq) GenomePattern : ProteinBioSynthesis { var <>repeats, <>offset; *new { arg genome, repeats=1, offset=0; ^super.new(genome).repeats_(repeats).offset_(offset ...

  9. ListeningClock Quark

    ... lay a pattern on clock t: ( Pdef ( \a , Pbind ( \instrument , \ping , \degree , Pseq ((0..7), inf ), \dur , 0.25, \pan , -0.5, \amp , 0.5 ) ).play(t); ) // fadeTempo(newTempo, time, warp); // // makes a smooth tempo change on a listening cl ...

  10. 01_GuidedTour Quark

    ... lay; // bad piano sound - it's a kitchen ... "Pattern Guide".help; Pbind(\note, Pseq((0..7)), \dur, 1/8).play; Pbind(\degree, Pseq((0..7)), \dur, 1/8).play; ///// moment in the restaurant: //// load a library with a lot of so-called synthde ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow