[Csnd] Scheduling events using timek - why doesn't this work?
| Date | 2018-11-02 19:40 |
| From | cybilsopsin |
| Subject | [Csnd] Scheduling events using timek - why doesn't this work? |
The code below should trigger instr 999 to play a half-second tone at 3.0 seconds into the performance. Why doesn't it work? |
| Date | 2018-11-02 22:56 |
| From | Mauro Giubileo |
| Subject | Re: [Csnd] Scheduling events using timek - why doesn't this work? |
|
The problem in your code is that "gk_clock_kcy == (kr*3)" will never happen. The reason is that in your example kr is not integer, but the value returned by timek is an integer. It will work if you use instead: "gk_clock_kcy == (round(kr) * 3)". Regards, Il 2018-11-02 20:40 cybilsopsin ha scritto:
|