supersonic-scsynth-core
v0.26.0
Published
SuperCollider scsynth WebAssembly engine and AudioWorklet for SuperSonic
Maintainers
Readme
supersonic-scsynth-core
The SuperCollider scsynth WebAssembly engine and AudioWorklet processor for SuperSonic.
Overview
This package contains the GPL-licensed runtime components:
wasm/scsynth-nrt.wasm- The scsynth engine compiled to WebAssemblyworkers/*.js- AudioWorklet processor and supporting workers
Usage
This package is typically loaded automatically by supersonic-scsynth from CDN:
import { SuperSonic } from 'supersonic-scsynth';
const supersonic = new SuperSonic();
// Loads core from: https://unpkg.com/supersonic-scsynth-core@latest/Self-Hosting
To host the core yourself:
import { SuperSonic } from 'supersonic-scsynth';
const supersonic = new SuperSonic({
coreBaseURL: '/path/to/supersonic-scsynth-core/'
});Installation
npm install supersonic-scsynth-coreThen serve the wasm/ and workers/ directories from your static file server.
License
GPL-3.0-or-later
This package is derived from SuperCollider by James McCartney and the SuperCollider community.
Related Packages
supersonic-scsynth- MIT-licensed client APIsupersonic-scsynth-synthdefs- Synth definitions (MIT)supersonic-scsynth-samples- Audio samples (CC0)supersonic-scsynth-bundle- Everything together
