Nub question: Is there a command line interpreter for Tidal? Or can I execute Tidal code with a Haskell CLI?
The reason I ask is because I am working on a vintage machine (EPSON PX-8) which is not a VT compatible terminal. This is a problem when attempting to open Vim, for example. Scrambled eggs on screen.
I have managed to at least get the non-functioning delete key working by setting $TERM to IBM3151. No luck yet on arrow keys however. I believe this may sadly be an intentional limitation of the 7508 sub processor that controls interfacing with keyboard. Booooooooooooo.
Anyway, since Vim is looking more and more impossible I am instead exploring the possibility of at least using this machine to execute pre-written Tidal code from a CLI. Lame I know, but I am not ready to give up on this machine quite yet. The PX-8 paired with the Roland 909, both controlling an s6000 sampler would be a dream team live setup.
Oh this is interesting. I took it for granted Haskell would be supported on the Pi assuming ooh ARM is universal blah blah. I'll have to dig into this some more.
Maybe I need to build a tiny x86 based machine to connect to for this project instead. I do have 1u free in the rack with the s6000.
Now that i've got a tidal> prompt up and running (and it works when I test for audio), is there a way I can execute a .tidal file with code I have pre written?
Note that with :script, if you have a multi-line command, you have to surround it with :{ and :} on the lines preceding and following each block. You can see examples of this in BootTidal.hs.