[Csnd] Read a kchannel value at i time?

Hi, can anyone tell me if there is a way to read the value from a named control channel at i-time in an instrument to do init time only management?

I notice this does not work:

ivalue = i( chnget:k( mychan ) )


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

Should be able to just read using the irate chnget like:

ivalue = chnget:i(mychan)

Oh, I feel silly. Thanks Steven! And thanks for the glide example too, that was helpful to play with today. Still not quite where I want things, but it’s coming along, as I scrape away my csound rust. :slight_smile: