new method to sequence samples
This commit is contained in:
@ -1,4 +1,15 @@
|
||||
+ Array {
|
||||
|
||||
sp {
|
||||
arg repeats=inf;
|
||||
var pat;
|
||||
if (this[0].isString,
|
||||
{ pat = Pseq(this[0], inf).collect({|i| Bank(i)}); },
|
||||
{ pat = this[0].collect({|i| Bank(i)})}
|
||||
);
|
||||
^Pindex(pat, this[1], repeats)
|
||||
}
|
||||
|
||||
pat {
|
||||
arg node_proxy, quant=4, fade=0.05;
|
||||
node_proxy.quant_(quant);
|
||||
|
||||
@ -1,11 +1,6 @@
|
||||
+ String {
|
||||
|
||||
/*
|
||||
* Interface with Bank.sc to return a sample faster
|
||||
*/
|
||||
sp {
|
||||
arg sampleNumber = 0, repeats=inf;
|
||||
^Pindex(Bank(this), sampleNumber, repeats);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user