Csound Csound-dev Csound-tekno Search About

understanding signals

Date2005-11-04 17:32
FromKen
Subjectunderstanding signals
i'm confused.  is it posible, or will it be possible to send and 
recieve, control and/or audio signal, between multiple running instances 
of csound?  thanks,
ken

Date2005-11-04 18:43
FromDavid Akbari
SubjectRe: understanding signals
On Nov 4, 2005, at 12:32 PM, Ken wrote:

> i'm confused.  is it posible, or will it be possible to send and 
> recieve, control and/or audio signal, between multiple running 
> instances of csound?  thanks,
> ken

At present I do not know of a way use audio in multiple instances of 
Csound from any existing *commandline* version.

However the main facility for transmission of control data between 
Csound processes is realized best at present with the use of the OSC 
opcodes by John ffitch and Istvan Varga. Check the CVS canonical 
examples folder for some examples.

It is possible to do your idea

On Nov 4, 2005, at 1:10 PM, Ken wrote:

> run 2 instruments on 2 seperate csound instances, and send some signal 
> from each to a reverb running on a 3rd instance.

by using the [csoundapi~] object in Pure Data. You would simply create 
three instances of the object and load each with their respective .csd 
file. You could use the Pure Data environment to scale amplitude 
between instances ("send") and be using the in, ins, and/or inch 
opcodes (and their respective outX equivalents) to receive audio from 
the other UGen instruments.

If further clarification is necessary to make this point, examples will 
be provided. However they are not initially offered because posting 
puredata patches to this list I have been informed is not in good 
practice.


-David

Date2005-11-04 18:55
FromIain Duncan
SubjectRe: understanding signals
>> i'm confused.  is it posible, or will it be possible to send and 
>> recieve, control and/or audio signal, between multiple running 
>> instances of csound?  thanks,
>> ken

You could use a host app using the csound 5 api to do this, in theory at 
least. You can have each csound instance running with its own CSOUND 
pointer and have audio come in and out of the api host passing to each 
instance I'm not sure if anyone has actually tested that yet? However, 
it won't be all that simple as far as programming goes, so I would think 
hard about whether that is actually necessary, and whether it confers 
any real advantages. It preserves namespaces between instances but makes 
it very difficult to pass control data back and forth between the 
different parts compared to just using one instance.

Iain