| invalue/outvalue are independent as well. They call the
host callbacks that are assigned to them by the API.
The bus needs actually to be implemented by the host.
These opcodes are just means of calling the host callbacks
and passing values to them.
See the code for csoundapi~, where I have used this
method for passing control values.
Victor
----- Original Message -----
From: "Jonatan Liljedahl"
To: "Developer discussions"
Sent: Wednesday, January 23, 2008 10:46 PM
Subject: Re: [Cs-dev] software busses
> victor wrote:
>> Well, chani and chano are numeric, so if you don't want to
>> deal with strings, these are more handy. Also, there is
>> a fundamental difference, chani and chano are independent
>> of each other, so data sent in chano channel 1 will not appear
>> in chani channel 1 (unless the host copies it).
>
> I see, I didn't know about the independency of chani and chano. So then
> chnget and chnset is almost like setting/getting a global variable,
> except that it's also available to the host app?
> What about outvalue and invalue, are they also independent? My feeling
> is that the channel name of outvalue/invalue is more like an ID and that
> it isn't actually a bus that stores values, is this right?
>
> perhaps all this should go in some API tutorial... :)
>
> --
> /Jonatan [ http://kymatica.com ]
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net |