mercury
Live code electronic music with the Mercury environment via the Pulsar editor. Also includes syntax highlighting for .mcy files
Timo Hoogland 4 0 1.4.0 ISC GitHub
  • Made for Pulsar!

    This package was written specifically for Pulsar and did not exist in the Atom package repository.

🌕 Mercury plugin for Pulsar

This is a simple plugin for Pulsar that allows you to evaluate Mercury code from within the editor. The code is send via OSC on port 4880 to either the Mercury Max version or the Mercury Browser version (running locally!).

🚀 Start Sketching Online!

🙏 Support Mercury by becoming a Patron

💬 Join the Discord Community

💻 Install

The Mercury Pulsar plugin is now available through the built-in Package Manager in Pulsar.

  1. Open Pulsar.app

  2. Click on Packages > Open Package Manager

  3. Search for mercury

  4. Click Install

Commandline

You can also install the package through the commandline. Make sure that ppm (Pulsar Package Manager) is installed. On linux and windows, it should be automatically installed with Pulsar. On OSX, go to the Pulsar menu and click Install Shell Commands.

  1. Open the Terminal and type

ppm install tmhglnd/mercury

If ppm fails, you can also use pulsar -p

Optionall you can also first clone this repository and install that manually:

  1. Download this repository via

$ git clone http://github.com/tmhglnd/mercury-pulsar

  1. Navigate to the directory and install the dependencies

$ cd mercury-pulsar and ppm install

  1. Load the package

$ ppm link .

  1. Restart Pulsar

🎮 Usage

  1. Start up either Mercury for Max or the Mercury Playground (running locally!, see instructions below)

  2. Create an empty file to open with Pulsar and write your code in. This can be a plain .txt file.

  3. Go to Packages > Open Package Manager, find the mercury package and click on Enable.

  4. The package should be automatically activated. You can toggle the package on/off with shift cmd p, search for mercury:toggle and enter.

  5. Type some code and:

    • Evaluate with cmd/ctrl/alt+enter

    • Silence the sound with cmd/ctrl/alt+.

    • Randomize variables cmd/ctrl/alt+shift+r

Mercury Max version

Mercury Browser version

🙏 Thanks

This plugin was made possible by looking at the source code from the Hydra and Tidal plugins for Atom