Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1270) Code (328) Doc (434) Help (131) Quark (377) SCDoc ↗ Forum ↗ Google ↗
  1. pmini Quark

    ... Takes a mini-notation string as input. Returns a pattern that can be used in a Pbind. The pattern has 5 values: \coin : use with .coin function to determine if note should play \delta: how long to wait before processing the next step \dur ...

  2. ControlValue Quark

    ... getInitial = { |key| key } } { getInitial = initial[_] }; if (prefix.notNil) { ^Pbind( *this.prefixCollectAs(prefix, { |cv, key| [key, cv.asPattern(getInitial.(key))] }, Array).flatten ) } { ^Pbind( *envir.collect({ |cv, key| cv.asPattern(g ...

  3. GrainRenderer Quark

    ... nstrument, name, \amp, 1, \dur, Pseq([dur], 1), \legato, 1 ] ++ params; score = Pbind(*args).asScore(dur); // add synthdef after g_new score.score = score.score.insert(1, [ 0, [\d_recv, synthDef.asBytes ] ] ); buffers.keysValuesDo{|bufNum, ...

  4. Introduction to miSCellaneous Quark

    ... t a first glance. Topics accumulated, some help files have become huge (VarGui, PbindFx) and a lot of examples and documented (extra-)features might hide the basic motivations. As I was asked by colleagues at the Institute of Electronic Mus ...

  5. PitchSet Quark

    ... }; this.partition(this.unisonvector); this.asRatios; ^this } play {|fund = 440| Pbind(\freq, Pseq(this.ratios.ratioToFreq * fund) ).play } playChord {|fund = 440| Pbind( \freq, Pseq([this.ratios.ratioToFreq * fund]), \db, this.ratios.size.n ...

  6. HarmonicVector Quark

    ... / 2 }�{ 0 }; freq = note.ratioToFreq * ref; [freq, freq.asNote, note].postln; ^Pbind(\freq, freq, \dur, 5, \strum, strum).play; } } + Array { asHvector{ ^this.collect{|x| HarmonicVector.from(x) } } ratioToVector{ ^HarmonicVector.from(this) ...

  7. GrainExplorer Quark

    ... nstrument, name, \amp, 1, \dur, Pseq([dur], 1), \legato, 1 ] ++ params; score = Pbind(*args).asScore(dur); // add synthdef after g_new score.score = score.score.insert(1, [ 0, [\d_recv, synthDef.asBytes ] ] ); score.score.printAll; score.re ...

  8. startup10-melodic Quark

    ... bedInStream(inval); // output ~index = ~index + 1; }; }; }); }; ~asPattern = #{ Pbind([\note, \delta], ~asNotePattern.value.collect({ |n| [n, n.dur] })); }; }, nil, #[\requiredKeys]) => PR(\mel1); // melodic process that uses melAdaptSegs P ...

  9. startup10-melodic Quark

    ... bedInStream(inval); // output ~index = ~index + 1; }; }; }); }; ~asPattern = #{ Pbind([\note, \delta], ~asNotePattern.value.collect({ |n| [n, n.dur] })); }; }, nil, #[\requiredKeys]) => PR(\mel1); // melodic process that uses melAdaptSegs P ...

  10. lead-vc Quark

    ... .dbamp, // hard-coding 3 octave drop: fix later argPairs: [amp: 0.5], postArgs: Pbind( \fund, Pfunc { |ev| var rootFreq, mode, octaveRatio; // doesn't check scale/tuning change if(~saveFundFreq.isNil or: { ~modeChanged ?? { false } }) { if( ...

prev 31 32 33 34 35 36 37 38 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow