Rohan, that worked! And the timing is, to the extent my perception can tell, perfect! (I'm using threadDelay to create a rhythm, as described here <http://haskell.1045720.n5.nabble.com/Precise-timing-td5758272.html>.) This means I can use Haskell instead of Python or SuperCollider. I am beside myself with excitement. On Tue, Oct 21, 2014 at 3:56 PM, Rohan Drape <rohan.drape@gmail.com> wrote:
aiosc.send(('127.0.0.1', 9000), "This is a message from Python") )
isn't this sending an OSC packet? not a plain UDP packet?
perhaps see http://hackage.haskell.org/package/hosc
import Sound.OSC withMax = withTransport (openUDP "127.0.0.1" 9000) main = withMax (sendMessage (Message "/this-is-a-message-from-haskell" []))
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe