| How to add opcodes is documented pretty well in the Csound reference manual
online at csounds.com.
It applies to both csound 4 and csound 5, and briefly explains the changes
for 5.
Regards,
Mike
----- Original Message -----
From: "Niklas Klügel"
To:
Sent: Wednesday, May 18, 2005 5:00 PM
Subject: [Cs-dev] question about AppendOpcode and polymorphic opcodes
> Hi,
> since I am currently porting some opcodes over to the new plugin
> architecture,
> I stumbled across polymorphic opcodes and wondered whether the way they
> are
> being added to the csound engine remains basically the same e.g.
> (from bus.c):
>
> static OENTRY localops[] = {
> { "chano", 0xfffd},
> { "chano.k", S(CHANO), 2, "", "kk", NULL,(SUBR)chanokdo, NULL},
> { "chano.a", S(CHANO), 4, "", "ak", NULL, NULL, (SUBR)chanoado},
> { "chani", 0xffff},
> { "chani.k", S(CHANO), 2, "k", "k", NULL, (SUBR)chanikdo, NULL},
> { "chani.k", S(CHANO), 4, "a", "k", NULL, NULL, (SUBR)chaniado}
> };
>
> thanks for any help...
> regards, nik
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by Oracle Space Sweepstakes
> Want to be the first software developer in space?
> Enter now for the Oracle Space Sweepstakes!
> http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net |