Tidal
Tidal copied to clipboard
tidal-listener first.hs example not working
When I try to go through the first.hs example in the tidal-listener/examples folder I get some errors.
Some of them are related to a wrong case in the Sound.Osc.Fd library calls, but, when I try to evaluate the first instruction (return 10), as response message I get:
Just (Message {messageAddress = "/eval/error", messageDatum = [AsciiString {d_ascii_string = "Compile error: Could not load module \CANSystem.Directory\EM.\nIt is a member of the hidden package \CANdirectory-1.3.8.1\EM.\nUse -v to see a list of the files searched for."}]})
I can reproduce (not exactly the samme error message, but still). Running 3 terminals:
$ cabal run
Starting Tidal Listener with installed GHC
Listening for OSC commands on port 6011
Sending replies to port 6012
[TidalCycles version 1.10.0]
Installed in /home/..../Tidal/./.
Listening for external controls on 127.0.0.1:6010
Starting tidal interpreter..
Waiting for SuperDirt (v.1.7.2 or higher)..
and later: tidal-listener: thread blocked indefinitely in an MVar oper
one ghci to send:
ghci> openUdp "127.0.0.1" 6011 >>= \r -> sendMessage r $ Message "/eval" [string "return 10"]
and a last one for receiving/reading the msg:
ghci> recvMessage udp
Just (Message {messageAddress = "/eval/error", messageDatum = [AsciiString {d_ascii_string = "Compile
error: Could not find module \CANSound.Tidal.Transition\EM.\nUse -v to see a list of the files searched for."}]})
I will investigate further in the next days.