Skip to content

tmhglnd/mercury-pulsar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌕 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

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.

  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

For windows users

Windows doesn't support ppm, instead use npm and the following steps:

  1. Download this repository via

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

  1. Navigate to the directory and install the dependencies with npm instead of ppm

$ cd mercury-pulsar and npm install

  1. Manually copy-paste the entire folder mercury-pulsar to

C:\Users\<username>\.pulsar\packages

🎮 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

About

Live code electronic music with Mercury via the Pulsar editor

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published