Csound Csound-dev Csound-tekno Search About

[CSOUND-DEV:5427] Re: Loadable fgens

Date2004-11-10 15:55
From"gogins@pipeline.com"
Subject[CSOUND-DEV:5427] Re: Loadable fgens
I suggest you make ftp and e members of ENVIRON as this will hasten the
work of making Csound multiply instantiable.

Original Message:
-----------------
From:  jpff@codemist.co.uk
Date: Wed, 10 Nov 2004 11:54:58 +0000
To: csound-dev@eartha.mills.edu
Subject: [CSOUND-DEV:5426] Re: Loadable fgens


I have committed the code to ftest.c which defines a totally dull fgen
and it seems to work.  Currently I am using option 2 (Add ftp and e as
arguments to all loaded fgens).  Still open to improvements.
==John ffitch


--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .

Date2004-11-10 17:16
Fromsteven yi
Subject[CSOUND-DEV:5428] Re: Loadable fgens
I'd also vote for putting the values with ENVIRON rather than the other 
options as it seems the logical place to find the information.  I'm 
curious though if we'll need another environment variable for loading 
dynamic fgens ("FGEN_DIR" ?) or if we should rename OPCODE_DIR to 
CSLIBDIR or something along those lines, as perhaps we'll have other 
loadable objects in the future.

I think I remember Istvan doing something like CSLIBDIR and also a 
CSLIBDIR64, one for opcode libs compiled for floats and the other for 
opcode libs compiled with doubles.  I think that would be something to 
implement in csound5 as well, or at least would be interested to discuss 
other alternatives here.

steven

gogins@pipeline.com wrote:

>I suggest you make ftp and e members of ENVIRON as this will hasten the
>work of making Csound multiply instantiable.
>
>Original Message:
>-----------------
>From:  jpff@codemist.co.uk
>Date: Wed, 10 Nov 2004 11:54:58 +0000
>To: csound-dev@eartha.mills.edu
>Subject: [CSOUND-DEV:5426] Re: Loadable fgens
>
>
>I have committed the code to ftest.c which defines a totally dull fgen
>and it seems to work.  Currently I am using option 2 (Add ftp and e as
>arguments to all loaded fgens).  Still open to improvements.
>==John ffitch
>
>
>--------------------------------------------------------------------
>mail2web - Check your email from the web at
>http://mail2web.com/ .
>
>
>
>
>  
>

Date2004-11-10 17:20
Fromsteven yi
Subject[CSOUND-DEV:5429] Re: Loadable fgens
Curious, I noticed that in csdl.h, the FLINKAGE has a function that 
returns NGFENS.  Is this correct, or should this be NFGENS ? (I'm 
assuming this is for Named FGENS?) This would apply to csoundCore.h and 
elsewhere too.

steven