From 995f41ad9ec5ebc3d665c4d6936969bade649422 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Sat, 8 Sep 2012 03:46:50 +0200 Subject: adapted to new mono LiSa added comments about performance --- live_sampler.ck | 8 ++++++-- 1 file 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; -- cgit v1.2.3