[Cs-dev] Extending Csound - call a "classic" opcode from a new opcode definition
Date | 2014-05-20 08:50 |
From | obaudouin |
Subject | [Cs-dev] Extending Csound - call a "classic" opcode from a new opcode definition |
Hi all, I can't remember what is the good way to import the functions defined in Opcodes/serial.c into a new opcode.c file (without have to copy all the serial.c code into the new file). Any idea? ----- Olivier Baudouin, PhD http://olivierbaudouin.com MINT-OMF Paris-Sorbonne -- View this message in context: http://csound.1045644.n5.nabble.com/Extending-Csound-call-a-classic-opcode-from-a-new-opcode-definition-tp5735355.html Sent from the Csound - Dev mailing list archive at Nabble.com. ------------------------------------------------------------------------------ "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available Simple to use. Nothing to install. Get started now for free." http://p.sf.net/sfu/SauceLabs _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2014-05-20 10:12 |
From | Victor Lazzarini |
Subject | Re: [Cs-dev] Extending Csound - call a "classic" opcode from a new opcode definition |
It depends: if the code in serial.c is part of a plugin, you will probably have to copy them. If it’s part of the main library and the symbols are not static, you can just declare them as extern in your c module. ======================== Dr Victor Lazzarini Senior Lecturer NUI Maynooth, Ireland victor dot lazzarini at nuim dot ie On 20 May 2014, at 08:50, obaudouin |
Date | 2014-05-20 10:51 |
From | jpff@cs.bath.ac.uk |
Subject | Re: [Cs-dev] Extending Csound - call a "classic" opcode from a new opcode definition |
Attachments | None |
Date | 2014-05-20 11:19 |
From | obaudouin |
Subject | Re: [Cs-dev] Extending Csound - call a "classic" opcode from a new opcode definition |
Thank you Victor. It works fine! ----- Olivier Baudouin, PhD http://olivierbaudouin.com MINT-OMF Paris-Sorbonne -- View this message in context: http://csound.1045644.n5.nabble.com/Extending-Csound-call-a-classic-opcode-from-a-new-opcode-definition-tp5735355p5735361.html Sent from the Csound - Dev mailing list archive at Nabble.com. ------------------------------------------------------------------------------ "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available Simple to use. Nothing to install. Get started now for free." http://p.sf.net/sfu/SauceLabs _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2014-05-20 12:19 |
From | Victor Lazzarini |
Subject | Re: [Cs-dev] Extending Csound - call a "classic" opcode from a new opcode definition |
Was that a plugin you created? In that case, did you have to link to the csound lib? ======================== Dr Victor Lazzarini Senior Lecturer NUI Maynooth, Ireland victor dot lazzarini at nuim dot ie On 20 May 2014, at 11:19, obaudouin |
Date | 2014-05-20 12:25 |
From | obaudouin |
Subject | Re: [Cs-dev] Extending Csound - call a "classic" opcode from a new opcode definition |
Yes, it is a plugin, and I have to add its path in CMakeLists.txt before compilation. ----- Olivier Baudouin, PhD http://olivierbaudouin.com MINT-OMF Paris-Sorbonne -- View this message in context: http://csound.1045644.n5.nabble.com/Extending-Csound-call-a-classic-opcode-from-a-new-opcode-definition-tp5735355p5735364.html Sent from the Csound - Dev mailing list archive at Nabble.com. ------------------------------------------------------------------------------ "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available Simple to use. Nothing to install. Get started now for free." http://p.sf.net/sfu/SauceLabs _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |