supersonic-scsynth-core
v0.66.0
Published
SuperCollider scsynth WebAssembly engine and AudioWorklet for SuperSonic
Downloads
290
Maintainers
Readme
supersonic-scsynth-core
The SuperCollider scsynth WebAssembly engine and AudioWorklet processor for SuperSonic.
Overview
This package contains only the GPL-licensed runtime components:
wasm/scsynth-nrt.wasm- The scsynth engine compiled to WebAssemblyworkers/scsynth_audio_worklet.js- AudioWorklet processor
The MIT-licensed workers (prescheduler, osc_in, debug, osc_out_log) are distributed with the main supersonic-scsynth package.
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/ directory and workers/scsynth_audio_worklet.js 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
