Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1588) Code (53) Doc (667) Help (150) Quark (717) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. PbindFx Quark

    ... efaultCleanupDt = 0.2; *new { |pbindData ...fxData| var srcPat, fxPat, pairs, fxEventsPat; srcPat = case { pbindData.isKindOf(SequenceableCollection) }{ Pbind(*pbindData) }{ pbindData.isKindOf(Pattern) }{ pbindData }{ true }{ SimpleInitErro ...

  2. SuperDirt Quark

    ... Channels; SynthDef(instrument, synthFunc).add; this.addModule(synthName, { |dirtEvent| dirtEvent.sendSynth(instrument) }, test); } orderModules { |names| // names provide some partial order var allNames = modules.collect { |x| x.name }; var ...

  3. TestJSONlib Quark

    ... this.assertEquals( j, "{ \"null\": null }", "Use Ref(nil) to represent null in event"; ); // .parseJson allows us to store nil in a dict // which is not possible otherwise o = "{\"null\": null}".parseJSON; j = JSONlib.convertToJSON(o); thi ...

  4. startup20-basicChordBits Quark

    ... ); { |notes| Pshuf(notes, inf) } => ArpegPat(\shuf); // microrhythms #{ |notes, event| var topNote, gateIndex, gate; topNote = event[\top]; Pn([event.delta, event[\length], topNote.tryPerform(\gate) ? 0.5], 1) } => MicRh(\blockFollow); #{ | ...

  5. ddwPatternLengthEstimation Quark

    // methods for estimating number of events in a pattern // most base patterns are infinite + Pattern { estimateLength { ^inf } } + Punop { estimateLength { ^a.estimateLength } } + Pbinop { estimateLength { ^if(adverb == \x) { a.estimateLeng ...

  6. KtlLoop_MKtl_example Quark

    ... ction of the group of all sliders to record ~mktl.elAt(\sl).action = { |el| var event = (\type: \set).put(el.name, el.value); "rec: ".post; event.postcs; ~loop.recordEvent( event ); }; ) // for testing everything so far: // start recording ...

  7. Gen Quark

    ... ass.new(gens, phase1) } storeArgs { ^[gens, phase] } } Gbind : Gen { var <>protoEvent, <>pairs; *new { arg protoEvent ... pairs; //var event = gen.genCurrent.copy; var event = (parent: protoEvent); var endval = pairs.size - 1; if (pairs.siz ...

  8. README Quark

    # EventArray A system based on arrays of events

  9. PbindArrayDefault Quark

    ... nsider a Pbind as follows (a bit contrived, but it could happen). Note that the event prototype e contains default values for a, b, c and d. p = Pbind ( [ \a , \b , \c , \d ], Pfunc ({ var out = Array .newClear(4); 3.do({ out[4.rand] = 10.r ...

  10. PbindArrayDefault Quark

    ... nsider a Pbind as follows (a bit contrived, but it could happen). Note that the event prototype e contains default values for a, b, c and d. p = Pbind ( [ \a , \b , \c , \d ], Pfunc ({ var out = Array .newClear(4); 3.do({ out[4.rand] = 10.r ...

prev 21 22 23 24 25 26 27 28 29 30 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow