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

Csound​Syntax

Csound in Sublime Text 3.

Labels Csound, music, sound, audio

Details

  • 1.0.0
  • github.​com
  • github.​com
  • 11 months ago
  • 56 minutes ago
  • 11 months ago

Installs

  • Total 161
  • Win 86
  • OS X 50
  • Linux 25
Jun 24 Jun 23 Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13 Jun 12 Jun 11 Jun 10 Jun 9 Jun 8 Jun 7 Jun 6 Jun 5 Jun 4 Jun 3 Jun 2 Jun 1 May 31 May 30 May 29 May 28 May 27 May 26 May 25 May 24 May 23 May 22 May 21 May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12 May 11
Windows 2 0 0 0 1 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 1 0 0 0 2 0 0 0 0 0 0 0 2
OS X 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 1 0 0
Linux 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 0 0 0 1 0 1 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.