[Csnd] Csound6 a curiosity
Date | 2013-06-02 09:30 |
From | francesco |
Subject | [Csnd] Csound6 a curiosity |
Hello All, Csound 6 can be used for something like live-coding. All that is possible using the API and some language. But could be possible to start an instance of Csound from the command line (i.e. the "usual" way) and then send some code to it (for example via telnet)? I mean somethings like OSC opcodes. I know Csound has yet opcodes for network communications but i guess there will need some opcode for compiling the received code. Is this possible? I don't know if i had clearly express my question or if all this is absurd or if i'm going crazy ... Hard sunday morning. Thanks, ciao, a sleeping francesco. -- View this message in context: http://csound.1045644.n5.nabble.com/Csound6-a-curiosity-tp5724172.html Sent from the Csound - General mailing list archive at Nabble.com. |
Date | 2013-06-02 09:38 |
From | jpff@cs.bath.ac.uk |
Subject | Re: [Csnd] Csound6 a curiosity |
Use OSC opcodes? > Hello All, > Csound 6 can be used for something like live-coding. All that is possible > using the API and some language. But could be possible to start an > instance > of Csound from the command line (i.e. the "usual" way) and then send some > code to it (for example via telnet)? > I mean somethings like OSC opcodes. > I know Csound has yet opcodes for network communications but i guess there > will need some opcode for compiling the received code. > Is this possible? |
Date | 2013-06-02 09:44 |
From | francesco |
Subject | [Csnd] Re: Csound6 a curiosity |
Yes, but it will be not possible to send an instrument code that will be compiled. Or not? Or it's absurd what i'm telling? Thank You, ciao, francesco. -- View this message in context: http://csound.1045644.n5.nabble.com/Csound6-a-curiosity-tp5724172p5724174.html Sent from the Csound - General mailing list archive at Nabble.com. |
Date | 2013-06-02 09:49 |
From | francesco |
Subject | [Csnd] Re: Csound6 a curiosity |
I mean somethings like the API function csnd6.csoundCompileOrc -- View this message in context: http://csound.1045644.n5.nabble.com/Csound6-a-curiosity-tp5724172p5724175.html Sent from the Csound - General mailing list archive at Nabble.com. |
Date | 2013-06-02 09:56 |
From | Victor Lazzarini |
Subject | Re: [Csnd] Re: Csound6 a curiosity |
There are two opcodes for that ires compilestr Sorc compiles a string containing an orchestra and ires compileorc Ssrc compiles from a file named Ssrc The main issue is having a means of editing, which is provided by REPL in editors and from the command-line is a bit hard, but it should be possible to start Csound with -Lstdin and pass instruments in score statements (now that the newline thing is being solved). I also thought that OSC is a good solution. Rory Walsh wrote a minimal command-line live coding program, which you could try as well, it's in the git sources under tests/c/ Victor On 2 Jun 2013, at 09:44, francesco wrote: > Yes, but it will be not possible to send an instrument code that will be > compiled. > Or not? Or it's absurd what i'm telling? > > Thank You, > ciao, > francesco. > > > > > -- > View this message in context: http://csound.1045644.n5.nabble.com/Csound6-a-curiosity-tp5724172p5724174.html > Sent from the Csound - General mailing list archive at Nabble.com. > > > Send bugs reports to the Sourceforge bug tracker > https://sourceforge.net/tracker/?group_id=81968&atid=564599 > 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 |
Date | 2013-06-02 09:56 |
From | jpff@cs.bath.ac.uk |
Subject | Re: [Csnd] Re: Csound6 a curiosity |
> I mean somethings like the API function csnd6.csoundCompileOrc In cs6 you should be able to send a string via OSC and then call the opcode to compile an instrument. Not tried it though. Or send a score event including a string with -L ==John ff |
Date | 2013-06-02 10:06 |
From | francesco |
Subject | [Csnd] Re: Csound6 a curiosity |
Great, thanks. So many new things ... All You developers are wonderful. ciao, francesco. -- View this message in context: http://csound.1045644.n5.nabble.com/Csound6-a-curiosity-tp5724172p5724178.html Sent from the Csound - General mailing list archive at Nabble.com. |