Harald, What you said makes perfect sense. However, in the original code, where the issue was initially found, the second duration call was not made until several seconds into the program which leads me to think the issue lies somewhere else. That said, I'll give it a go and see what happens. Kas, I'll give Jack2 a go tonight as well and see what the results of that are. Thanks all, -Matt
Date: Fri, 27 Apr 2012 10:00:37 +0200 From: signal.automatique@gmail.com To: chuck-users@lists.cs.princeton.edu Subject: Re: [chuck-users] LiSa looping issue
On Fri, Apr 27, 2012 at 09:41:40AM +0200, Harald wrote:
My guess: I think chuck needs some time to initialize and build your audio chain (in your script) etc. But you try recording beginning at the first sample. So chuck isn't ready early enough and jack misses some response from chuck. Something like 1000 ms => now at the start of the script may change that.
Yes, that seems reasonable. Another thing is that Jackd2 is far more forgiving about missing a few periods than Jackd1 is. 1 will disconnect you over missing deadlines while 2 won't. There must also be advantages to 1, or it wouldn't still be developped and available, but because of this I use 2.
Yours, Kas. _______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users