summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--live_sampler.ck8
1 files changed, 6 insertions, 2 deletions
diff --git a/live_sampler.ck b/live_sampler.ck
index 0fb5eab..5e8a9bd 100644
--- a/live_sampler.ck
+++ b/live_sampler.ck
@@ -18,11 +18,15 @@ for (0 => int i; i < lisa.cap(); i++) {
lisa[i].duration() => lisa[i].loopEndRec;
}
0 => lisa[i].loop;
+ /* setting this to 1 if we only need one voice improves performance */
1 => lisa[i].maxVoices;
/* patch */
- Bus.channels[0] => lisa[i];
- lisa[i].chan(0) => amp;
+ /*
+ * NOTE: for multichannel LiSa it's more efficient to only chuck
+ * channel 0: lisa[i].chan(0) => amp;
+ */
+ Bus.channels[0] => lisa[i] => amp;
}
lisa[0] @=> LiSaX @currentSample;