| Hi Jeanette,
Just to clarify, are you looking for reading of individual characters
or reading in full strings of data (i.e., waiting until an enter is
pressed)?
If the former, Rory's suggestion of sensekey might do the job.
If the latter, I find using the UDP server that Victor has implemented
and enhanced a lot recently to be very useful. One way would be to
use it via commandline with nc (netcat):
1. Start Csound in one terminal using "csound --port=10000 my.csd -odac".
2. From another terminal, use "nc -u 127.0.0.1 10000". That would
start a session where you could send string data via UDP to csound.
Csound will interpret according to initial character (see manual entry
at http://csound.com/docs/manual/udpserver.html).
Using this setup, you could design your CSD to read values from a
channel then set the channels via nc, or execute orc code, etc.
You could also skip nc and program your own UDP-sending program in
whatever language you like.
Hope that helps!
steven
On Fri, Dec 29, 2017 at 12:41 PM, Jeanette C. wrote:
> Hey hey,
> is there any way to do it in Csound, including the Python/LUA/system
> facilities, but EXCLUDING ANY GRAPHICAL means? Neither the manual nor
> searching the web yielded any solution, so far.
>
> TIA and best wishes,
>
> Jeanette
>
> --------
> * website: http://juliencoder.de - for summer is a state of sound
> * SoundCloud: https://soundcloud.com/jeanette_c
>
> Open my eyes,
> I look deep inside,
> I run away... <3
> (Britney Spears)
>
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
> https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here
Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here |