Closed PLNech closed 4 years ago
The first error you mention seems to be because you are sending Tidal/Haskell code to SuperCollider. (If you are just trying to play with Tidal via extramuros no need to engage with the SuperCollider modes in extramuros - just launch SuperDirt in the SC IDE like normal at all locations, and then launch the extramuros client with Tidal flags.)
Then, the errors in the stack trace you provide, when launching with the Tidal flags, testify to a mismatch between your version of Tidal and the Tidal startup script provided by extramuros. If you are using an old version of Tidal updating Tidal might just fix this. If not, a better bet may be to direct extramuros to your BootTidal.hs file explicitly using the (oops, undocumented) --tidalCustom flag. Example: node client.js -s 127.0.0.1 --ws-port 8000 --tidalCustom ~/path/to/my/BootTidal.hs
(While I am here I should mention that if you just want to play with Tidal in a collaborative browser setting with others, then Estuary is a better bet than extramuros - more flexible, rearrangeable views, support for other languages, can work on zero install basis but can also work with SuperDirt if you prefer: https://estuary.mcmaster.ca - use Chrome/Chromium/Opera)
PS -- if you installed Tidal with cabal then I think the example above should be: node client.js -s 127.0.0.1 --ws-port 8000 --tidalCabal --tidalCustom ~/path/to/my/BootTidal.hs
PPS - just added --tidalCustom to the help that you get when you enter node client.js --help
Hey @dktr0, thanks so much for the instant response! Using --tidalCustom
and --tidalCabal
I was able to connect to my Tidal install :ok_hand:
_FWIW, I'm running Tidal v1.4.8, listed as latest when I run cabal update
:manshrugging:
Hey, thanks for this project! Sadly I wasn't able to sucessfully connect with TidalCycles on Debian:
Setup
$ lsb_release -a
No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux 9.12 (stretch) Release: 9.12 Codename: stretch
node client.js --server 127.0.0.1 --tidalCabal --feedback
extramuros: connecting to ws://127.0.0.1:8000... extramuros: connected to ws://127.0.0.1:8000 Tidal/GHCI initialized GHCi, version 8.0.1: http://www.haskell.org/ghc/ :? for help
Prel ude> Prel ude> Some flags have not been recognized: prompt-cont,
Liste ning for controls on 127.0.0.1:6010 Control listen failed. Perhaps ther e's already another tidal instance listening on that port?
<in teractive>:17:29: error: • Couldn't match type ‘Bool’ with ‘Pattern ControlMa p’ Expected type: ControlP attern Actual type: Bool
• In the second argument of ‘streamOnce’, namely ‘False’ In the expression: stream Once tidal False In an equation for ‘once’: once = streamOnce tidal False
< interactive>:18:29: error:
type ‘Bool’ with ‘Patt ern ControlMap’ Expected type: ControlPattern
Actual type: Bool • In the second argument of ‘streamOnce’, namely ‘True’
In the expression: streamOnce tidal Tr ue In an equation for ‘asap’: asap = streamOnce tid al True
< interactive>:22:14: error:
asap :: ControlPattern -> c
< interactive>:23:33: error: • Couldn't m atch expected type ‘Bool’
‘Time -> [Contro lPattern] -> ControlPattern’
In the second argument of ‘transition’, namely ‘( xfadeIn 4)’ In the expression: tra nsition tidal (xfadeIn 4) i In an equation for ‘xfade’:
on tidal (xfadeIn 4) i