| Victor Lazzarini wrote:
> What is the API function that gives access to
> chani, chano. I can only see (in csound.h) the
> 'chn'-opcode related functions (as well as the
> invalue, outvalue). Do we access it with the
> same function as the chn opcodes, using integers
> as channel names?
No, there are no functions for chani/chano yet. These opcodes
use the following members of the CSOUND structure:
int nchanik, nchania, nchanok, nchanoa;
MYFLT *chanik, *chania, *chanok, *chanoa;
this is somewhat similar to ZAK, although I am not sure if the
nchanik, nchania, etc. are the size of the corresponding array,
or the maximum possible index (Opcodes/bus.c seems to be buggy,
as it mixes the above two possible interpretations, resulting in
invalid memory accesses).
To make it possible to access this bus from a host application,
new API functions need to be added. This should be easy once there
is agreement on the name, syntax, and expected behavior of the new
functions.
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net |