Csound Csound-dev Csound-tekno Search About

Re: more than one krate

Date1999-02-13 15:40
Fromrasmus ekman
SubjectRe: more than one krate
Kevin Gallagher wrote:
> 
> could there be a way to have more than the
> four rates p, i, k, and a for csound? 

p? 
anyway, you could use a kgoto counter to skip code

Like:

instr 1
    icount = 100
    kcount init icount

; ...code

if kcount > 0 kgoto countdown
;... Midi code (or whatever)
    printks "let's twist again %.2f", 0, kcount
    kcount = icount
kgoto continue

countdown:
    kcount = kcount - 1
    printk .01, kcount
continue:

; ...more code