Skip to content

Installation

This content is for v0.7. Switch to the latest version for up-to-date documentation.

How to get Resonon running on your system?

A Resonon coding environment has three components:

  • Resonon — The core of the system. Think of it as the language itself - it includes the interpreter, audio and MIDI engine, and the server for live-coding.
  • LSP - The Resonon language server. It provides language intelligence, like diagnostics, completions, hover info, …
  • VSCode extension — The extension can be thought of as the convenience layer for Resonon user-interaction. It connects to the Resonon server and lets you evaluate selected code with Cmd+Enter. It provides controls for sessions and transport, gives quick access to helpful TUI windows, and more.
  • macOS (Any recent version should do..)

Download the latest installer (.pkg). The program will guide you through the automatic installation of the Resonon language and LSP.

Download the latest extension (.vsix). Then, from within VSCode use “Install extension from file” in the command-pallette and select the downloaded file.

Terminal window
resonon --version

If the current resonon version is printed in the terminal, the resonon language is correctly installed.

In VSCode the extension should show up in the “Extensions” panel. To quickly verify, just open any .non file and see the LSP and RESONON buttons in the footer appear. (The LSP should show a checkmark to the left side.)

If all this checks, you’re all set to start with your first Resonon project!


If you want to make changes to the core source code of Resonon or have other reasons for not using the official installers, you can always build from source…

Clone the repository, then build and install the language and LSP using make:

Terminal window
git clone https://github.com/WARNS-AUDIO/RESONON/
cd RESONON
make install

To build and install the VSCode extension:

Terminal window
make install-ext

If you found yourself here, you probably know your way around this sort of thing. Just check the repo for how everything is setup and what packages and tools are required…