[Csnd] xtratim time for release phase

Hi,

I would like to control the outputs release phase of multiple instruments, but it seems that in the release phase the time I've chosen as a release phase it's "condensed" for the cosseg opcode.

This is my exemple, i would like a release phase of 60 seconds, but the instrument make it really short and I don't understand why.

gixtratim init 60

  instr 1

aout oscili .25, random:i(300, 400)

    xtratim gixtratim

krel init 0
krel release
igain init 1
kgain init 1

if krel == 1 then
  kgain *= cosseg(igain, gixtratim, 0)
  printk 1, kgain
endif
    
  outall aout*kgain

  endin

Thanks,

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