Crate valib

source ·
Expand description

Introduction

valib is a library focusing on abstracting DSP algorithms to make them reusable and composable. It’s focusing on musical applications such as plugins or embedded digital synths.

It features many useful algorithms amongst which:

  • Oscillators (BLIT, wavetable (with interpolation))
  • Filters (Ladder, SVF, Biquads, all self-resonant with nonlinearities)
    • State-space models that can directly be constructed from their constituent matrix
    • Biquads support saturators
  • Saturators (Clipper/Tanh/Asinh/Diode Clipper with configurable ADAA)
  • Oversampling
  • Integrations
    • nih-plug (includes ability to bind to nih parameters)
    • fundsp (any statically-defined graph)

Re-exports

Modules

  • Module for code that is provided on top of valib, that is, not required os as part of the main library but provided for convenience.
  • Base traits for DSP algorithms.
  • Filter implementations for different topologies and styles.
  • Traits implemented by SIMD types and non-SIMD types.

Traits