Csound Csound-dev Csound-tekno Search About

[Csnd] call SetChannel() form another thread?

Date2013-12-02 21:53
Fromzappfinger
Subject[Csnd] call SetChannel() form another thread?
Can this be done?
Call .SetChannel() from another thread?


Richard



--
View this message in context: http://csound.1045644.n5.nabble.com/call-SetChannel-form-another-thread-tp5730502.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2013-12-02 22:32
Fromzappfinger
Subject[Csnd] Re: call SetChannel() form another thread?
Actually I mean: from another process. Maybe the Python multiprocessing
module could be used?





--
View this message in context: http://csound.1045644.n5.nabble.com/call-SetChannel-form-another-thread-tp5730502p5730505.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2013-12-02 22:43
FromVictor Lazzarini
SubjectRe: [Csnd] Re: call SetChannel() form another thread?
Separate processes generally don't share memory, and so you would not have access to
the csound object that setChannel wants to access. Unless there is a means of sharing
the objects/memory, that would not work.

For separate processes, generally it's either OSC, or using Csound as a server, or even
building a Csound server like Steven did in his Python project.

On 2 Dec 2013, at 22:32, zappfinger wrote:

> Actually I mean: from another process. Maybe the Python multiprocessing
> module could be used?
> 
> 
> 
> 
> 
> --
> View this message in context: http://csound.1045644.n5.nabble.com/call-SetChannel-form-another-thread-tp5730502p5730505.html
> Sent from the Csound - General mailing list archive at Nabble.com.
> 
> 
> Send bugs reports to the Sourceforge bug trackers
> csound6:
>            https://sourceforge.net/p/csound/tickets/
> csound5:
>            https://sourceforge.net/p/csound/bugs/
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
> 
> 

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie