ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Csound​Syntax

Csound in Sublime Text 3.

Labels Csound, music, sound, audio

Details

Installs

  • Total 52
  • Win 25
  • OS X 19
  • Linux 8
Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3 Sep 2 Sep 1
Windows 0 0 1 0 0 0 1 0 0 0 0 1 0 0 1 0 2 0 1 0 1 0 0 1 1 1 0 0 0 0 3 0 0 0 1 0 0 1 1 1 0 0 0 0 1 1
OS X 0 1 0 0 1 0 0 0 0 1 0 0 0 0 1 0 1 1 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0
Linux 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 1 0 0 0 0 0 0 0 0 0 1

Readme

Source
raw.​githubusercontent.​com

CsoundST3

Csound in Sublime Text 3.

About

A small convenience package for writing Csound in Sublime Text 3 more quickly and easily. Includes a syntax definition, a build system, and a list of completions.

Based on Takahiko Tsuchiya's work. This version uses YAML and the newer .sublime-syntax file format for its Csound syntax definition, rather than a .tmLanguage XML file.

It is intended to support common alternate styles for some statements, for example -iadc vs. -i adc, i1 vs. i 1, etc. will be captured by the same syntax scope.

Csound ST3 Example

As seen above, the list of completions includes stubs for arguments to opcodes.

It will also highlight python blocks as appropriate in .csd files, used with pyrun, pyruni, etc. You may have to redirect the python context's push value to the location of your python .sublime-syntax file.

Csound ST3 Python Example

I plan to add more to this collection. Contributions, style enhancements, fixes, additions, regex wizardry, etc. are welcome.

Installation

New (in v1.0.0): The recommended installation method is using Package Control. The package is named CsoundSyntax.

CsoundSyntax Package Control Installation

Thanks

Thanks to Takahiko Tsuchiya and Rory Walsh.