SuperCollider scsynth WebAssembly engine and AudioWorklet for SuperSonic
npm install supersonic-scsynth-coreThe SuperCollider scsynth WebAssembly engine and AudioWorklet processor for SuperSonic.
This package contains the GPL-licensed runtime components:
- wasm/scsynth-nrt.wasm - The scsynth engine compiled to WebAssembly
- workers/*.js - AudioWorklet processor and supporting workers
This package is typically loaded automatically by supersonic-scsynth from CDN:
``javascript
import { SuperSonic } from 'supersonic-scsynth';
const supersonic = new SuperSonic();
// Loads core from: https://unpkg.com/supersonic-scsynth-core@latest/
`
To host the core yourself:
`javascript
import { SuperSonic } from 'supersonic-scsynth';
const supersonic = new SuperSonic({
coreBaseURL: '/path/to/supersonic-scsynth-core/'
});
`
`bash`
npm install supersonic-scsynth-core
Then serve the wasm/ and workers/ directories from your static file server.
GPL-3.0-or-later
This package is derived from SuperCollider by James McCartney and the SuperCollider community.
- supersonic-scsynth - MIT-licensed client API
- supersonic-scsynth-synthdefs - Synth definitions (MIT)
- supersonic-scsynth-samples - Audio samples (CC0)
- supersonic-scsynth-bundle` - Everything together