Re: [chuck-users] Why is my code doing this?

2019-01-03 Thread JP YĆ©pez
Hey Forrest, Haven't really had a chance to take a closer look at the code, but from your description, I think Chubgraphs might be able to help you out with this. If you haven't tried them out, Chubgraphs have a built-in outlet, and if you connect all AdditivePartials to it, you should be able

Re: [chuck-users] Why is my code doing this?

2019-01-03 Thread Forrest Cahoon
Thanks! This was totally evading me. So even though I haven't called b.play(), its AdditivePartials will make sound when time advances -- that's what I was missing. Another option that works is to set the gain of each partial to 0 in init and at the end of play(). What I would really like is be a

[chuck-users] running() doesn't return status of the shred

2019-01-03 Thread mario buoninfante
Hi, I found out that running() always return the value 0, doesn't matter if the shred is actually running or not. done() instead seems to work fine. I tried on my Linux machine running Ubuntu Studio 16.04 using ChucK 1.4.0.0. Here's a little script that shows the issue: 0 => int c; spork ~ l