Skip to content
View eleses's full-sized avatar

Block or report eleses

Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. A Pfset with closure A Pfset with closure
    1
    p = Pbind(\dur, Pseq([1, 2, inf]));
    2
    (r = PfsetC({var grp = Group(); ~group = grp;
    3
    	{ grp.release.postln; fork { 3.wait; grp.free }}}, p).play);
    4
    r.reset; // /hit a few time before it reaches the infinite event
    5
    r.stop; // several groups freed.
  2. PfuncLazy PfuncLazy
    1
    // When you want to Plazy a Pfunc but still want to get resetFunc called
    2
    // use this instead. See https://bit.ly/37t90WA for more
    3
    
                  
    4
    PfuncLazy : Pattern {
    5
    	var <>func;