michaelmariaott / csound-vscode-plugin

Plugin for Csound Language support in Visual Studio Code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

csound-vscode-plugin

A Csound language plugin for Visual Studio Code.

Features

Program currently provides:

  • Syntax Highlighting for Csound .orc and .udo files

  • 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.

Requirements

You must have Csound properly configured on your system so you can use it on the comand line.

Extension Settings

setting default description
csound.executable "csound" The csound executable
csound.playArgs [ "-odac" ] Arguments 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.UDPAddrses 127.0.0.1 Address to send live coding evaluations over UDP.
csound.UDPPort 10000 Port to send live coding evaluations over UDP.

Known Issues

None.

Release Notes

0.5.0

  • 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.

0.4.0

  • Updated to vscode 1.60 extension format to work as a Desktop and Web extension. (Play commands currently disabled until WebAudio Csound can be integrated.)

0.3.1

  • Updated opcode entries to 6.15.0 (synced to Nate Whetsell's Atom language-csound plugin)

0.3.0

  • Added live-coding commands to evaluate ORC and SCO code by sending to Csound over UDP.

0.2.3

  • Don't switch focus to output window when playing a CSD file. alt+escape only kills CSound subprocesses when focus is in a CSD text editor window (for better compatibility with other modules).

0.2.2

  • Fix issue when attempting to kill when there are no Csound subprocesses running.

0.2.1

  • Add command to kill any running Csound subprocess. Kill any Csound process on exiting from VSCode.

0.2.0

  • Added the ability to play CSD files from within VSCode.

0.0.1

  • Alpha: initial release

About

Plugin for Csound Language support in Visual Studio Code

License:MIT License


Languages

Language:TypeScript 81.0%Language:JavaScript 19.0%