Difference between revisions of "Upgrading"

From TidalCycles userbase
Jump to: navigation, search
(Marked this version for translation)
(added new update shell commands for versions 1.7 and up)
 
(One intermediate revision by one other user not shown)
Line 13: Line 13:
 
<source lang="shell">
 
<source lang="shell">
 
cabal update
 
cabal update
cabal install tidal
+
cabal install tidal --lib
</source>
 
  
<!--T:5-->
+
-- note: as of version 1.7 instead you'll have to use the following commands:
You can verify that the latest version of tidal has installed with this command in a terminal window:
+
cabal v1-update
 +
cabal v1-install tidal
  
<!--T:6-->
+
</source>
<source>ghc-pkg list tidal</source>
 
 
 
<!--T:7-->
 
If you see more than one listed don't worry - the most recent one will be used.
 
 
 
<!--T:8-->
 
To go back to using the previously installed version of tidal, you can 'unregister' the newer one. For example to stop using version 1.4.0, type:
 
  
<!--T:9-->
+
If you're using an older version of haskell you might have to miss the `--lib` off the above command.
<source>ghc-pkg unregister tidal-1.4.0</source>
 
  
 
= Editor plugin = <!--T:10-->
 
= Editor plugin = <!--T:10-->

Latest revision as of 08:49, 2 March 2021

Other languages:
Deutsch • ‎English • ‎français

To avoid problems, we warmly recommend upgrading all three components of TidalCycles together - the tidalcycles library itself, the editor plugin, and the SuperDirt synth.

TidalCycles library

Upgrade tidal with the following from a terminal window:

cabal update
cabal install tidal --lib

-- note: as of version 1.7 instead you'll have to use the following commands:
cabal v1-update
cabal v1-install tidal

If you're using an older version of haskell you might have to miss the `--lib` off the above command.

Editor plugin

To upgrade your tidalcycles editor plugin (which might be referred to as an 'extension' or 'package'). In atom, you can do this via the preferences > updates menu.

In VSCode, you can upgrade the TidalCycles package by viewing your extensions (View > Extensions menu, or click on the Extensions icon on the left-hand activity bar), searching for TidalCycles and then choose to upgrade.

SuperDirt

To upgrade the SuperDirt sound synthesiser/sampler, open supercollider, and run the following (paste it in, put your cursor on that line, hit shift-enter):

Quarks.update("SuperDirt")

After this, you'll need to recompile the class library. You can do this either by restarting supercollider, or via the "Recompile class library" entry on the "Language" menu.