<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
Kas,<br><br>So, I went ahead and updated to 1.2.1.3 last night.  I noticed the error with .loopRec is gone.  However, my issue persists.  Apparently I misunderstand something.  Here is a portion of my code:<br><br><font style="font-size: 8pt;" size="1"><i>    if (func == 1) {<br>        //looper.clear();                //Causes a RT error with Jack<br>        //0 => looper.loopRec;             //Does nothing<br>        0 => looper.play;            //Record<br>        0::ms => looper.recPos;<br>        <<<"Recording">>>;<br>        1 => looper.record;<br>        now => start;<br>    }<br>    if (func == 2) {                //Playback Loop Continuously<br>        0 => looper.record;<br>        now - start => looper.loopEnd;<br>        0::ms => looper.playPos;<br>        <<<"Playing">>>;    <br>        1 => looper.play;<br>    }<br>    if (func == 6) {                //Begin Overdub    <br>        0.8 => looper.feedback;<br>        looper.playPos() => looper.recPos;<br>        1 => looper.record;<br>    }<br>    if (func == 7) {                //End Overdub<br>        0 => looper.record;<br>    }</i></font><br><br>Basically, everything works fine so long as I don't overdub.  If I call the first portion then the second, I get a loop.  If I recall the first, it overwrites the original loop and I get another loop... awesome.  ie (sporking some other function):<br>1 => func;<br>wait<br>2 => func;<br>wait<br>1 => func;<br>wait<br>2 => func;<br><br>Now, as soon as I go for the overdub, all is well until I try and start from the beginning.<br>1 => func;<br>wait<br>2=> func;<br>wait<br>6=> func;<br>wait <br>7=>func;<br>wait<br>1=>func; //Here I end up with things overdubbing again even if I set 0=>looper.loopRec;<br><br>It seems that loop recording begins after I set a feedback level (I'm cool with that), but how do I get out of loopRec mode if not with the commented out line?  Also, if I call .clear() or call .duration, I get a realtime error from Jack and it shuts down.  I'm sure I'm missing something.  Could you point me in the right direction?<br><br>Much thanks,<br>Matt<br><br> <br><div><div id="SkyDrivePlaceholder"></div>> Date: Mon, 23 Apr 2012 20:10:25 +0200<br>> From: signal.automatique@gmail.com<br>> To: chuck-users@lists.cs.princeton.edu<br>> Subject: Re: [chuck-users] LiSa looping issue<br>> <br>> On Mon, Apr 23, 2012 at 02:01:52PM -0400, Matt Bard wrote:<br>> > <br>> Hi, Matt!<br>> <br>> > I'm using Dracula 1.2.0.8<br>> <br>> Then that is most likely the issue; since then there have been quite a<br>> few updates and especially LiSa has been improved a lot.<br>> <br>> If you are using 1.2.0.8 then I suspect you are on a Debian based<br>> Linux and using the old package. I would recommend you try building<br>> ChucK from the latest source. If that would be a new kind of thing to<br>> do for you then I hope it inspires some confidence to hear that it's<br>> not as difficult as it might seem and there will be help if you have<br>> problems.<br>> <br>> Hope that helps, shout if it doesn't.<br>> <br>> Yours,<br>> Kas.<br>> _______________________________________________<br>> chuck-users mailing list<br>> chuck-users@lists.cs.princeton.edu<br>> https://lists.cs.princeton.edu/mailman/listinfo/chuck-users<br></div>                                     </div></body>
</html>