Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (496) Code (67) Doc (105) Help (40) Quark (281) Plugin (3) SCDoc ↗ Forum ↗ Google ↗
  1. BBCPPermute Doc

    ... a=BBCut2(CutBuf2(f),BBCPPermute(8.0)).play; a.pause a.resume a.stop; a.free; //reverse slices, 16 slices over 8 beat sample= eighth note (0.5 beat) slices a=BBCut2(CutBuf1(f),BBCPPermute.new(8.0, 16, {arg index, n; n-index-1})).play(Extern ...

  2. MIDIKeyboard Quark

    ... ; } // local function findNote {arg x, y; var chosenkeys; chosenkeys = []; keys.reverse.do({arg key; if(key.rect.containsPoint(Point.new(x,y)), { chosenkeys = chosenkeys.add(key); }); }); block{|break| chosenkeys.do({arg key; if(key.type == ...

  3. Granular Sampling demo [no GUI] by bruno (Bruno Ruviaro) Code

    ... f), \dur, 1/4, \att, 0.001, \rel, 0.01, \rate, -1, // normal speed, but reverse \amp, 0.75, \pan, Pwhite(-1.0, 1.0), \legato, 0.7 ).play.stop; ~rhythm.play; ) ( ~allOver = Pbind( \instrument, "grain-asr", \buffer, ...

  4. OtherPatterns Quark

    ... mod(lookBackValClipped); loopLength = lookBackValClipped; }; // index has to be reversed as PS buffers last at first rawVal = lastVals.at(lookBackValClipped - 1 - mappedIndex); mappedVal = currentLoopFunc.notNil.if { currentLoopFunc.(rawVal ...

  5. Pattern Doc

    ... integrate iter keep lag legato lock mtranspose proxyControlClass reject repeat reverseComposeBinaryOp scaleDur select streamArg stretch stutter trace Examples EVENT PATTERNS - patterns that generate or require event streams GENERAL PATTERN ...

  6. J_concepts_in_SC Help

    ... t dimensions or depths in an array. z = Array .iota(3, 2, 3); f = { |item| item.reverse }; z.deepCollect(0, f); z.deepCollect(1, f); z.deepCollect(2, f); f = { |item| item.stutter }; z.deepCollect(0, f); z.deepCollect(1, f); z.deepCollect(2 ...

  7. intro Quark

    ... vent[\dur].wait; } }).play ) // reproduce original with varying chunk size, but reverse the chunks ( Tdef(\u, { var start = 0, num = 1; inf.do { |i| var event; event = a.asEvent((start: start, num: num, rate: -1)); event.play; event[\dur].w ...

  8. LazyList Quark

    ... ^LazyList.repeat(a).take(n) } *fromArray { |array| var l = LazyListEmpty; array.reverse.do{ |elem| l = LazyListCons(elem, l) }; ^l } } LazyListCons : LazyList { var <head, tailFunc, tailEvaluated; *new{ |head, tail| //if we already have a v ...

  9. that-intro Quark

    ... in) { x = x.scramble }; // 10% chance: scramble time order if(0.4.coin) { x = x.reverse }; // 40% chance: reverse time order if(0.3.coin) { x = x.collect { |e| e[\freq] * 1.5 } }; // 30% chance: transpose a fifth up mem.add(x) }; mem.add(~t ...

  10. 9/8 drum'n strings by bernhard (bernhard) Code

    ... 6,7,8,9,10,11,12,13],1),Prand([6,0,2,3,7,6,7,9,10],40),Pseq([6,7,9,10,11,13,14].reverse,1)],inf), \dur, Pseq([Pseq(Bjorklund2.new(5,9).rotate(0)/8, 8),Pseq(Bjorklund2.new(2,9).rotate(0)/24, 1),Pseq(Bjorklund2.new(1,9).rotate(0)/24, 1), ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow