| Sorry for posting yet ANOTHER question re: my forays into csound, but I'm
getting there and slowly understanding what's going on with the program!
Ok, so here's the issue:
I'm trying to set up an osc listener in csound, and trying to do it as
simply as possible.
I know that it can SEND osc messages, because I have a perl script that can
dump all osc bundles sent to it, but I can't get the darn thing to receive.
My csd file (modded off the demo print.csd):
; Initialize the global variables.
sr = 44100
kr = 4410
ksmps = 10
nchnls = 1
giport1 OSCinit 7779
; Instrument #1.
instr 1
; Print the fourth p-field.
OSCsend 1, "fancypants", 7779, "/foo/bar", "s", "!!" ; fancypants is my
computer
; the osc send is picked up by my perl script if I use one of the
following:
; fancypants, localhost, 192.168.1.2
print p4 ;I have this here just so that I know the instrument is
working!!!
endin
instr 2
Sf3 = " "
ktrig init 1
OSCrecv giport1, "/foo/bar"
endin
i 1 0 1 50.375
i 1 1 1 300
i 1 2 1 -999
i 2 0 300
e
Seems like it should work, right?
But the instant the listener recieves a message, I get the error:
OSC server error 10014 in path /foo/bar: unknown error
OSC messages are UDP, and looking at UDP error codes, I see that 10014
represents a "Bad address." More specifically, "The system detected an
invalid address in attempting to use an argument of a call." Zuh?!
I'm able to ping myself, and this error occurs regardless of whether or not
I'm using cygwin or a dos prompt. What gives? I'm going out of my skull
trying to figure this out.
--
View this message in context: http://www.nabble.com/OSC-server-error-10014-in-path--foo-bar%3A-unknown-error-tf4160933.html#a11839066
Sent from the Csound - General mailing list archive at Nabble.com. |