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-samples

v0.103.1

Published

All 207 Sonic Pi audio samples for SuperSonic

Readme

SuperSonic Samples

Sonic Pi's audio samples in one convenient package, as FLAC files (plus an AIFF copy of bd_haus, which SuperSonic's tests load).

Installation

npm install supersonic-scsynth-samples

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/',
  sampleBaseURL: 'https://unpkg.com/supersonic-scsynth-samples@latest/samples/'
});

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

  // Load any sample
  await supersonic.loadSample(0, 'bd_haus.flac');
  await supersonic.loadSample(1, 'loop_amen.flac');

  // Play it with the basic_mono_player synthdef, in the root group (0)
  await supersonic.loadSynthDef('sonic-pi-basic_mono_player');
  supersonic.send('/s_new', 'sonic-pi-basic_mono_player', -1, 0, 0, 'buf', 0);
};

sampleBaseURL is where samples named without a path are fetched from.

Available Samples

This package includes Sonic Pi's samples, organised by category. Their names are also exported, as SAMPLE_NAMES, by the package, from a browser or anywhere else; under Node it exports SAMPLES_DIR and getSamplePath(file) as well.

Ambient (11 samples)

ambi_choir, ambi_dark_woosh, ambi_drone, ambi_glass_hum, ambi_glass_rub, ambi_haunted_hum, ambi_lunar_land, ambi_piano, ambi_sauna, ambi_soft_buzz, ambi_swoosh

Bass Drums (15 samples)

bd_808, bd_ada, bd_boom, bd_chip, bd_fat, bd_gas, bd_haus, bd_jazz, bd_klub, bd_mehackit, bd_pure, bd_sone, bd_tek, bd_zome, bd_zum

Loops (17 samples)

loop_3d_printer, loop_amen, loop_amen_full, loop_breakbeat, loop_compus, loop_drone_g_97, loop_electric, loop_garzul, loop_industrial, loop_mehackit1, loop_mehackit2, loop_mika, loop_perc1, loop_perc2, loop_safari, loop_tabla, loop_weirdo

Electronic (25 samples)

elec_beep, elec_bell, elec_blip, elec_blip2, elec_blup, elec_bong, elec_chime, elec_cymbal, elec_filt_snare, elec_flip, elec_fuzz_tom, elec_hi_snare, elec_hollow_kick, elec_lo_snare, elec_mid_snare, elec_ping, elec_plip, elec_pop, elec_snare, elec_soft_kick, elec_tick, elec_triangle, elec_twang, elec_twip, elec_wood

Drums (20 samples)

drum_bass_hard, drum_bass_soft, drum_cowbell, drum_cymbal_closed, drum_cymbal_hard, drum_cymbal_open, drum_cymbal_pedal, drum_cymbal_soft, drum_heavy_kick, drum_roll, drum_snare_hard, drum_snare_soft, drum_splash_hard, drum_splash_soft, drum_tom_hi_hard, drum_tom_hi_soft, drum_tom_lo_hard, drum_tom_lo_soft, drum_tom_mid_hard, drum_tom_mid_soft

Plus: Glitch, Guitar, Hi-hats, Percussion, Snares, Tabla, Vinyl, and more!

See PROVENANCE.md for full attribution and Freesound.org links.

Package Size

About 35 MB, already compressed as FLAC.

Each sample is fetched only when you load it, so initial page load remains fast.

License

CC0-1.0 (Public Domain) - See LICENSE

All samples originally from Sonic Pi.

Related Packages