Atom Packages Directory

a package directory for a text editor of the 21st Century

Csound

Install with:
    apm install language-csound
  

Csound for Atom

Build status Build status apm

This Atom package adds syntax highlighting, snippets, and autocompletion to Csound files. This package is also used by GitHub Linguist to highlight Csound files.

<img src=”https://cloud.githubusercontent.com/assets/14102861/21751900/edc9d914-d59c-11e6-8e9f-1bed5260b23c.png” width=581>

Contributing

Open an issue, or fork this project and make a pull request.

Updating the List of Opcode Completions

This package uses the list of opcodes in resources/opcode-completions.json for autocompletion. To update opcode-completions.json:

  1. cd to this package’s resources folder using, for example,

    sh cd ~/.atom/packages/language-csound/resources

  2. Download the source files of The Canonical Csound Reference Manual to a folder named csound using

    sh git clone https://github.com/csound/manual.git csound/manual

  3. Follow the instructions at https://github.com/nwhetsell/csound-api#installing to install the csound-api Node.js Addon.

  4. Install the libxmljs and strip-bom packages using

    sh npm install libxmljs strip-bom

  5. Run the script update-opcode-completions.js using

    sh node update-opcode-completions.js

Keywords: csound, music, sound Suggest keywords
Fork me on GitHub