Hmm it seems that this https://tidalcycles.org/Custom_OSC 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.
Note:
This works totally fine
tidal <- startTidal (superdirtTarget {oLatency = 0.1}) (defaultConfig {cFrameTimespan = 1/20})