Csound Csound-dev Csound-tekno Search About

[Csnd] csound --port and cntrl-c in terminal

Date2014-04-29 10:05
Fromfrancesco
Subject[Csnd] csound --port and cntrl-c in terminal
Hello All,
i'm playing with csound server mode; i run csound with the flag
--PORT=number and then
send to that port orchestra messagges. It's all ok. Just to note that when i
stop
Csound using cntrl-c in terminal i get this error message in loop until i
hit cntrl-c again

error: syntax error, unexpected '#'  (token "#") line 0:
>>># <<<
Parsing failed due to invalid input!
Stopping on parser failure

I'm on linux Ubuntu 12.04, 32 bit with latest Csound.

Thanks,
ciao,
francesco.




--
View this message in context: http://csound.1045644.n5.nabble.com/csound-port-and-cntrl-c-in-terminal-tp5734785.html
Sent from the Csound - General mailing list archive at Nabble.com.


Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"



Date2014-04-29 10:57
FromVictor Lazzarini
SubjectRe: [Csnd] csound --port and cntrl-c in terminal
Hi Francesco,

try sending this message string via UDP to close it:

##close##

sorry it’s not documented, I need to place it in the manual somewhere.

========================
Dr Victor Lazzarini
Senior Lecturer
NUI Maynooth, Ireland
victor dot lazzarini at nuim dot ie




On 29 Apr 2014, at 10:05, francesco  wrote:

> Hello All,
> i'm playing with csound server mode; i run csound with the flag
> --PORT=number and then
> send to that port orchestra messagges. It's all ok. Just to note that when i
> stop
> Csound using cntrl-c in terminal i get this error message in loop until i
> hit cntrl-c again
> 
> error: syntax error, unexpected '#'  (token "#") line 0:
>>>> # <<<
> Parsing failed due to invalid input!
> Stopping on parser failure
> 
> I'm on linux Ubuntu 12.04, 32 bit with latest Csound.
> 
> Thanks,
> ciao,
> francesco.
> 
> 
> 
> 
> --
> View this message in context: http://csound.1045644.n5.nabble.com/csound-port-and-cntrl-c-in-terminal-tp5734785.html
> Sent from the Csound - General mailing list archive at Nabble.com.
> 
> 
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
> 
> 
> 



Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"




Date2014-04-29 11:40
Fromfrancesco
Subject[Csnd] Re: csound --port and cntrl-c in terminal
Perfect thanks!
It was only a stupid thing! But it should be documented because it's one of
the Csound great features.
Just another curiosity:
i need to send a complete message, i.e. instrument and code to play it, then
the instrument it's not keep
in csound, i.e. i cannot use a second message with only the code to play the
instrument on the previuos message. For that i need to run Csound with a
prepared orchestra, am i right?

Many Thanks,
ciao,
francesco.




--
View this message in context: http://csound.1045644.n5.nabble.com/csound-port-and-cntrl-c-in-terminal-tp5734785p5734787.html
Sent from the Csound - General mailing list archive at Nabble.com.


Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"



Date2014-04-29 11:58
FromVictor Lazzarini
SubjectRe: [Csnd] csound --port and cntrl-c in terminal
No, you can send your instruments first, then send messages to play them.
Or you can send them at the same time. If you have a score, 
you can use readscore to play it. 

I actually found a small bug where the orchestra buffer memory was not cleared
leading to problems in reading subsequent messages. It’s fixed now in GIT.
========================
Dr Victor Lazzarini
Senior Lecturer
NUI Maynooth, Ireland
victor dot lazzarini at nuim dot ie




On 29 Apr 2014, at 11:40, francesco  wrote:

> Perfect thanks!
> It was only a stupid thing! But it should be documented because it's one of
> the Csound great features.
> Just another curiosity:
> i need to send a complete message, i.e. instrument and code to play it, then
> the instrument it's not keep
> in csound, i.e. i cannot use a second message with only the code to play the
> instrument on the previuos message. For that i need to run Csound with a
> prepared orchestra, am i right?
> 
> Many Thanks,
> ciao,
> francesco.
> 
> 
> 
> 
> --
> View this message in context: http://csound.1045644.n5.nabble.com/csound-port-and-cntrl-c-in-terminal-tp5734785p5734787.html
> Sent from the Csound - General mailing list archive at Nabble.com.
> 
> 
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
> 
> 
> 



Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"