Skip to content

I have some questions and errors related to troop and tidalcycles. #62

@dyedahee

Description

@dyedahee
  1. BootTidal.hs error

When running client.py, the following error occurs and the TidalCycles do not work properly.

in Troop client.py

GHCi, version 8.8.4: https://www.haskell.org/ghc/ :? for help
Loaded package environment from /Users/mac/.ghc/x86_64-darwin-8.8.4/environments/default
Prelude> Prelude| Prelude| IO error: "BootTidal.hs" does not exist

and terminal

ghc-pkg: cannot find package tidal
Exception in Tkinter callback
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/tkinter/init.py", line 1892, in call
return self.func(*args)
File "/Applications/Troop/src/interface/interface.py", line 1512, in set_interpreter
self.lang=langtypesname
TypeError: init() missing 1 required positional argument: 'args'

So when I run client.py in the terminal with the following code, BootTidal.hs error message still pops up, but the sound is output normally. And the client terminal still says, 'ghc-pkg: cannot find package tidal.'
Can I ignore this?

python3 /Applications/Troop/run-client.py -H 192.168.219.102 -s tidalcycles -m $(which ghci) -a "-ghci-script /Users/mac/.atom/packages/tidalcycles/lib/BootTidal.hs"

In this situation, if I select TidalCycles in 'Troop - Code - Choose Mode', it won't work properly.
If i run TidalCycles with the code mentioned above, there is no check mark in Choose Mode.
Is it stable even if the menu is not marked with a check mark?
I'm planning a performance with this, just in case.

  1. Can I control SuperColider and TidalCycles at the same time in Troop?
    In my computer (OS), I can select several languages in Troop's 'Code - Choose Mode' at the same time.
    Can SuperCollider and TidalCycles be used in Troop at the same time?
    I tried it and I can't, but I'm asking if it's my own problem.

I have a lot of questions. Anyway, I'll be waiting for your answer. Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions