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 720
  • Win 378
  • Mac 234
  • Linux 108
Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30 Mar 29 Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12 Mar 11 Mar 10 Mar 9 Mar 8 Mar 7 Mar 6
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0
Mac 0 0 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0
Linux 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

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.