[chuck-users] Machine.add() and me.yield()

mike clemow michaelclemow at gmail.com
Thu Jul 2 16:43:51 EDT 2020


Greetings Chuckists,

Looking for validation on this before I change many, many lines of code:
I'm noticing clicks and pops in running audio when I do something like this:

Machine.add("thingOne.ck");
Machine.add("thingTwo.ck");
Machine.add("thingThree.ck");
Machine.add("thingFour.ck");

and also with Machine.remove(idNum); four times in a row.

Question:

Is this:

Machine.add("thingOne.ck");
Machine.add("thingTwo.ck");
Machine.add("thingThree.ck");
Machine.add("thingFour.ck");
me.yield();

significantly different than this:

Machine.add("thingOne.ck");
me.yield();
Machine.add("thingTwo.ck");
me.yield();
Machine.add("thingThree.ck");
me.yield();
Machine.add("thingFour.ck");
me.yield();

???

The same for sporking shreds four in a row.

Warmly,
Mike

--
Michael Clemow
Artist/Composer/Sound Designer
http://michaelclemow.com
(he/him)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cs.princeton.edu/pipermail/chuck-users/attachments/20200702/af44d845/attachment.html>


More information about the chuck-users mailing list