If I have a score loop (here’s a simple ex.):
{ 16 CNT
i1 [0 + $CNT*1.5] .25 0.5 9.00
i1 + . . 9.02
i1 + . . 9.04
i1 + . . 9.07
i1 + . . 9.04
i1 + . . 9.02
}
which in this ex.repeats 16x, and would like to have an envelope control the entire loop such as fading in, holding and fading out, what would be the most practical way to achieve this?
Csound for Android