TidalCycles is a language for live coding algorithmic patterns.
After TidalCycles installation (checkout official documentation for details),
Then, you can:
.tidal
fileshift+enter
to evaluate the current line or selection(cmd/ctrl)+enter
to evaluate multiple-lines or selectionctrl+alt+shift+enter
to evaluate the whole editorctrl+<number>
to mute/unmute the connection ctrl+alt+<number>
to mute/unmute the connection 1ctrl+0
to unmute allTo send patterns to SuperDirt, use d1
.. d9
, e.g.:
d1 $ sound "bd cp"
You can choose between 3 Haskell interpreters:
By default the plugin will use the ghci
and ghc-pkg
binaries in $PATH configuration.
You can configure your Haskell binary folder to use a different version of it. (Only works with Default interpreter)
The plugin will load the BootTidal.hs
file according to this sequence:
ghc-pkg
binary configured with Haskell PathSuperDirt can be started automatically at the first tidal code evaluation.
The plugin will use a superdirt_startup.scp
if it's present into the current folder, otherwise it will use the default startup command.
This feature can be disabled in configuration.
You can turn on/off autocomplete with this option.
With hoogle the autocomplete experience will improve and official tidal documentation will be shown.
Install hoogle and set the Hoogle Path configuration (by default it's already hoogle
) if you install it with stack
, add two dashes at the end of the property (e.g. stack hoogle --
).
After installation you have to generate tidal documentation, in your terminal run:\
hoogle generate tidal
\
or\
stack hoogle -- generate tidal
(with stack)
The console can be customized:
Customize the console prompt with a string. Placeholders can be used, e.g.
eval #%ec
will prompt:
eval #1>
eval #2>
etc...
Filter all the console log and show only errors
Filter all the console old logs and show only the last one
It's possibile to evaluate tidal code with OSC messages.
The plugin is listening on this specified port for incoming osc messages:
The plugin is listening on this ip address for incoming osc messages:
The plugin is filtering incoming osc messages with this specified address.
Mandatory type
argument to specify what kind of evaluation is requested:
row
and column
parameters can be specified to move the cursor on that position before the evaluation.
To make the sound browser at the first tidal evaluation, add your paths to the Sound Browser Folders
in the plugin configuration, separed by commas.\ For example, on macOS, the default SuperDirt samples are at \
/Users/<yourUser>/Library/Application Support/SuperCollider/downloaded-quarks/Dirt-Samples/
\
Restart editor (Pulsar) to apply changes.
The GHC version is too old (like 8.0.3). Solutions:
:set prompt-cont ""
in the BootTidal.hs
fileThe BootTidal.hs and ghci path cannot contain whitespace inside. Solutions:
Note: this is fixed in GHC version 8.12
Sound.Tidal.Context
The BootTidal.hs
file is loaded correctly, but tidal is not installed or did not load correctly. Try restarting your editor. To install tidal, follow the documentation for your platform: \
Documentation > Install Tidal
This could mean that the BootTidal.hs file you are using has a value not supported by the version of tidal you have installed. You can find the variable in the error message in your BootTidal.hs and comment out that line (using double hyphens).
If you'd like to contribute to this package, here are some guidelines:
A .jsbeautifyfc
file is used to define JavaScript formatting settings. Please use
a beautifier package (we recommend atom-beautify
) to format your changes with
these settings.
Always run specs before open a PR. To run them:
pulsar --test spec