Skip to content
Atom package for TidalCycles
JavaScript Haskell CSS
Branch: master
Clone or download
Pull request Compare This branch is 201 commits ahead, 3 commits behind lisongx:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
grammars got js port working May 20, 2016
keymaps fix: add non macOS keymaps Jan 11, 2019
lib Handle space in ghci path Jan 5, 2020
menus Add reboot menu item Oct 21, 2019
settings Add settings file for editor:toggle-line-comments Jun 27, 2017
spec Add logs to ghc Jan 2, 2020
styles Fix word wrap in console Oct 26, 2019
.gitignore Ignore .idea environment Oct 17, 2019
.jsbeautifyrc add option for current directory boot file Feb 1, 2018
.travis.yml
CHANGELOG.md updated readme Feb 1, 2018
LICENSE GPL3 license May 20, 2016
README.md
package-lock.json Prepare v3.8.6 release Jan 5, 2020
package.json

README.md

TidalCycles plugin for Atom

Build Status

TidalCycles is a live-coding pattern language

For installation instructions, please visit: https://tidalcycles.org/index.php/Installation

Then, you can:

  • Open a .tidal file
  • shift+enter to evaluate the current line or selection
  • (cmd/ctrl)+enter to evaluate multiple-lines or selection

To send patterns to SuperDirt, use d1 .. d9, e.g.:

d1 $ sound "bd cp"

Configuration

Haskell Path

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.

Boot Tidal Path

The plugin will load the BootTidal.hs file according to this sequence:

  • if configured, the file set in the Boot Tidal Path configuration
  • if exists, the one in the current directory
  • if exists, the one in the current Tidal installation, given by the ghc-pkg binary configured with Haskell Path
  • the fallback choice is the one included with the plugin

Autocomplete

You can turn on/off autocomplete with flag.

Documentation details with Hoogle

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)

Other configurations

  • Filter Prompt From Log Messages: filter long prompt comming from ghci
  • Only Log Last Message: shows only last log message on console
  • Only Show Log When Errors: show only errors from ghci

Contributing

If you'd like to contribute to this package, here are some guidelines:

JavaScript Formatting

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.

Specs

Always run specs before PR.
On Atom, execute the Window: Run Package Specs command (ctrl+shift+y).
0 failures should be the result

You can’t perform that action at this time.