Hi all !
I was trying to set tidal for sending osc messages to both supercollider and max msp ! I used the documentation model OSC | Tidal Cycles
for just testing if max msp is receiving messages but i doesn't work this is my code :
let target = Target {oName = "oscMAX", -- target name in error msg
oAddress = "localhost", -- The target's network address, normally "localhost"
oPort = 5050, -- The network port the target is listening on
oLatency = 0.2, -- Additional delay, to smooth out network jitter/get things in sync
oSchedule = Live, -- The scheduling method - see below
oWindow = Nothing, -- Not yet used
oHandshake = False, -- SuperDirt specific
oBusPort = Nothing -- Also SuperDirt specific
}
oscplay = OSC "/play" $ ArgList [
("s", Nothing), -- without "s" no OSC sent - this is for sound
("parameter1", Just $ VF 0.35),
("parameter2", Just $ VF 0.5),
("parameter3", Just $ VF 0.8)
]
let param1 = pF "parameter1"
param2 = pF "parameter2"
param3 = pF "parameter3"
oscmap = [(target, [oscplay]), (superdirtTarget, [superdirtShape])]
stream <- startStream defaultConfig oscmap
d = streamReplace stream
d1 $ s "bd" # param1 0.5
and then I have this error message in tidal :
t> [TidalCycles version 1.9.4] Installed in /Users/marioganau/.local/state/cabal/store/ghc-9.8.1/tdl-1.9.4-dd53c228/share Listening for external controls on 127.0.0.1:6010 That port isn't available, perhaps another Tidal instance is already listening on that port?
t> Can't handshake with SuperCollider without control port.
could you help me please ? Someone has experimented same issues ? I am using the default BootTidal.hs .