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.saw

el.saw(rate)

Outputs a naive sawtooth oscillator at the given frequency. Expects exactly one child specifying the cycle frequency in hz.

Typically, due to the aliasing of the naive sawtooth at audio rates, this oscillator is used for low frequency modulation.

el.sampleseq2el.scope

MIT 2025 © Nick Thompson