# RustAudio/dasp

The fundamentals for Digital Audio Signal Processing. Formerly `sample`.

Repository: https://github.com/RustAudio/dasp
Canonical: https://ross.abutalabs.com/products/dasp
Language: Rust
License: NOASSERTION
License Family: other
Last push: 2026-01-12T21:56:06+00:00

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

## Adoption (not part of the score)
Stars 1185, forks 79 (observed 2026-08-28T04:03:54.953073+00:00)

## What it is
dasp is a modular suite of Rust crates providing fundamentals for digital audio signal processing (PCM DSP), including sample/frame types, conversions, ring buffers, envelope detection, and interpolation. It is allocation-free and dependency-free, designed to be a fast, portable 'std for audio DSP'.

## Use cases
- process PCM audio samples in Rust
- convert between audio sample bit depths and formats
- detect signal envelopes with peak and RMS
- resample or interpolate audio signals
- build audio synthesis or effects engines
- work with audio frames and slices without allocations

## When to choose
- you need low-level, high-performance audio DSP primitives in Rust
- you want zero dependencies and no dynamic allocations
- you want to pick only the DSP components you need via modular crates

## When to avoid
- you need a full DAW or high-level audio application framework
- you need built-in audio playback or device I/O
- you want ready-made effects plugins rather than DSP fundamentals

## Facets
- artifact type: library
- maturity: stable
- function: audio-processing, math, developer-tools
- domain: media
- platform: rust, cross-platform, embedded
- tags: dsp, pcm, audio, no-std-friendly, signal-processing, modular-crates, algorithms

## Member repositories
- RustAudio/dasp (main) score 60

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:54.953073+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:24:06.270319+00:00, confidence not recorded.
  - readme: https://github.com/RustAudio/dasp (fetched 2026-08-28T04:03:54.953073+00:00, sha 1161dd2683c3)
  - registry_crates: https://crates.io/api/v1/crates/dasp (fetched 2026-08-29T12:30:57.573605+00:00, sha 65c7ea9f51e9)
- Data as of 2026-08-30T08:39:29.467469+00:00.
