[Csnd] Invalid ftable?

Doing a couple of book examples page 34-36.
I keep getting a initiation error for the “envlpx” for an Invalid ftable.

kenv envlpx iamp, iatk, idur, irel, iatkfun, iatdec, ixmod

; instr strt dur ampdb ifrq ifun iatk irel iatkfun iatdec ixmod
; p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11
i 122 0 4 10000 110 1 0.125 3 0.2 0.7 0.1

What am I doing wrong. Sorry for the rookie queries,
a bit rusty.

BTW,… is there a newer edition for “the book”? Maybe one of
my problems.

Thanks all,

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

I assume this is from "The Csound Book"

If I count the arguments correctly iatkfn is a f-table number; you have this as 0.2 which is not what is in the book. Correct that at least.

==John ff

First time using this one. What would be a good
value range for iatkfun?


The function table is expected to be rescaled, so the range is 0-1, with an extended guard point.
It’s just a rise shape, GEN7 can do it.

See the man page for an example,


Prof. Victor Lazzarini
Maynooth University

Thanks, need to re-read about the different GEN’s again.

Thanks again,