Messages Search About

Re: [Csnd] Another question re: score loop

Date2022-08-22 21:40
FromScott Daughtrey
SubjectRe: [Csnd] Another question re: score loop
Ugh (facepalm)! It seems so obvious now. I suspected such, that somehow instr 1 was continuously resetting 2 so to speak, and had actually read that chapter last night and attempted to solve it using clear.

So per your advice just tried altering the line from instr 1 from

gaLoopEnv = asig

to 

gaLoopEnv = gaLoopEnv+asig

and yes, that works. Funny, I've seen lines like

gaRvb = gaRvn + (asig * p7)

many times but it never clicked to wonder why bother with the +?

Thank you once again, and I'll read up on the Clear and Clip.

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here