DocsDocsShowcaseShowcasePlaygroundPlayground
GitHubGitHub (opens in a new tab)DiscordDiscord (opens in a new tab)
  • Introduction
  • Motivation
  • In Depth
    • Making Sound
    • Virtual File System
    • Sample Accurate Rendering
    • Understanding Keys
    • Using Refs
    • Native Integrations
    • Custom Native Nodes
    • Distortion, Saturation, and Wave Shaping
    • Envelope Generators
    • Web MIDI
    • @elemaudio/core
    • @elemaudio/offline-renderer
    • @elemaudio/web-renderer
  • Playground API
    • Math
    • el.accum
    • el.adsr
    • el.allpass
    • el.bandpass
    • el.biquad
    • el.blepsaw
    • el.blepsquare
    • el.bleptriangle
    • el.capture
    • el.compress
    • el.const
    • el.convolve
    • el.counter
    • el.cycle
    • el.db2gain
    • el.dcblock
    • el.delay
    • el.df11
    • el.env
    • el.fft
    • el.hann
    • el.highpass
    • el.highshelf
    • el.latch
    • el.lowpass
    • el.lowshelf
    • el.maxhold
    • el.meter
    • el.metro
    • el.mm1p
    • el.ms2samps
    • el.noise
    • el.notch
    • el.peak
    • el.phasor
    • el.pink
    • el.pinknoise
    • el.pole
    • el.prewarp
    • el.rand
    • el.sample
    • el.sampleseq
    • el.saw
    • el.scope
    • el.sdelay
    • el.select
    • el.seq
    • el.seq2
    • el.skcompress
    • el.sm
    • el.smooth
    • el.snapshot
    • el.sparseq
    • el.sparseq2
    • el.sphasor
    • el.square
    • el.sr
    • el.svf
    • el.svfshelf
    • el.table
    • el.tapIn
    • el.tapOut
    • el.tau2pole
    • el.time
    • el.train
    • el.triangle
    • el.z
    • el.zero

On This Page

  • Props
Docs
Reference
el.env

el.env([props], atkPole, relPole, x)

A one-pole envelope follower node with different attack and release times. This is quite similar to el.pole(p, el.abs(x)) in implementation. Expects three children, the pole position for the attack phase, the pole position for the release phase, and the signal to monitor. For example,

el.env(el.tau2pole(0.01), el.tau2pole(0.1), x)

Props

None

el.df11el.fft

MIT 2024 © Nick Thompson