| Hi all,
I think I've found a bug, or at least, am confused and need some
clarification. =) I was writing a user-defined opcode today and had
placed it in the instr 0 space of a CSD file. If I use ftgen statements
in that area as well, all would compile fine if the ftgen statements
were located before the user-defined opcodes. If they were placed after
the user-defined opcodes, an error statement along the lines of:
error: misplaced opcode, line 136:
gi_scanned_matrix_steven2 ftgen 0, 0, 16384, -23, "steven2"
would occur for every ftgen statement.
I've attached two CSD files that demonstrate the error. The files are
barebones and the only difference is in the location of the ftgen
statement. The one marked good will compile without error, while the
one marked bad will give an error.
I'm not sure if this a known issue with working with User-Defined
Opcodes or not (I couldn't find documentation on it). I'm going to take
a look at source code to see what causes this but if anyone can fill me
in if this is the way it should be please let me know.
BTW: This is the case with both csound4 and csound5.
Thanks,
steven
|