Hi Ge,<br><br>I was running the stk/clarinet.ck example. No soundfiles involved at all. It was usually only in creating and destroying shreds that there was a problem. Actually, now that I think about it, glitching also occurred when I would change focus to another program and carry out some action, 
i.e. scrolling through the chuck manual in Adobe Reader. This is on an Intel with Pentium M, running Windows XP Pro with SP2. <br><br>The PIII was running the same version of chuck, <a href="http://1.2.0.5">1.2.0.5</a>; the only difference I can think of, offhand, is that it was running an older version of Windows XP Pro, with either SP1, or no service packs at all. So possibly it's an issue with something in SP1 or SP2.
<br><br>Unfortunately, I am planning to use chuck with a MIDI controller and joystick, so latency is an issue. I have a performance coming up on April 30th, with an electroacoustic ensemble, so I will be interacting with improvising instrumentalists in real time. I'd love to use chuck, if the performance is good enough.
<br><br>I do have a cheap M-Audio MobilePre USB soundbox, which I haven't yet tested with chuck. Possibly that will help with the glitching problem. However, if I need to boost chuck's priority, and it works, then I'm perfectly willing to do that. Is there any reason I SHOULDN'T do so?
<br><br>Btw Ge, I was at your presentation last Tuesday in Chicago (DorkBot meeting), which got me excited about chuck gave me the idea to try chuck for the upcoming performance. I'm really excited to see this software develop further!
<br><br>~David<br><br><div><span class="gmail_quote">On 4/20/06, <b class="gmail_sendername">Ge Wang</b> &lt;<a href="mailto:gewang@cs.princeton.edu">gewang@cs.princeton.edu</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi David!<br><br>&gt; However, to get it to run well on my new Dell laptop running WinCrap XP,<br>&gt; I had to go CTL-ALT-DEL, open up processes, and set the priority of<br>&gt; chuck.exeto &quot;realtime&quot;. Otherwise, when I create and delete shreds, I
<br>&gt; was getting unwanted glitching. Is there some way to automate this<br>&gt; process, so that chuck always has realtime priority? A command line flag<br>&gt; would be really helpful I guess.<br><br>On windows, there isn't a way to automatically boost the priority (and
<br>usually shouldn't have to).&nbsp;&nbsp;This glitching on windows seems to be a new<br>feature of <a href="http://1.2.0.5">1.2.0.5</a>.&nbsp;&nbsp;One way to alleviate the problem is to specify a<br>larger audio buffersize (which will increase your latency, but doesn't
<br>matter too much if you aren't using interactive input, like joystick, kb,<br>etc.):<br><br>&nbsp;&nbsp;&nbsp;&nbsp; &gt; chuck --bufsize2048<br><br>for example, sets the buffer size to 2048.&nbsp;&nbsp;Try different powers of two.<br><br>&gt; Also, is it normal for me to need to do this?
<br><br>Hmm, one shouldn't have to do this...&nbsp;&nbsp;We hope to track the cause down for<br>the next release.&nbsp;&nbsp;It may have something to do with loading sound files,<br>the implementation for that did change a little.&nbsp;&nbsp;Do these shreds that
<br>glitch load sound files?<br><br>&gt; Strangely, despite maxing out the CPU, on an old PIII desktop with only<br>&gt; 256 MB RAM (as opposed to 1 gig on the laptop) I had no problems like<br>&gt; this and creating and deleting shreds occurred very smoothly. That was
<br>&gt; with a clean install of WinCrap, however.<br><br>That is strange, were both computers running the same version of chuck?<br>If not, you might try running the PIII chuck on your new computer.<br><br>We hope to fix this soon.
<br><br>Best,<br>Ge!<br>_______________________________________________<br>chuck-users mailing list<br><a href="mailto:chuck-users@lists.cs.princeton.edu">chuck-users@lists.cs.princeton.edu</a><br><a href="https://lists.cs.princeton.edu/mailman/listinfo/chuck-users">
https://lists.cs.princeton.edu/mailman/listinfo/chuck-users</a><br></blockquote></div><br>