Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1234) Code (312) Doc (341) Help (126) Quark (454) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. 062-angents-fm_synth Quark

    ... .rand, \pitchdec: 0.3.rand, \env: 128.rand.midicps, \pol: [-1, 1].choose, \amp: Pseq({1.0.rand2.round(0.25).clip(0, 1)}.dup(16), inf).asStream, \level: 0 ); }; objsFunc.dup(n); //create n agents for startup //--sequence Tdef(\seq, { //play ...

  2. OSCCommands Quark

    ... Font.defaultSansFace, 20, true)) ; flow.nextLine.shift(0, 0); progressStates = Pseq(34.collect{ |i| "collecting" + ($.!i).join(' ') }, inf).asStream; progressRoutine = fork({ loop({ progress.string_(progressStates.next); 0.5.wait; }) }, Ap ...

  3. Ndef Doc

    ... (\ppar); Ndef(\stereo).play; // change durations ~durs.do({ |pp, i| pp.source = Pseq(Array.fib(5, i/10 + 0.1, i+1/5), inf) }); ~durs.do({ |pp, i| pp.source = 0.5 + (i/10) }); ~durs.do({ |pp| pp.source.postcs }); // frequencies ~freqs.setn(A ...

  4. HS Doc

    ... 0.2, \midinote, Pxrand([58, 60, 61, 63, 64, 67, 69, 70], inf) + [-7, 0, 5, 9] + Pseq([0.2, -0.2],inf), \amp, 0.03 ).play(c, quant: q); ) // pause and stop are synonym p.pause; // resume p in sync p.play(c, q); // stop and free ( r.stop; p.f ...

  5. ChuckHacking Quark

    ... the variables Pxrand ((0..7), inf ) =>.degree BP ( \flexscale ); Pwrand ([0.25, Pseq ([0.25, 0.125], 1)], [2, 1].normalizeSum, inf ) =>.delta BP ( \flexscale ); // assignment syntax also works BP ( \flexscale ).legato = Pn ( Pgeom (0.1, 1.2 ...

  6. ChuckHacking Quark

    ... the variables Pxrand ((0..7), inf ) =>.degree BP ( \flexscale ); Pwrand ([0.25, Pseq ([0.25, 0.125], 1)], [2, 1].normalizeSum, inf ) =>.delta BP ( \flexscale ); // assignment syntax also works BP ( \flexscale ).legato = Pn ( Pgeom (0.1, 1.2 ...

  7. StringConverter Quark

    ... totalDuration).postvg }; // parallelise polyphonic series res = Pevent(PvgFlop(Pseq(res)), ()).asStream.all; ^res } *unconvert { arg eventList; var str = ""; eventList.do { |event| str = str ++(event[\degree] ? "*"); reverseDiacritica.do { ...

  8. SeqChordNote Quark

    ... 0.98, 0.01, 0.01, 0.98, 0.01, 0.01, 0.98, 0.01, 0.01, 0.98], 1 ].asNotes); b.dumpSeq; MIDIRecBuf("cmaj") 0 : [ 60, 0.01, 1, nil ] 1 : [ 64, 0.01, 1, nil ] 2 : [ 67, 0.98, 1, nil ] 3 : [ 60, 0.01, 1, nil ] 4 : [ 65, 0.01, 1, nil ] 5 : [ 69, ...

  9. SeqChordNote Quark

    ... 0.98, 0.01, 0.01, 0.98, 0.01, 0.01, 0.98, 0.01, 0.01, 0.98], 1 ].asNotes); b.dumpSeq; MIDIRecBuf("cmaj") 0 : [ 60, 0.01, 1, nil ] 1 : [ 64, 0.01, 1, nil ] 2 : [ 67, 0.98, 1, nil ] 3 : [ 60, 0.01, 1, nil ] 4 : [ 65, 0.01, 1, nil ] 5 : [ 69, ...

  10. startup15-contrapunct Quark

    ... er and: { ~nextSync.isNumber and: { ~nextChildEventTime > ~nextSync } } }).if({ Pseq([(play: 0, delta: ~nextChildEventTime - ~nextSync), pattern], 1) }, { pattern }); }; // user hook to provide a Pbindf or other processing ~wrapPattern = { ...

prev 111 112 113 114 115 116 117 118 119 120 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow