new sequencing methods

This commit is contained in:
2023-12-31 12:21:10 +01:00
parent 908e48db0d
commit b38a8431d4
2 changed files with 13 additions and 1 deletions

View File

@ -12,9 +12,10 @@
pat {
arg node_proxy, quant=4, fade=0.05;
var newArray = this ++ [\type, \buboEvent];
node_proxy.quant_(quant);
node_proxy.fadeTime = fade;
node_proxy[0] = Pbind(*this);
node_proxy[0] = Pbind(*newArray);
^node_proxy;
}
@ -22,6 +23,11 @@
^Pbind(*this)
}
euclid {
arg repeats=inf;
^Pbjorklund2(this[0], this[1], repeats);
}
pseq { arg repeats=inf, offset=0;
^Pseq(this, repeats, offset);
}

View File

@ -73,6 +73,12 @@ Boot {
Server.default.avgCPU.round(2),
Server.default.peakCPU.round(2)), 40)
}, Server.default);
Event.addEventType(\buboEvent, {
arg server;
~buf = Bank(~sp)[~n];
~type = \note; // back to note
currentEnvironment.play;
});
}
}