spell-music / csound-expression

Haskell Framework for Electronic Music
320 stars 31 forks source link

if-then-else on init rates doesn't force i-rate for branches #1

Closed anton-k closed 11 years ago

anton-k commented 11 years ago

We can see it in the generated code:

kr1 = (..) ? 1 : 0
ir2  = (..) ? 2 : kr1

here kr1 should be ir1 (forced to i-rate)