Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (184) Code (81) Doc (49) Help (26) Quark (28) SCDoc ↗ Forum ↗ Google ↗
  1. wslib-history Quark

    ... tio now works (also for ScaledUserViewWindow) SimpleMIDIFile.p added (creates a Ppar'ed set of Pbinds) -> call .p.play to play as pattern added dependancies folder added PlayBufCF and PlayBufAlt classes (not documented yet) for automatic cr ...

  2. PLbindefPar Quark

    ... i)); }; PLbindef.new(*pairsI); }; // event shortcut hook must be applied before Ppar, thus case distinction wrappedPLbindefs = plbindefs.collect(_.eventShortcuts); newPdef = super.new(key, Ppar(wrappedPLbindefs)); newPdef.miSC_setRefEnvir(r ...

  3. extSimpleMIDIFile-patterns Quark

    ... sFile = this.copy.timeMode_( 'ticks' ); }; }; if( this.midiEvents.size > 0 ) { ^Ppar( ({ |tr| var sustainEvents, deltaTimes; sustainEvents = thisFile.noteSustainEvents( nil, tr ); if( sustainEvents.size > 0 ) { sustainEvents = sustainEvents ...

  4. PLx and live coding with Strings Quark

    ... ar = 2; ~br = 1; p.stop; Ex.3) Parallel embedding // This can e.g. be done with Ppar, Ptuple or Pspawner, which is most flexible. // There's a tiny isssue here in combination with EventShortcuts, duration keys // should be in full length (Y ...

  5. MarkovSet Quark

    ... chain ( Pfsm2 (m), (instrument: \mark )); c = Pchain (a, (instrument: \mark )); Ppar ([b, c]).play;

  6. TestPatternProxy Quark

    ... t({ ~gg = 8; ~zz = 9; }, x) }, { |x| Psetpre({ ~gg = 8; ~zz = 9; }, x) }, { |x| Ppar([x, x]) }, { |x| Pfin(3, x) }, { |x| Pfin(6, x) }, { |x| Pchain(x, Pseq([(zz: 9), (yy: 10), (zz: 10, yy: 2)], inf)) }, { |x| Pchain( Pbindf(x, \xx, Pseq([1 ...

  7. PLn Quark

    ... 0.2, 0.2], inf ), \note , PLn ( \a ) ); q = Pbindf (p, \note , PLn ( \b )); x = Ppar ([p, q]).play; ) // replace the lower event stream, new notes start after end of embedding Pseq ~a = Pseq ([3, 2, 0]) + [0, -5]; // replace second line ~b ...

  8. Block Quark

    ... = extraPattCount + 1; }; blockFunc = Pdef(("'patt" ++ block ++ "'").interpret, Ppar(pattArr, 1)); /* "this is a ppar".postln;*/ }); }); pattCount = pattCount + 1; /*blockFuncCS = blockFunc;*/ }); if(sync, { timecond[block-1].wait; }); if(t ...

  9. Ptafsiran Quark

    ... isSequenceableCollection.not and: {assoc.value.isKindOf(Pattern).not}) { Error("PparTafsiran requires written out sequences or patterns as values !").throw; }; allValues = allValues.add(assoc.value.asArray); assoc.value = [(index: i)]; /* a ...

  10. EventShortcuts Quark

    ... maybe turning it off and on again on occasion. NOTE: Some pattern classes (e.g. Ppar) don't work correctly with EventShortcuts, but this can be circumvented by applying shortcuts to source event patterns before, see method Pattern::eventSho ...

prev 1 2 3 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow