[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-users] Synth call not working within task




Den 7. jun. 2006 kl. 00.30 skrev James Harkins:

On 6/6/06, Kyrre Laastad <kyrre@xxxxxxxx> wrote:
Yeah, there is. I'm manipulating the rate of it with a seperate task
with a sample1_play.set.

If you have a separate thread (i.e. Task) manipulating the synth,
there might be a conflict between the two threads that might be
killing or silencing the synths prematurely.

Does the same problem occur if you run the Synth playing task only,
without the synth manipulating one?

That's it! It's working now. I don't know what's wrong about the synth controlling task, though, it's quite basic:

sample1_ratetask =	Task({
	inf.do({
		sample1_play.set(\ratearray, sample1_ratearray);
		sample1_length.rand.wait;
		})
		});

Thanks for your help.
-Kyrre.