Csound Csound-dev Csound-tekno Search About

--port command line flag on linux

Date2017-05-14 04:38
FromForrest Curo
Subject--port command line flag on linux
I've managed to use the -L flag to run score lines to csound through a fifo;
my current ambition is to get such lines via ethernet cable
from another program sending from a second computer.

[I've lost the recent thread that gave me the idea; but I know I just learned of the possibility from something here.]

Anyway, on the receiving [csound-running] computer I can pick up lines of score with  nc -u -l -k 9000
(sent from the other computer with:
cat | nc 10.42.0.1 9000 -u
)

while csound running with CsOptions of
 -o dac: hw 0,0 --midi- --port=9000
plays the one test note given in the csd file:
i 1 1 3 440 0.5
but won't accept the same format over the ethernet line.

What's needed to make this work from
1) a bash terminal
or
2) a C program?

Forrest Curo
San Diego
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