| Added opcode (to pvscent.c)
typedef struct {
OPDS h;
MYFLT *k1, *k2;
}BNEWOP;
int newopcset(CSOUND *csound, BNEWOP *p){ *p->k1 = *p->k2; return OK; }
int newopc(CSOUND *csound, BNEWOP *p){ *p->k1 = *p->k2; return OK; }
#define S(x) sizeof(x)
static OENTRY localops[] = {
{"bnewop", S(BNEWOP), 3, "k", "k", (SUBR)newopcset, (SUBR)newopc,
NULL},
{"pvscent", S(PVSCENT), 3, "k", "f", (SUBR)pvscentset, (SUBR)pvscent, NULL}
};
rebuilt; ran
instr
1
kfr1 bnewop 100
endin
result:
orch compiler:
13 lines read
instr 1
error: no legal opcode, line 10:
kfr1 bnewop 100
1 syntax errors in orchestra. compilation invalid
Can anyone explain?
Victor Lazzarini
Music Technology Laboratory
Music Department
National University of Ireland, Maynooth
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net |