Csound Csound-dev Csound-tekno Search About

[Csnd] ftgenonce

Date2010-04-15 22:55
Fromfranci
Subject[Csnd] ftgenonce
Hi all,
i am a little bit confused about ftgenonce; why this

iwave   ftgenonce   0, 0, 8192, 7, 1, 4096, 1, 0, -1, 4096, -1

is not a square wave?
To obtain a square wave i need to add last step, like here:

iwave   ftgenonce   0, 0, 8192, 7, 1, 4096, 1, 0, -1, 4096, -1, 0, 1

I do not understand why there is need to declare a step of zero size, i.e.
why the first statement is not sufficient (like for ftgen and ftgentmp).

Thanks,
ciao,
fran.