| I suggest named fgens with a function that returns a number for the name. A
variable then can be used to hold the number and pass it to other opcodes.
Otherwise the numbers of the tables will vary by installation and break
scores.
Original Message:
-----------------
From: jpff@codemist.co.uk
Date: Tue, 9 Nov 2004 05:37:14 +0000
To: csound-dev@eartha.mills.edu
Subject: [CSOUND-DEV:5420] Re: [Csnd] Announcement: new pvs opcodes and gen
43
Thinking about gen43 it seems to me time to consider a user-extensible
structure for adding fgens. This is easy in one way; just extend the
array gensub of function pointers, and make GENMAX into a variable.
The problem is numeric allocation. One could allocate new fgens as
they are presented but the user needs to know the allocation. Only
idea I have at present is to generate an internal macro, or to allow
named fgens. Any thoughts?
==John ffitch
--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ . |