Version0.3.1Verifiednot yet verifiedLicenseMIT

sigil-dsp

DSP primitives for Sigil (SoundPipe bindings)

Report a bug or suggest a feature
Readme

sigil-dsp

DSP primitives for Sigil via vendored SoundPipe.

Modules

  • (sigil dsp core) -- DSP engine lifecycle, function tables
  • (sigil dsp osc) -- Oscillators: sine, saw, square, triangle, FM, phasor
  • (sigil dsp filter) -- Filters: Moog ladder, Butterworth, resonant LP, DC block
  • (sigil dsp env) -- Envelopes: ADSR, triggered, line, exponential, portamento
  • (sigil dsp fx) -- Effects: stereo reverb (revsc, zitarev), delay, variable delay
  • (sigil dsp noise) -- Noise: white, pink, brown
  • (sigil dsp util) -- Panning, dynamics, timing, random modulation, scaling, WAV output

Usage

(import (sigil dsp core)
        (sigil dsp osc)
        (sigil dsp filter))

(dsp-init 44100)

;; Create a 440Hz sine oscillator
(define osc (make-osc 440.0 1.0))

;; Or use the convenience constructor
(define saw (make-oscillator 'saw 220.0 0.8))

;; Create a lowpass filter
(define filt (make-moogladder 1000.0 0.4))

;; Per-sample processing
(let ((sample (osc-compute osc)))
  (filter-compute filt sample))

(dsp-shutdown)

Building

sigil deps install
sigil build

Testing

The test entry point exercises all module categories:

# Add entry: '(sigil dsp test-main) to package.sgl, then:
sigil build --force
sigil run

License

MIT (SoundPipe) / BSD-3-Clause (sigil-dsp bindings)

Clone

$ git clone https://codeberg.org/sigil/sigil-dsp

Releases

v0.3.1 — latest by version, released 12 Jul 2026

All releases — 5 tags in this repository.

Source

Browse the latest source

One page per file, and every line has a permalink.

Recent commitsAtom

The last 20 commits keep a page here. Everything older lives in the clone.