Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>CmajorNew to Visual Studio Code? Get it now.

Cmajor

Sound Stacks Ltd

cmajor.dev
|
484 installs
| (0) | Free
Cmajor language tools
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Cmajor Language Tools

This extension provides syntax-highlighting, playback and other functionality to support the Cmajor DSP language.

For more details about Cmajor, please visit:

  • The project website: cmajor.dev
  • Our github page
  • The Cmajor Language Guide
  • The Cmajor Patch Format Guide
  • Some Cmajor Example Patches
  • Further documentation

#### Commands

The extension adds various commands to VScode, including:

Cmajor: Run patch

If you have a .cmajorpatch file open in the text editor, then invoking this command will build and run the patch.

Any compile errors will be reported in the problems panel, making it easy to fix mistakes. When your patch compiles successfully, it'll open a separate pop-up window showing its GUI, and any output while running will appear in the embedded terminal inside VScode. To stop the patch running, you can either close its popup window, or kill the process in the terminal.

While a patch is running, re-saving any of the patch source files should automatically trigger a rebuild and reload, so you can immediately see the effect of your changes.

Cmajor: Create a new patch

This command will prompt you to select the name of a new .cmajorpatch file. It will then create a template patch and some simple placeholder code as a way of getting started. You can run it with the Cmajor: Run patch command, and use it as a starting point to build upon.

Cmajor: Find example patches

This command will take you to the Cmajor repository where you can find our example patches. You can either clone the whole repository from github, or just download specific examples from the examples folder.

Cmajor: Export patch as JUCE plugin

This will prompt you for a folder in which to create a new JUCE project containing a complete C++ version of the patch that has focus. This allows you to build a native VST/AU/AAX plugin of your patch.

  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft