audio

@audio/filter-oberheim1.3.0

Oberheim SEM state-variable filter

Oberheim SEM state-variable filter (–12 dB/oct multimode)

Status
calibrated
Updated
Family
filter, 16 packages under it
Plugin
oberheim, effect, streaming, 3 parameters
Category
effects
Licence
MIT
Dependencies
none
Downloads
3,474 last month
Tests
at least 129 in audiojs/filter's CI, passed at 878f618,

Listen

// "Local Forecast" by Kevin MacLeod (incompetech.com), CC BY 4.0, incompetech.com/music/royalty-free/faq.html
audio('/samples/music/modern/local-forecast.mp3').oberheim()

// "Local Forecast" by Kevin MacLeod (incompetech.com), CC BY 4.0, incompetech.com/music/royalty-free/faq.html

Parameters

  • effect
  • streaming
  • tail
fc
1000 Hz
20 to 20000 Hz
resonance
0
0 to 1
type
lowpass, highpass, bandpass, notch
import oberheim from '@audio/filter-oberheim'

Oberheim SEM (1974) — 2-pole state-variable filter with four modes from one circuit.

Topology: 2 trapezoidal integrators with nonlinear feedback; multimode output (LP/HP/BP/notch)
Response: −12 dB/oct-12\,\text{dB/oct}; warm, musical resonance; continuous mode morphing
Implementation: ZDF (zero-delay feedback) via trapezoidal integration — Zavalishin, The Art of VA Filter Design (2012), Ch. 4–5; tanh⁡\tanh saturation on the integrator states (not on a separate drive input — unlike the ladder filters in this repo, oberheim takes no drive parameter)

oberheim(buffer, { fc: 1000, resonance: 0.5, type: 'lowpass',  fs: 44100 })
oberheim(buffer, { fc: 1000, resonance: 0.5, type: 'highpass', fs: 44100 })
oberheim(buffer, { fc: 1000, resonance: 0.5, type: 'bandpass', fs: 44100 })
oberheim(buffer, { fc: 1000, resonance: 0.5, type: 'notch',    fs: 44100 })

Circuit: Oberheim SEM (1974), Two Voice, Four Voice, Eight Voice
vs Moog/Korg: 2-pole like Korg35 but true state-variable topology; LP/HP/BP/notch from one circuit; warmer resonance character

Param Default
fc 1000 cutoff frequency, Hz
resonance 0 0–1; damping R = 1 − resonance (inverted — resonance=1 gives R=0, max resonance); bandpass peak gain is exactly 1/(2R)
fs 44100 sample rate, Hz
type 'lowpass' 'lowpass', 'highpass', 'bandpass', or 'notch'

Pass the same params object on every call to persist the 2 integrator states across blocks.

fc above 0.49 of the sample rate is held there (every /audio processor of @audio/filter and @audio/eq keeps this one rule). In the /audio processor a new type moves the output from the old taps to the new over 20 ms: a tap switched in one sample would click. fc is smoothed (20 ms): a host ramps it, the filter retuned at each call's value.

Use when: multimode synth filter (LP/HP/BP/notch from one set of coefficients) with warm, musical resonance — mode-switch by changing type without recomputing coefficients.


Part of @audio/filter — the filter family umbrella. This README is generated from the umbrella docs.

MIT © audiojs