create snippets for use in emacs-yasnippet

plus more cleanup of main tidal file, and updated readme
This commit is contained in:
Aneurin Barker Snook
2017-06-10 08:35:31 +01:00
parent c8f0d309d5
commit 6e4e8f6964
20 changed files with 270 additions and 21 deletions
+8
View File
@@ -14,6 +14,14 @@ Originally performed live @ The Loft, Brighton, 4th July 2014.
`samples.csv` contains sample attributions. All samples are available in `samples/` directory.
## Snippets
The main `battery.tidal` reflects the original composition, and includes 'initial states' of the various patterns used with notes on what should be changed and when. New patterns are prefaced with a comment like `-- @something` declaring its 'key' for reference.
In the `snippets/` directory are [yasnippet](http://joaotavora.github.io/yasnippet/)-compatible snippet files reflecting these references, and additionally a `b1setup` snippet (which contains the project setup) and a `battery123` snippet that provides a convenient list of all project snippets.
For easy loading and use in emacs Tidal, copy or symlink the snippets into a `haskell-mode` major group in one of your snippet folders.
## License
- Source code: [CC-BY-SA](https://creativecommons.org/licenses/by-sa/4.0/)