Csound Csound-dev Csound-tekno Search About

[CSOUND-DEV:5100] Re: New release of CsoundVST for Windows/mingw

Date2004-07-25 15:20
Fromiain duncan
Subject[CSOUND-DEV:5100] Re: New release of CsoundVST for Windows/mingw
> * New functions in the Csound and Csound VST APIs for function table access:
> 
>         /**
>         * Returns the length of a function table.
>         */
>         PUBLIC int csoundTableLength(void *csound, int table);

Nice! Now what will that do if it checks on a non-existant table? Does 
it harmlessly return some value that tells us this table doesn't exist?

>         * Returns the value of a slot in a functon table.
>         */
>         PUBLIC MYFLT csoundTableGet(void *csound, int table, int index);
>         
>         /**
>         * Sets the value of a slot in a function table.
>         */
>         PUBLIC void csoundTableSet(void *csound, int table, int index,
> MYFLT value);

That's awesome. What will happen with these too if the non-existent 
table numbers are given? I would hope it could either a) do nothing or 
b) return a value indicating failure. Is there any reason we could not 
have csoundTableSet return a 1 and 0?

Iain

Date2004-07-25 21:53
From"gogins@pipeline.com"
Subject[CSOUND-DEV:5099] New release of CsoundVST for Windows/mingw
A new file release of CsoundVST with prebuilt mingw binaries for Windows,
and sources for all platforms, is available at from the csound site on
SourceForge.

New features in this release include:

* A prebuilt binary of the Loris opcodes for Csound5, plus Python access to
complete Loris functionality for analysis, resynthesis, and sound morphing.

* Maurizio Umberto Puxeddu's Python opcodes for Csound 4, ported to Csound
5.

* New functions in the Csound and Csound VST APIs for function table access:

        /**
        * Returns the length of a function table.
        */
        PUBLIC int csoundTableLength(void *csound, int table);
        
        /**
        * Returns the value of a slot in a functon table.
        */
        PUBLIC MYFLT csoundTableGet(void *csound, int table, int index);
        
        /**
        * Sets the value of a slot in a function table.
        */
        PUBLIC void csoundTableSet(void *csound, int table, int index,
MYFLT value);


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