| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
A Csound language plugin for Visual Studio Code.
csound-vscode-plugin currently provides:
Syntax Highlighting for Csound .orc and .udo files
Opcode completion with popup hints for opcode arguments
Show opcode documentation in the editor
Play the file in the currently-active editor window by choosing Csound: Play Active Document from the command palette or using the alt+. shortcut. To kill a playing Csound subprocess, choose Csound: Terminate any running csound subprocess from the command palette or use the alt+escape shortcut while the focus is still in a Csound text editor window.
Evaluate code at runtime (live coding) using Csound: Evaluate Orchestra Code or ctrl+enter (cmd+enter on macOS) for ORC code and Csound: Evaluate Score Code for SCO code.
You must have Csound properly configured on your system so you can use it on the command line.
Live coding with csound-vscode-plugin requires Csound to use UDP server mode listening to the port given in settings (by default, port 10000). Csound itself must be configured to listen to the matching port that the plugin will use. This can be done per-project by adding --port=10000 to the CsOptions of the project's CSD, or done for every project by adding the above flag to the csound.playArgs settings. (Caution: Unless all of your Csound work is live coding, adding the --port flag may cause your project to run indefinitely if the project was not designed for live coding.)
| setting | default | description |
|---|---|---|
| csound.executable | "csound" | The Csound executable. The default value of csound will run the system wide Csound. If you wish to use another Csound executable you can do so by passing an updated path, or browsing for a Csound executable from the Command palette. |
| csound.playArgs | [ "-odac" ] | Arguments to give to Csound when used for playing the current file. An array of strings, each element an argument including the leading dash. |
| csound.saveSilentlyOnPlay | false | Save without prompting before playing the current file. |
| csound.UDPAddress | 127.0.0.1 | Address to send live coding evaluations over UDP. |
| csound.UDPPort | 10000 | Port to send live coding evaluations over UDP. |
| csound.htmlFilePath | "" | Csound manual root directory on local file system for loading opcode documentation. If empty, defaults to C:\Program Files\Csound6_x64\doc\manual on Windows, and /Library/Frameworks/CsoundLib64.framework/Versions/6.0/Resources/Manual on macOS. |
None.
Adds support for folding for #region / #endregion comments
Updated README for information on using --port=10000 flag for live coding
Can now play from ORC/SCO pair, associating to the file from the currently-active editor window a file contained in the same folder with the same name but opposite extension.
Added CSD barebone as snippet, use the keyword barebone to insert the template code in your CSD file.
| Back | FazBrowse Home | New Git URL |