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

Re: [sc-users] OSC Pattern Scheduling



Esben Stien <b0ef@xxxxxxxxxxxxxxxx> writes:

> Any way to loop the block of OSC commands?.

I'm still struggling with this. 

It doesn't seem to work right with routine, either: (at some point,
doing it like this, it sounds as if two synths are triggered at the
same time.)

I also can't set it to go off at beat 0, since it would be late.

(
d = Routine({
    20.do({
        var t;
        t = BeatSched.global.tdeltaTillNext(8.0);
        t.postln;
        t.wait;
        (
            c.sched(1.0,s,i,{Synth("tutorial-sine",[\gate,1]); });
            c.sched(3.0,s,i,{Synth("tutorial-sine",[\gate,1]); });
            c.sched(5.0,s,i,{Synth("tutorial-sine",[\gate,1]); });
        )
    });
});
SystemClock.play(d);
)


Anyone got any pointers to loop these commands? (trigger them every
8th beat or so).

-- 
Esben Stien is b0ef@e     s      a             
         http://www. s     t    n m
          irc://irc.  b  -  i  .   e/%23contact
          [sip|iax]:   e     e 
           jid:b0ef@    n     n