Error running TidalCycles in Atom

Hi. Trying to get TidalCycles running. Followed the instructions to run the tidal-bootstrap for mac.

SuperCollider seems to run OK. Running TidalCycles package in Atom gives this error:

No configured ghc path
Ghci command: ghci
Ghc-pkg command: ghc-pkg
Load BootTidal.hs from /Users/admin/.atom/packages/tidalcycles/lib/BootTidal.hs
/bin/sh: ghci: command not found

Any ideas?

Hi @richyvk, atom is having problems finding the ghci command, needed to run tidal.
Try running ~/.ghcup/bin/ghci from a terminal window.
If that runs, then in atom, find the settings for the ‘tidalcycles’ package, and set ‘ghci path’ to ~/.ghcup/bin/ghci. Alternatively, you could try a reboot, maybe atom will find ghci after that.
If it can’t find that command, then something went wrong with the tidal-bootstrap command. If you still have the window open where you ran it, then you could share the output. Or, you could just try running it again.

Thanks @yaxu

Adding ghci path to Atom seems to have done the trick. I get sounds now :slight_smile:

I do get a load of errors when starting Supercollider. But seems they don’t cause any issues (so far at least).

Any ideas where the best place might be to report those errors?

1 Like

Feel free to share them here, perhaps pasting the log into and sharing a link.

@yaxu Here’s a link:

I haven’t seen this before, and am not a mac user, but I think /Users/admin/Library/Application Support/SuperCollider/Extensions/__MACOSX/ is a metadata folder that you can safely remove to get rid of those errors.
When it gets to loading synths though, I see this:

exception in GraphDef_Recv: exceeded number of interconnect buffers.

That looks more serious, it might mean some synths haven’t been loaded. I haven’t seen this before either but instead of doing SuperDirt.start you can run the contents of this, most conveniently by putting it in your supercollider startup file:

My guess is that increasing e.g. s.options.numBuffers should get rid of that error - I’d try doubling it.

@yaxu I got the same problem, but on windows. What can i do?

@rokkettaro please share any output / error messages in full, using

No configured ghc path
Ghci command: ghci
Ghc-pkg command: ghc-pkg
Load BootTidal.hs from C:\Users\matteo camerini.atom\packages\tidalcycles\lib\BootTidal.hs

than i code d1 $ s “bd” (on atom)

and this is what append

syntax: :script

Variable not in scope: d1 :: t0 -> t

Variable not in scope: s :: [Char] -> t0