Interesting methods

This commit is contained in:
2023-12-28 13:27:43 +01:00
parent 2954990a27
commit 343b3cd614
3 changed files with 12 additions and 23 deletions

View File

@ -3,8 +3,9 @@
/*
* Interface with Bank.sc to return a sample faster
*/
sample {
arg sampleNumber = 2;
^Bank(this)[sampleNumber];
sp {
arg sampleNumber = 0, repeats=inf;
^Pindex(Bank(this), sampleNumber, repeats);
}
}