Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (453) Code (93) Doc (110) Help (27) Quark (222) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. 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); } * ...

  2. Pfintime Doc

    ... ern doesn't yield enough values to fill the required time, Pfintime will output rests until the duration is reached. Class Methods . new Embeds elements of the pattern into the stream until the enclosing event pattern's duration comes close ...

  3. 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 ...

  4. 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 ...

  5. SC Jazz by suhelkeswani (suhelkeswani) Code

    ... ==== */ Pbindef(\jazz, \instrument, \FMRhodes1, \dur, Prand([ Pseq([Rest(1/2), 1/2], inf), // Pseq([1/2], inf) ]), \midinote, Pseq([ ~chord1, ~chord1, ~chord1, ~chord1, ~chord6, ~chord6, ~chord6, ~chord6, ~chord ...

  6. The Muse by mkb218 (mkb) Code

    ... ger), handler, interval, theme, makeanote, tempo=320, basefreq=220, finefreq=0, rest=false, vol, slider, major, mminor, hminor, acc, lastmnote, mminorlook; var lookup; var mv = Synth(\museverb, [], s); var note = nil; interval = Arr ...

  7. 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(( ...

  8. VGSound Doc

    ... Key: \BonangPan, noteKey: \56)); // extensive tests VGSound.eventFor().play; // rest VGSound.eventFor(()).play; // rest VGSound.eventFor((instKey: \BonangBar)).play; // rest // correct VGSound.playbackSettings[\BonangBar].put(\mute, true); ...

  9. 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 ...

  10. 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 ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow