# jaysalvat/buzz

Buzz is a small but powerful Javascript library that allows you to easily take advantage of the new HTML5 audio element. It tries to degrade silently on non-modern browsers.

Repository: https://github.com/jaysalvat/buzz
Canonical: https://ross.abutalabs.com/products/jaysalvat-buzz
Homepage: http://buzz.jaysalvat.com
Language: JavaScript
License: MIT
License Family: permissive
Last push: 2026-02-18T14:00:51+00:00

## Health v2 (maintenance only)
Score: 63/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 68, release rhythm 35, longevity 100
- inputs: {"age_days": 5564, "days_push": 196, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1204, forks 222 (observed 2026-08-28T04:03:59.051319+00:00)

## What it is
Buzz is a small JavaScript library that wraps the HTML5 audio element to make it easy to play and manage sounds in web pages, with graceful degradation on older browsers. Version 2.0 adds Promise support, ES modules, and TypeScript definitions.

## Use cases
- play sound effects on a website
- add background music with fade in and fade out
- loop audio in the browser
- group multiple sounds and control them together
- detect which audio formats the browser supports
- display a timer for playing audio

## When to choose
- you need simple browser audio playback without heavy dependencies
- you want a lightweight wrapper around the HTML5 audio element
- you need multi-format fallback (ogg, mp3, aac, wav)
- you want chainable sound APIs with Promise or callback support

## When to avoid
- you need advanced audio synthesis or effects (use Web Audio API directly)
- you need streaming audio or playlists with complex queuing
- you target mobile autoplay scenarios, which browsers restrict
- you need a full-featured media player UI

## Facets
- artifact type: library
- maturity: active
- function: audio-processing
- domain: web-development, frontend
- platform: browser
- tags: html5-audio, sound-playback, promise-api, typescript-definitions, audio, nodejs

## Member repositories
- jaysalvat/buzz (main) score 63

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:59.051319+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:19:39.819489+00:00, confidence not recorded.
  - readme: https://github.com/jaysalvat/buzz (fetched 2026-08-28T04:03:59.051319+00:00, sha 13e0f3fbd3f9)
  - homepage: http://buzz.jaysalvat.com (fetched 2026-08-29T12:27:44.671485+00:00, sha b655256f934c)
  - site_page: https://buzz.jaysalvat.com/documentation (fetched 2026-08-29T12:27:44.680460+00:00, sha 85eadb25b1dd)
  - site_page: https://buzz.jaysalvat.com/documentation/buzz (fetched 2026-08-29T12:27:44.682172+00:00, sha 96278018ca67)
  - site_page: https://buzz.jaysalvat.com/documentation/sound (fetched 2026-08-29T12:27:44.683945+00:00, sha 216bd55f5333)
  - site_page: https://buzz.jaysalvat.com/documentation/group (fetched 2026-08-29T12:27:44.686122+00:00, sha ff16296a8756)
  - site_page: https://buzz.jaysalvat.com/documentation/events (fetched 2026-08-29T12:27:44.687845+00:00, sha ede9d9082580)
  - registry_npm: https://registry.npmjs.org/buzz (fetched 2026-08-29T12:27:44.690042+00:00, sha 0907ae381e04)
- Data as of 2026-08-30T08:39:29.467469+00:00.
