Problem with sending OSC messages to multiple target

Hmm it seems that this is not working anymore. I mentioned that something like Just $ VS "a" in the ArgList should be sDefault "a" now.

And I tried to send my Tidal OSC messages to Superdirt and to my local hydra instance. And I hoped that I could use something like this:

let hydraTarget = Target {
    oName = "hydra", 
    oAddress = "localhost", 
    oPort = 3336, 
    oLatency = 0.1, 
    oSchedule = Live, 
    oWindow = Nothing

tidal <- startStream (defaultConfig {cFrameTimespan = 1/20}) [
                     (superdirtTarget {oLatency = 0.1}, [superdirtShape]),
                     (hydraTarget, [superdirtShape])]

Unfortunately I get this error:
*** Exception: Network.Socket.connect: : invalid argument (Invalid argument)

I use Tidal version 1.6.2.

This works totally fine

tidal <- startTidal (superdirtTarget {oLatency = 0.1}) (defaultConfig {cFrameTimespan = 1/20})

Probably localhost is an ipv6 address on your system, and tidal doesn't support that yet. Try with "" instead.


Interesting problem. It seems that my system provides both on localhost:

> dscacheutil -q host -a name localhost
name: localhost
ipv6_address: ::1

name: localhost

But you are right: instead of localhost solves the problem, thanks!