I found instructions for installing and using Tidal -- and they worked! -- but I've found no guidance for hacking it.
Tidal's installation instructions explain how to install Tidal via Cabal. I did that. As a result, my
~/.cabal store now has a copy of Tidal, which defines how it works whenever I run Tidal.
I don't just want to use Tidal. I want to change how it works -- but hacking the Cabal store is a bad idea. So instead I'd like to use my own fork of the Tidal repo, outside of the Cabal store. I know how to clone and alter the Tidal repo, but I don't know how to use the result -- every time I start Tidal it runs from the Cabal store.
The bottom of the docs for using Tidal on Emacs mentions that one might need to replace tidal-boot-script-path "with the actual location of the BootTidal.hs file". Following that advice, I tried adding this line to my
(setq tidal-boot-script-path "~/code/music/Tidal/Tidal/BootTidal.hs")
To test whether that had worked, I added to "~/code/music/Tidal/Tidal/src/Sound/Tidal/Core.hs" a synonym for
turpa. When I reboot Emacs and restart Tidal,
:i silence is defined but
:i turpa is not. So that didn't work.
Next I tried simply replacing the complicated definition of
tidal.el with this:
(defvar tidal-boot-script-path "~/code/music/Tidal/Tidal/BootTidal.hs")
I repeated the
turpa = silence test described above. Still not working.
I don't have any more ideas.