Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (36) Code (5) Doc (14) Help (6) Quark (11) SCDoc ↗ Forum ↗ Google ↗
  1. extPattern Quark

    ... 110-1301, USA. */ +Pattern { miSC_repTypeFactor { |type| ^1 } eventShortcuts { ^Pcollect({ |e| EventShortcuts.miSC_replaceShortcuts(e) }, this) } symplay { |dict, clock, protoEvent, quant, maxNull = 128| ^PsymNilSafe(this, dict ?? { current ...

  2. Pirama Quark

    ... veldict[event[\irama].value] ?? { leveldict[\default] } } } } /*PiramaOffset2 : Pcollect { *new { arg pattern, leveldict; ^super.new(pattern, { |event| var lag = leveldict[event[\irama].value] ?? { leveldict[\default] }; event[\lag] = event ...

  3. Event patterns and Functions Quark

    ... ([1,10], inf ) * Pfunc { ~a }; An even more generalized operation is the use of Pcollect, which defines the following Stream behaviour: Output of the source stream will be taken as input by the collecting stream, as with Pfunc the Function ...

  4. Collection-extensions Quark

    ... d } unmapMode { arg mode; ^mode.prUnmap(this) } } + Pattern { mapMode { |mode| ^Pcollect({ |item| item.mapMode(mode) }, this) } unmapMode { |mode| ^Pcollect({ |item| item.unmapMode(mode) }, this) } } + Stream { mapMode { |mode| ^this.collec ...

  5. Collection-extensions Quark

    ... p(this, scAccidentals) } } + Pattern { mapMode { |mode, scAccidentals = false| ^Pcollect({ |item| item.mapMode(mode, scAccidentals) }, this) } unmapMode { |mode, scAccidentals = false| ^Pcollect({ |item| item.unmapMode(mode, scAccidentals) ...

  6. TestPatternProxy Quark

    ... == resultB, errorString, false) }; /* the ones commented out need to be checked Pcollect crashes the interpreter */ var functions = [ { |x| x }, { |x| Pseq([x, x]) }, { |x| Pseq([x, (y: 10)]) }, //{ |x| Pselect({ |event| event[\zz].notNil } ...

  7. PLx suite Quark

    ... also Patterns itself. So Patterns including functional code (e.g. Pfunc, Plazy, Pcollect) can, thanks to dynamic scoping, turn into different Streams, depending on the environment where streamifying happens ( Event patterns and Functions ). ...

  8. ddwFilterPatterns Quark

    ... yet dly.do { |x| inval = buffer.wrapAt(max(readI + x, 0)).yield; }; ^inval } } PcollectFinal : Pcollect { var <>finalFunc; *new { |func({ |x| x }), pattern, finalFunc({ |x| x })| ^super.new(func, pattern).finalFunc_(finalFunc) } embedInStr ...

  9. VarGui Quark

    ... ily refer to environmental variables - in case of Pbinds e.g. via Pfunc, Plazy, Pcollect, but more conveniently via the dynamic scope PLx suite - so VarGui can control environmental variables and synth controllers. For basic principles of u ...

  10. preprocessor Quark

    ... rn.asPattern; // for xfer pattern: each ->> command would wrap another layer of Pcollect // so, save the string *without* .collect ~phraseSeqString = pattern.asCompileString; ~phraseSeq = pattern.collect { |phr| ~lastPhrase = lastPhrase; if ...

1 2 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow