<html><body><div style="color:#000; background-color:#fff; font-family:tahoma, new york, times, serif;font-size:10pt"><div style="font-family: tahoma, 'new york', times, serif; font-size: 10pt;">Hi All,</div><div style="font-family: tahoma, 'new york', times, serif; font-size: 10pt;"><br></div><div style="font-family: tahoma, 'new york', times, serif; font-size: 13px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;">I'm a programmer that is totally new to sound synthesis and STK.</div><div style="background-color: transparent;"><span style="background-color: transparent; font-family: tahoma, 'new york', times, serif; font-size: 13px;">I've built the demo project on Windows XP, I'm playing with it, and I have some questions...&nbsp;</span><br></div><div style="font-family: tahoma, 'new york', times, serif; font-size: 13px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><br></div><div style="font-family:
 tahoma, 'new york', times, serif; font-size: 13px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><span style="background-color: transparent;">When I play a SKINI file in realtime I hear a lot of pops and crackling/buzzes at specific times in the sequence&nbsp;</span>(demo Clarinet -or -if scores/bookert.ski)<span style="background-color: transparent;">.</span></div><div style="font-family: tahoma, 'new york', times, serif; font-size: 13px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><span style="background-color: transparent;">The pops and crackling always happens at the same points in the sequence.</span></div><div style="font-family: tahoma, 'new york', times, serif; font-size: 13px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><span style="background-color: transparent;">I've noticed that my CPU usage tops out when the crackling starts (BTW, I have 3.4 Ghz Pentium 4
 CPU).</span></div><div style="font-family: tahoma, 'new york', times, serif; font-size: 13px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><span style="background-color: transparent;">If I generate a .wav file instead and play the .wav file then I don't hear any crackling&nbsp;</span><span style="font-size: 10pt;">(demo Clarinet -if scores/bookert.ski -ow clarinet.wav)</span><span style="font-size: 10pt;">&nbsp;</span><span style="background-color: transparent;">.</span></div><div style="font-family: tahoma, 'new york', times, serif; font-size: 13px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><span style="background-color: transparent;">I figure the issue must be related to the realtime synthesis of the sound (but I suppose it could be the actual playing of the sound).</span></div><div style="font-family: tahoma, 'new york', times, serif; font-size: 13px; color: rgb(0, 0, 0); background-color:
 transparent; font-style: normal;"><span style="background-color: transparent;"><br></span></div><div style="font-family: tahoma, 'new york', times, serif; font-size: 13px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><span style="background-color: transparent;">I've tried increasing RT_BUFFER_SIZE from 512 to 4096 but that made no difference.</span></div><div style="font-family: tahoma, 'new york', times, serif; font-size: 13px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><span style="background-color: transparent;">Can anybody suggest a remedy?</span></div><div style="font-family: tahoma, 'new york', times, serif; font-size: 13px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><span style="background-color: transparent;">My ultimate goal is too use STK on a Raspberry Pi so I'll need to understand/solve this issue in order to be comfortable moving
 forward.</span><br></div><div style="font-family: tahoma, 'new york', times, serif; font-size: 13px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><span style="background-color: transparent;"><br></span></div><div style="font-family: tahoma, 'new york', times, serif; font-size: 13px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><span style="background-color: transparent;">Thanks in advance,</span></div><div style="font-family: tahoma, 'new york', times, serif; font-size: 13px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><span style="background-color: transparent;"><br></span></div><div style="font-family: tahoma, 'new york', times, serif; font-size: 13px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><span style="background-color: transparent;">-ted stockwell</span></div><div style="font-family: tahoma, 'new york', times, serif; font-size:
 13px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><span style="background-color: transparent;"><br></span></div><div style="font-family: tahoma, 'new york', times, serif; font-size: 13px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><span style="background-color: transparent;"><br></span></div><div style="background-color: transparent;"><font face="tahoma, new york, times, serif" size="2">PS: I've ordered a copy of Real Sound Synthesis for Interactive Applications but I haven't received it yet, so I don't understand how any of this stuff works :-).</font><br></div><div><font face="tahoma, new york, times, serif" size="2"><br></font></div></div></body></html>