summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2012-09-08 03:46:50 +0200
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2012-09-08 03:46:50 +0200
commit995f41ad9ec5ebc3d665c4d6936969bade649422 (patch)
tree2534de0bb327aff11cd0c93be781a877a4544a5b
parent7f6847ce132060ca3fe8961db53eaa24aa770223 (diff)
downloaddigitale-debutanten-995f41ad9ec5ebc3d665c4d6936969bade649422.tar.gz
adapted to new mono LiSa
added comments about performance
-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;