| Greetings-
Before I was aware of this list, I began using the grain opcode. Didn't
take long to discover that the argument, igdur, is missing from the
syntax structure in the manual, but is defined under Initialisation.
Apparently igdur is required by the compiler, since an Insufficient
Arguments message comes up if it is not there. Here is the syntax as
listed in the manual, both old and new versions:
ar grain xamp, xpitch, xdens, kampoff, kpitchoff, kgdur,
igfn, iwfn, imgdur
Through a little reasoning, but mostly trial and error, I came up with
this:
ar grain xamp, xpitch, xdens, kampoff, kpitchoff, kgdur,
igfn, iwfn, igdur, imgdur
Actually, I don't understand the purpose of igdur, since it seems to be
covered by kgdur, but the compiler wants to see it. To be safe, I've
always set kgdur = igdur and imgdur to a multiple such as imgdur =
2*igdur.
Under these conditions, the statement will compile and produce
reasonably predictable results, but can anyone tell me if it is correct?
It might be fun to play around with kgdur, but it takes so long (for me,
at least) to program grain for the results I hear in my head, that I've
been content not to add that extra layer of uncertainty.
Thanks for any information you can give me.
-dB
|