Csound Csound-dev Csound-tekno Search About

[CSOUND-DEV:3806] loading plugins

Date2003-12-18 20:27
FromAlex Norman
Subject[CSOUND-DEV:3806] loading plugins
Hello,
I'm developing some opcodes that will allow for ATS data to be used in 
Csound.  Actually most of the development is done, I've just got to 
test them more.  I'm attempting to make my opcodes load as plug-ins so 
they'll be forward compatible with Csound5 but I cannot find any 
documentation and the web based search function for this list is 
very difficult to navigate.

So, I looked at the OSClib and metro code to see what is done there and 
have added what I think is needed (the stuff that loads my info into 
OENTRY like at the bottom of OSC-sock.c).
But I don't know how to Load the plug-ins (my own or the OSClib or metro) 
plug-ins.

Is this something that I specify in the orc? or an argument that I 
pass to Csound? or should all plug-ins be in a specific directory?

Thanks,
Alex Norman
University of Washington

Date2003-12-18 20:40
FromJohn ffitch
Subject[CSOUND-DEV:3807] Re: loading plugins
On Thu, 18 Dec 2003, Alex Norman wrote:

> Hello,
> I'm developing some opcodes that will allow for ATS data to be used in 
> Csound.  Actually most of the development is done, I've just got to 
> test them more.  I'm attempting to make my opcodes load as plug-ins so 
> they'll be forward compatible with Csound5 but I cannot find any 
> documentation and the web based search function for this list is 
> very difficult to navigate.

Well I have writtten this down somewwhere....

> 
> So, I looked at the OSClib and metro code to see what is done there and 
> have added what I think is needed (the stuff that loads my info into 
> OENTRY like at the bottom of OSC-sock.c).

You need the OENTRY stuff and that is about it
Look at any file in csound5/Opcodes and you wil see a version.


> But I don't know how to Load the plug-ins (my own or the OSClib or metro) 
> plug-ins.

There is a command line option (not sure which platform you are using) to 
load a library

> 
> Is this something that I specify in the orc? or an argument that I 
> pass to Csound? or should all plug-ins be in a specific directory?
> 

That is close to something we are discussing.  Steven Yi wants an include 
in teh orchestra, I would prefer an external configuration system.  Too 
soon to say.  certaionly will not be a specific directory as that would 
require too much specialisation.

==John

Date2003-12-18 21:03
From"Matt J. Ingalls"
Subject[CSOUND-DEV:3808] Re: loading plugins
> That is close to something we are discussing.  Steven Yi wants an include
> in teh orchestra, I would prefer an external configuration system.  Too
> soon to say.  certaionly will not be a specific directory as that would
> require too much specialisation.

why not all 3?