Quoting Atte André Jensen
Is there any greater truth hidden in the fact that you don't connect b to dac above?
Nope.
Where to go from here?
Hmm, thats surprising... the backup solution is to load all of the SndBuf's that you could possibly need in advance, before the your patches do any actual synthesis. That way there can't be any hiccuping because there is nothing to hiccup. This is pretty easy in a single file program-- just load the SndBufs before you advance time. For ChucK programs that involve multiple ChucK files going in and out of the virtual machine and loading different WAV files, you could probably create some public class with an array of static SndBufs that get loaded at the very beginning. Then, instead of creating SndBufs on the fly, just access the public class static members. This should cover a lot of potential usages of SndBuf, but definitely not all of them. spencer
-- peace, love & harmony Atte
http://atte.dk | http://myspace.com/attejensen http://anagrammer.dk | http://atte.dk/compositions _______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users