Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tidal-listener first.hs example not working #1092

Open
ndr-brt opened this issue Jul 8, 2024 · 1 comment
Open

tidal-listener first.hs example not working #1092

ndr-brt opened this issue Jul 8, 2024 · 1 comment
Assignees

Comments

@ndr-brt
Copy link
Contributor

ndr-brt commented Jul 8, 2024

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."}]})
@sss-create sss-create self-assigned this Jan 17, 2025
@sss-create
Copy link
Collaborator

sss-create commented Jan 17, 2025

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants