Sample Libraries
Browse and import free sample libraries
Sanic Boom includes a growing collection of free, open-source sample libraries. Import any library with a single line:
import "github:SanicBoom/wine-glasses"Then use libraries as full instruments or reference individual samples:
import "github:SanicBoom/salamander-grand-piano"
// Use the full instrument — the engine picks the right sample per note and velocity
let piano = sample("lib:salamander-grand-piano")
let chords = [C4 E4 G4 C5]
|> piano
|> reverb(size: 0.6, mix: 0.3)Multi-sample libraries like salamander-grand-piano include samples at multiple notes and velocities. When you play a note, the engine automatically selects the closest sampled note and pitch-shifts to match, giving you a realistic instrument across the full keyboard.
For simpler libraries with individual samples, reference them directly with lib:library-name/sample-name:
import "github:SanicBoom/wine-glasses"
// Load a specific sample from the library
let glass = sample("lib:wine-glasses/glass1", root: Eb4)
// Use it as a melodic instrument — notes are pitch-shifted from the root
let melody = [Eb4 _ G4 Bb4 _ Ab4 G4 _]
|> glass
|> reverb(size: 0.85, mix: 0.6)
|> delay(time: 0.375, feedback: 0.4)The root: parameter tells Sanic Boom which note the sample was recorded at. When you play other notes, the sample is pitch-shifted accordingly — so G4 plays faster than Eb4, and Ab4 plays slower, giving you a full melodic instrument from a single sample.
Importing Samples as Instruments
Use from ... import to pull sample aliases from any library as instruments:
from "github:SanicBoom/808" import { kick, snare, hat }
play [kick _ snare hat]Each imported name becomes a sample instrument that you can use directly inside patterns. This is the easiest way to build drum patterns — see Per-Note Instruments for more.
Names are resolved in order: first from the library's .sanic module exports (if it has one), then from the library's sample aliases in library.json. This means you can import both module bindings and sample names from the same library:
// "myFunc" comes from the .sanic module, "kick" from sample aliases
from "github:SanicBoom/drum-kit" import { myFunc, kick }Entry Point Resolution
Libraries with .sanic modules specify their entry point in one of three ways:
"main"field inlibrary.json— e.g."main": "index.sanic"- Fallback —
main.sanicin the library root - Direct file reference — specify a path after the repo name:
from "github:SanicBoom/some-lib/drums.sanic" import { kick, snare }If a library has no .sanic entry point, from ... import resolves names against the library's sample aliases, and bare import "github:..." loads its samples for lib: path references.
Keyboards & Piano
| Library | Description |
|---|---|
grand-piano-kawai | Grand Piano, Kawai |
grand-piano-steinway-b | Grand Piano, Steinway B |
upright-piano-knight | Upright Piano, Knight |
upright-piano-yamaha | Upright Piano, Yamaha |
salamander-grand-piano | Salamander Grand Piano |
scarypiano | Scarypiano — dark, processed piano |
fm-piano | FM Piano — FM synthesis piano |
piano-1 | Piano 1 |
clavisynth | Clavisynth — synthetic keyboard |
harpsichord-english | Harpsichord, English |
harpsichord-flemish | Harpsichord, Flemish |
harpsichord-french | Harpsichord, French |
harpsichord-italian | Harpsichord, Italian |
harpsichord-unknown | Harpsichord, Unknown |
pipe-organ | Pipe Organ |
renaissance-organ | Renaissance Organ |
vsco-organ | VSCO 2 CE — Organ |
vsco-upright-piano | VSCO 2 CE — Upright Piano |
vsco-upright-nr1 | VSCO 2 CE — Upright Nr1 |
Strings
| Library | Description |
|---|---|
concert-harp | Concert Harp |
folk-harp | Folk Harp |
dan-tranh | Dan Tranh — Vietnamese zither |
psaltery | Psaltery, Bowed and Plucked |
strumstick | Strumstick |
bigcat-cello | Bigcat Cello |
string-cyborgs | String Cyborgs — processed strings |
vsco-cello-section | VSCO 2 CE — Cello Section |
vsco-viola-section | VSCO 2 CE — Viola Section |
vsco-violin-section | VSCO 2 CE — Violin Section |
vsco-solo-violin | VSCO 2 CE — Solo Violin |
vsco-solo-contrabass | VSCO 2 CE — Solo Contrabass |
vsco-harp | VSCO 2 CE — Harp |
Woodwinds
| Library | Description |
|---|---|
baroque-soprano-recorder | Baroque Soprano Recorder |
baroque-alto-recorder | Baroque Alto Recorder |
baroque-tenor-recorder | Baroque Tenor Recorder |
baroque-bass-recorder | Baroque Bass Recorder |
harmonica-hohner-special20-c | Harmonica, Hohner Special 20 in C |
harmonica-hohner-special20-f | Harmonica, Hohner Special 20 in F |
harmonica-hohner-super64 | Harmonica, Hohner Super 64 |
ocarina-small | Ocarina, Small |
ocarina-typical | Ocarina, Typical |
didgeridoo | Didgeridoo |
squidpipes | Squidpipes — processed pipes |
vsco-flute | VSCO 2 CE — Flute |
vsco-piccolo | VSCO 2 CE — Piccolo |
vsco-clarinet | VSCO 2 CE — Clarinet |
vsco-oboe | VSCO 2 CE — Oboe |
vsco-bassoon | VSCO 2 CE — Bassoon |
Brass
| Library | Description |
|---|---|
vsco-trumpet | VSCO 2 CE — Trumpet |
vsco-french-horn | VSCO 2 CE — French Horn |
vsco-tenor-trombone | VSCO 2 CE — Tenor Trombone |
vsco-trombone | VSCO 2 CE — Old Trombone |
vsco-tuba | VSCO 2 CE — Tuba |
war-tuba | War Tuba — aggressive brass |
Saxophones
| Library | Description |
|---|---|
tenor-saxophone | Tenor Saxophone |
saxello | Saxello |
bear-sax | Bear Sax — processed sax |
weresax | Weresax — processed sax |
Guitar & Bass
| Library | Description |
|---|---|
emilyguitar | Emilyguitar — clean acoustic guitar |
shinyguitar | Shinyguitar — bright guitar |
black-and-green-guitars | Black And Green Guitars |
big-little-bass | Big Little Bass |
black-and-blue-basses | Black And Blue Basses |
fashionbass | Fashionbass |
growlybass | Growlybass |
meatbass | Meatbass |
pastabass | Pastabass |
sneakybass | Sneakybass |
swagbass | Swagbass |
Tuned Percussion
| Library | Description |
|---|---|
glockenspiel | Glockenspiel |
marimba | Marimba |
vibraphone | Vibraphone |
xylophone | Xylophone |
tubular-bells-1 | Tubular Bells 1 |
tubular-bells-2 | Tubular Bells 2 |
tubular-glockenspiel | Tubular Glockenspiel |
kalimba-kenya | Kalimba, Kenya |
kalimba-tanzania | Kalimba, Tanzania |
mbira-mavembe | Mbira Mavembe (Gandanga), Zimbabwe |
mbira-nyamaropa | Mbira dzaVadzimu Nyamaropa, Zimbabwe |
nyunga-nyunga | Nyunga Nyunga, Mozambique |
balafon | Balafon |
bell-tree | Bell Tree |
hand-bells-nepalese | Hand Bells, Nepalese |
hand-chimes | Hand Chimes |
mark-trees | Mark Trees |
slit-drum | Slit Drum |
wine-glasses | Wine Glass Samples |
vsco-glockenspiel | VSCO 2 CE — Glockenspiel |
vsco-marimba | VSCO 2 CE — Marimba |
vsco-xylo | VSCO 2 CE — Xylophone |
Drums
| Library | Description |
|---|---|
bass-drum-1 | Bass Drum 1 |
bass-drum-2 | Bass Drum 2 |
snare-drum-1 | Snare Drum, Modern 1 |
snare-drum-2 | Snare Drum, Modern 2 |
snare-drum-3 | Snare Drum, Modern 3 |
snare-drum-rope | Snare Drum, Rope Tension |
tom-1 | Tom 1 |
tom-2 | Tom 2 |
hi-hat-cymbal | Hi-Hat Cymbal |
clash-cymbals-1 | Clash Cymbals 1 |
clash-cymbals-2 | Clash Cymbals 2 |
suspended-cymbal-1 | Suspended Cymbal 1 |
suspended-cymbal-2 | Suspended Cymbal 2 |
bongos | Bongos |
conga | Conga |
cajon | Cajon |
darbuka | Darbuka |
frame-drum | Frame Drum |
timpani-1 | Timpani 1 |
timpani-2 | Timpani 2 |
ocean-drum | Ocean Drum |
frankensnare | Frankensnare — processed snare |
thehatwiththephat | Thehatwiththephat — processed hi-hat |
avl-drumkits | AVL Drumkits |
salamander-drumkit | Salamander Drumkit |
big-rusty-drums | Big Rusty Drums |
swirly-drums | Swirly Drums |
unruly-drums | Unruly Drums |
vsco-percussion | VSCO 2 CE — Percussion |
vsco-timpani | VSCO 2 CE — Timpani |
Small Percussion
| Library | Description |
|---|---|
cabasa | Cabasa |
claps | Claps |
claves | Claves |
cowbells | Cowbells |
guiro | Guiro |
ratchet | Ratchet |
shaker-large | Shaker, Large |
shaker-small | Shaker, Small |
sleigh-bells | Sleigh Bells |
slapstick | Slapstick |
tambourine-1 | Tambourine 1 |
tambourine-2 | Tambourine 2 |
triangles | Triangles |
vibraslap | Vibraslap |
woodblock | Woodblock |
finger-cymbals | Finger Cymbals |
brake-drum | Brake Drum |
flexatone | Flexatone |
agogo-bells | Agogo Bells |
Synths & Creative
| Library | Description |
|---|---|
cowsynth | Cowsynth |
ergo | Ergo |
horsepulse | Horsepulse |
caveman-cosmonaut | Caveman Cosmonaut |
gogodze-phu-vol-i | Gogodze Phu Vol I |
gogodze-phu-vol-ii | Gogodze Phu Vol II |
272-merry-orks | 272 Merry Orks |
vsco-miscellania | VSCO 2 CE — Miscellania |
Novelty & Effects
| Library | Description |
|---|---|
anvil | Anvil |
ball-whistle | Ball Whistle |
gong-1 | Gong 1 |
siren | Siren |
train-whistle-toy | Train Whistle, Toy |