sonic-pi-js-api
An experimental JavaScript API to start and interact with the Sonic Pi server. Compatible with Sonic Pi v4.x.
📖 Documentation
Documentation is available online at https://sunderb.me/sonic-pi-js-api/latest/
✨ Features
Feature | Implemented? |
---|---|
Booting | |
Boot and initialise the server | |
Shutdown the server | |
Basic commands | |
Run code | |
Stop all jobs | |
Buffers/workspaces | |
Load workspaces | |
Save workspaces | |
Save and play buffer | |
Buffer new line and indent | |
Recordings | |
Start recording | |
Stop recording | |
Logging | |
Handle and emit log messages | |
Handle and emit errors | |
Options & IO | |
Main volume | |
Safe mode | |
External synths | |
MIDI options | |
Link |
Attributions
- Heavily based on on the official C++ Sonic Pi API (although not a fully exact copy) - MIT License
Dependencies
License
This package is licensed under the MIT License. See LICENSE.md for the full license.