npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

supersonic-scsynth-synthdefs

v0.97.0

Published

All Sonic Pi synthdefs for SuperSonic

Readme

supersonic-scsynth-synthdefs

Sonic Pi's synthdefs as binary .scsyndef files, plus a few test and utility synthdefs the SuperSonic test suite loads, for SuperSonic.

Installation

npm install supersonic-scsynth-synthdefs

Use with the client and the engine:

npm install supersonic-scsynth supersonic-scsynth-core supersonic-scsynth-synthdefs

Usage

import { SuperSonic } from 'https://unpkg.com/supersonic-scsynth@latest/dist/supersonic.js';

const supersonic = new SuperSonic({
  baseURL: 'https://unpkg.com/supersonic-scsynth@latest/dist/',
  coreBaseURL: 'https://unpkg.com/supersonic-scsynth-core@latest/',
  synthdefBaseURL: 'https://unpkg.com/supersonic-scsynth-synthdefs@latest/synthdefs/'
});

// Browsers start audio only after a click, tap or keypress
document.querySelector('button').onclick = async () => {
  await supersonic.init();

  // Load synthdefs from CDN
  await supersonic.loadSynthDefs(['sonic-pi-beep', 'sonic-pi-tb303', 'sonic-pi-prophet']);
};

synthdefBaseURL is where synthdefs loaded by name are fetched from: loadSynthDef('sonic-pi-beep') fetches sonic-pi-beep.scsyndef from there.

The package itself exports every name and, as SYNTHDEFS_CDN, this release's synthdefs on unpkg, from a browser or anywhere else:

import { SYNTHDEFS_CDN, SYNTHDEF_NAMES } from 'supersonic-scsynth-synthdefs';

From Node

Under Node it also exports the directory the files are in, and the path of one:

import { SYNTHDEFS_DIR, getSynthDefPath, SYNTHDEF_NAMES } from 'supersonic-scsynth-synthdefs';

getSynthDefPath('sonic-pi-beep');   // <SYNTHDEFS_DIR>/sonic-pi-beep.scsyndef

Included Synthdefs

Sonic Pi's synthdefs, including:

Synths

  • Basic: beep, saw, square, tri, pulse
  • Analog: dsaw, dpulse, dtri, prophet, tb303
  • FM: fm, mod_fm
  • Subtractive: bass_foundation, bass_highend, blade, hoover, zawa
  • Chip: chiplead, chipbass, chipnoise

Noise

  • bnoise, cnoise, gnoise, pnoise

Pads & Ambient

  • dark_ambience, hollow, growl, organ_tonewheel

Plucked & Percussion

  • pluck, kalimba, rhodey
  • piano (silent until it is given its sample table with /supersonic/piano/wavetable)

Effects (fx_*)

All standard effects:

  • Reverb: reverb, gverb
  • Delay: echo, ping_pong
  • Filters: lpf, hpf, bpf, rbpf, nrlpf, nhpf, etc.
  • Modulation: flanger, tremolo, wobble, ring_mod
  • Distortion: distortion, bitcrusher, krush, tanh
  • Dynamics: compressor, normaliser
  • Spatial: pan, panslicer
  • Spectral: pitch_shift, octaver, whammy
  • And more...

Drums (sc808_*)

Complete TR-808 drum machine:

  • bassdrum, snare, rimshot
  • closed_hihat, open_hihat
  • clap, cowbell, maracas
  • cymbal, claves
  • tom (hi, mid, lo)
  • conga (hi, mid, lo)

SYNTHDEF_NAMES, exported by index.js, lists them all, and the test synthdefs too.

Source

These synthdefs are from Sonic Pi by Sam Aaron.

Source: https://github.com/sonic-pi-net/sonic-pi/tree/dev/etc/synthdefs/compiled

License

MIT - See LICENSE