[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [sc-users] automated buffer -- How's that get in there?!?
Couple of things on the recorder:
On 2/21/06, scacinto <scottpetersen@xxxxxxxxxxxxxxx> wrote:
> (
> ~rec = Routine({
> var buf1, buf2, node;
> n.do {buf1 = ~pool.select({ |b| b.state == \empty
> }).tryPerform(\choose);
> buf1.debug("buffer selection");
> buf1.notNil.if({node = Synth(\recorder, [\targetbufnum,
> buf1.buffer.bufnum]);
> node.debug("started synth");
> ~stateManager.value(buf1, node);
> });
> }
> })
> )
1. You should have a .wait call at the end of the do loop function.
Otherwise all the recorder synths will start at once.
2. What is the value of n? If n is 0 or nil, the routine will
terminate without doing anything (the do loop gets skipped). If you
play the routine but see no debugging output, check for this.
hjh
--
James Harkins /// dewdrop world
jamshark70@xxxxxxxxxxxxxxxxx
http://www.dewdrop-world.net
"Come said the Muse,
Sing me a song no poet has yet chanted,
Sing me the universal." -- Whitman