Csound Csound-dev Csound-tekno Search About

[Csnd] syncronizing events

Date2013-07-24 20:17
Fromfrancesco
Subject[Csnd] syncronizing events
Hello,
i'm try the "live-coding" features of Csound6 and my experiment
is this:

instr 1

inizio:
    itime = p4
    timout 0, itime, suona
    reinit inizio

suona:
    k1 expon 1, 0.1, 0.001
    a2 oscili k1*p5, p6, -1
    outs a2, a2
    rireturn

endin

Now i can call the instrument like this:

;                time   amp  cps
i 1 0 120   1        0.1    400
i 1 0 120   2        0.1    200
i 1 0 120   0.5     0.1    800
i 1 0 120   0.25   0.1    100

beginning a "endless" loop of events;
but i evaluate a line each time.
How can i ask to Csound to start the new allocation instrument
at a specific time (i.e. in syncro, for example every 1 sec.)?
Or am i wrong way and there is an easy way to do it?

Many thanks,
ciao,
francesco.








--
View this message in context: http://csound.1045644.n5.nabble.com/syncronizing-events-tp5726002.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2013-07-24 20:31
Fromfrancesco
Subject[Csnd] Re: syncronizing events
Ok, sorry everyone!
For livecoding i'm working with API, so it's to my script to handle things.
Apologies for the noise .. 

ciao,
francesco.




--
View this message in context: http://csound.1045644.n5.nabble.com/syncronizing-events-tp5726002p5726004.html
Sent from the Csound - General mailing list archive at Nabble.com.