Csound Csound-dev Csound-tekno Search About

[Cs-dev] Extending Csound - call a "classic" opcode from a new opcode definition

Date2014-05-20 08:50
Fromobaudouin
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

Date2014-05-20 10:12
FromVictor Lazzarini
SubjectRe: [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  wrote:

> 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
> https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
"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

Date2014-05-20 10:51
Fromjpff@cs.bath.ac.uk
SubjectRe: [Cs-dev] Extending Csound - call a "classic" opcode from a new opcode definition
AttachmentsNone  

Date2014-05-20 11:19
Fromobaudouin
SubjectRe: [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

Date2014-05-20 12:19
FromVictor Lazzarini
SubjectRe: [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  wrote:

> 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
> https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
"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

Date2014-05-20 12:25
Fromobaudouin
SubjectRe: [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