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.mc.capture
    • el.mc.sample
    • el.mc.sampleseq
    • el.mc.sampleseq2
    • el.mc.table
    • 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.sampleseq2
    • 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
Docs
Reference
el.blepsquare

el.blepsquare(rate)

Outputs a band-limited polyblep square waveform at the given frequency. Expects exactly one child specifying the oscillator frequency in hz.

el.blepsawel.bleptriangle

MIT 2025 © Nick Thompson