- osc-min@^1.1.2
- mercury-lang@^1.10.0
- atom-message-panel@^1.3.1
-
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!).
- Web version running in the browser (Windows/Mac/Linux) go to this repo
- Full version running in Max8 (Windows/Mac only) go to this repo
🙏 Support Mercury by becoming a Patron
💻 Install
Make sure that ppm (Pulsar Package Manager) is installed. On linux, it should be automatically installed with Atom. On OSX, go to the Pulsar menu and click Install Shell Commands.
- Download this repository via
$ git clone http://github.com/tmhglnd/mercury-pulsar
- Navigate to the directory and install the dependencies
$ cd mercury-pulsar and ppm install
- Load the package
$ ppm link .
- Restart Pulsar
For windows users
Windows doesn't support ppm, instead use npm and the following steps:
- Download this repository via
$ git clone http://github.com/tmhglnd/mercury-pulsar
- Navigate to the directory and install the dependencies with
npminstead ofppm
$ cd mercury-pulsar and npm install
- Manually copy-paste the entire folder
mercury-pulsarto
C:\Users\<username>\.pulsar\packages
🎮 Usage
-
Start up either Mercury for Max or the Mercury Playground (running locally!, see instructions below)
-
Create an empty file to open with Pulsar and write your code in. This can be a plain
.txtfile. -
Go to
Packages>Open Package Manager, find the mercury package and click onEnable. -
The package should be automatically activated. You can toggle the package on/off with
shiftcmdp, search formercury:toggleandenter. -
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