Difference between revisions of "Troubleshooting a Tidal install/de"

From TidalCycles userbase
Jump to: navigation, search
(Created page with "Starte SuperCollider und füge Folgendes ein:")
(Created page with "Setze deinen Cursor in die Zeile und führe sie mit Shift / Enter aus")
Line 48: Line 48:
 
   SuperDirt.start
 
   SuperDirt.start
  
With your cursor on the same line, run it with shift-enter.
+
Setze deinen Cursor in die Zeile und führe sie mit Shift / Enter aus
  
 
You should see messages about lots of sample banks being loaded and eventually:
 
You should see messages about lots of sample banks being loaded and eventually:

Revision as of 14:10, 23 January 2020

<langages/> Wenn du die Installationsanweisungen für TidalCycles befolgt hast, aber es nicht funktioniert, findest du hier einige Möglichkeiten, um das Problem (oder die Probleme) zu lokalisieren und beheben.

Haskell

Open a terminal window, and type:

  ghci

Du solltest ungefähr Folgendes sehen:

 GHCi, version 8.6.3: http://www.haskell.org/ghc/  :? for help
 Prelude> 

Wenn Dir nichts Vergleichbares angezeigt wird, musst du wahrscheinlich Haskell installieren. Keine Sorge, Dir kann durchaus eine andere Versionsnummer angezeigt werden. Aktuell wird TidalCycles bis zurück zur Version 7.10.3 getestet.

Tidal library

Lass das ghci-Fenster geöffnet und tippe (oder füge ein):

 import Sound.Tidal.Context

Jetzt sollte Dir so etwas angezeigt werden:

 GHCi, version 8.6.3: http://www.haskell.org/ghc/  :? for help
 Prelude> import Sound.Tidal.Context
 Prelude Sound.Tidal.Context> 

Wenn du stattdessen eine Fehlermeldung erhältst:

 <no location info>: error:
   Could not find module ‘Sound.Tidal.Context’

Das bedeutet, dass die TidalCycles-Bibliothek nicht installiert ist. Um sie zu installieren, öffne ein neues Terminal-Fenster und gebe Folgendes ein:

 cabal update
 cabal new-install tidal --lib

Wenn du eine Fehlermeldung siehst (ignoriere dabei Warnungen über Befehle im 'Legacy v1-Style'), dann stelle sicher, dass du die vollständige (full) Haskell-Plattform installiert hast und versuche es noch einmal. Wenn es immer noch nicht funktioniert, schreib die Fehlermeldung bitte an unsere Community und bitte dort um Hilfe.

SuperCollider / SuperDirt

Starte SuperCollider und füge Folgendes ein:

 SuperDirt.start

Setze deinen Cursor in die Zeile und führe sie mit Shift / Enter aus

You should see messages about lots of sample banks being loaded and eventually:

 SuperDirt: listening to Tidal on port 57120

If you instead see an error message, read on..

ERROR: Class not defined.

If you see the error

 ERROR: Class not defined.

This means SuperDirt isn't installed. Install it by running

 include("SuperDirt")

If it fails to install, make sure you have the `git` command installed. You can do this by running `git --version` from a command prompt. If the command isn't found, then check the install page for how to install git. Once it's installed, you'll need to restart supercollider before trying again.

For users who have just installed SuperCollider restarting it prior to running include("SuperDirt") could also resolve the error.

Could not bind to requested port

If you see an error like:

 Could not bind to requested port. This may mean it is in use already by another application.
 ERROR: Could not open UDP port 57120

This probably means you have stray supercollider processes running, blocking network ports. Shut down supercollider, and force quit `sclang` and `scserver` in your task manager. Failing that, a reboot will clear them.

Compile problems

Often the problem is with installing the tidal haskell library. When this comes up with errors, you know that's (part of) your installation problem.

cabal update
cabal new-install tidal --lib

ghc-pkg recache

If some cabal packages fail to compile for no clear reason, this can help:

sudo ghc-pkg recache
cabal update
cabal new-install tidal --lib

Haskell version

Often, installing the full (rather than core) version of the Haskell platform will clear up your problems. Get it from here: https://www.haskell.org/platform/

Missing sounds

If everything seems to be working, but not all sounds play, then probably there was a problem causing the download of Tidal's extensive library of 'default' sounds to fail part way through.

You can fix this by finding the `Dirt-Samples` folder, via the supercollider menus: Open user support directory > downloaded-quarks > Dirt-Samples. You'll probably find that many of the folders are missing or empty. You can download all the samples from here:

 https://github.com/musikinformatik/Dirt-Samples

... and then copy them over the existing Dirt-Samples folder.

Installing via 'stack' rather than 'cabal'

If the tidal Haskell library has stubborn problems when installed with cabal, particularly if it brings up errors related to the 'network' library under library, then instead installing with `stack` solves it.

This is done with the following command in a terminal window:

stack install tidal

Once that's done, you just have to tell the atom plugin to use the tidal installed with stack. In atom, find the settings for the tidalcycles package, and set the 'ghci path' setting to stack exec --package tidal -- ghci. Then, restart atom and all should be well.