deltaStream
a small collection of Instr functions that create Patterns for beat deltas.
(
Pbind(
\dur, Instr("deltaStream.geomHesitate").value([ -4 , 6, 0, 3 , 2 ])
).play;
)
(
p = Instr("deltaStream.geomHesitateAndWander");
// returns a pattern when valued
x = p.value([-5 ]);
Pbind(
\dur, x.trace
).play;
)
by using a Patch on the Instr function you get gui sliders to try out different settings
(
Sheet({ arg f;
Instr.leaves('deltaStream').do({ |instr|
ActionButton(f.startRow,instr.name,{
var p;
p = Patch( instr );
Sheet({ arg f;
var esp;
p.gui(f);
ActionButton(f.startRow,"PLAY Pbind",{
if(esp.isPlaying,{ esp.stop });
esp = Pbind(
\dur,p.value
).play
});
ActionButton(f.startRow,"STOP Pbind",{
esp.stop;
});
})
},minWidth: 300);
})
})
)