Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (453) Code (93) Doc (110) Help (27) Quark (222) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. minbox Quark

    ... lt.minbox.default }; this.oldMethodsCompat(skin); view.addAction({ arg view ... rest; this.mouseDown( *rest )},\mouseDownAction); view.addAction({ arg view ... rest; this.mouseUp( *rest )},\mouseUpAction); view.addAction({ arg view ... rest ...

  2. startup01-events Quark

    ... val = nextval.yield; }); }, { inval = nextval.yield; }); }; // end of the line; restore the original stream // and return 1 valid value so that the main pattern doesn't die // after substitution, this routine will not get called again ~unOv ...

  3. Percussion Quark

    ... llect{ |k| "%: MIDI Note %".format(k, all.at(k)) }.join("\n") } *at { |input = \rest| if(all.at(input).notNil) { ^all.at(input); }; if(input.isRest && [\r,\rest,\].indexOf(input).notNil) { ^Rest(); }; ^nil; } midinote { ^all.at(symbol); } * ...

  4. ArrayEditView Quark

    ... t( points[item], scale.x * 4, scale.y * 4 ) ); }); Pen.fill; }; }); }); } getNearestIndex { |point, scaler| // returns nil if outside radius var radius, rect; point = point * (1 @ -1); rect = Rect.aboutPoint( point, scaler.x.abs * 5, scaler ...

  5. startup14-perc Quark

    ... { outArray.add(array.wrapAt(i)); }); }); if(outArray.size == 0) { outArray.add(\rest) }; Pseq(outArray, repeats) }; ~makePatternFromArray = #{ |array, repeats, sourceKey| var amps, outArray, i = 0; (~compactPatterns or: { sourceKey == \def ...

  6. startup14-perc Quark

    ... { "BP(%): Delta array is empty".format(~collIndex.asCompileString).warn; }; Pn(Rest(~beatsPerBar.()), 1) } { Pseq(deltas, 1) }; }, { Pfinval(~amps.size, Pn(~divCycle.asPattern, inf)) }); }; ~makeAmpPattern = #{ ~compactPatterns.if({ Pseq(( ...

  7. Func Quark

    ... set the arrays internal to the process which determine the rhythm, e.g., { var rests; ~amps = ~ampBase.copy; rests = ~amps.collectIndicesOfItem(0).scramble; rrand(1, 5).do({ |i| ~amps[rests[i]] = rrand(0.1, 0.4); }); } => Func ( \randSnare ...

  8. Func Quark

    ... set the arrays internal to the process which determine the rhythm, e.g., { var rests; ~amps = ~ampBase.copy; rests = ~amps.collectIndicesOfItem(0).scramble; rrand(1, 5).do({ |i| ~amps[rests[i]] = rrand(0.1, 0.4); }); } => Func ( \randSnare ...

  9. squareDrum-demo Quark

    ... uareDrum, \instrument, "squareDrum", \freq, 180, \dur, Pseq([1, 2/3, 1/3, 1, 1, Rest(1), 1, 1] * 0.4), \amp, Pwhite(0.5, 0.625), \rel, Pkey(\amp)/3, );

  10. snare1-demo Quark

    Pbindef(\snare1, \instrument, "snare1", \dur, Pseq([ Pseq([Pn(1/16, 3), 1/3, Rest(1/3)], 2), Pn(1/12, 3), Pn(1/3, 3) ], 1), \amp, 0.25, \rel, 0.1 );

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow