Function Reference

Signals

The unit generators — oscillators, filters, envelopes and effects — that lower to nodes in the audio graph.

Asymmetric parameter follower. Smooths rising segments over attack and falling ones over release (halfway response times, in seconds).

allpole(audio, delay)

signal → signal

First-order allpass filter with a configurable delay at DC, in samples (must be > 0).

Bell equalizer. Boosts or cuts a band around the center frequency by gain (an amplitude multiplier, not dB).

Brown noise: -6 dB per octave. Darker than pink.

clip(signal)

signal → signal

Hard-clip the signal to -1..=1.

dcblock(signal)

signal → signal

Remove DC offset, keeping the signal zero-centered. Cutoff is 10 Hz.

declick(signal)

signal → signal

Fade the signal in over 10 ms from time zero, suppressing the click at the start of a graph.

delay(signal, time)

signal → signal

Fixed delay of time seconds, rounded to the nearest sample. The time is a constant — use tap for a modulatable delay.

Saw-like discrete summation formula oscillator. roughness in 0..=1 sets how much successive partials are attenuated.

Square-like discrete summation formula oscillator. roughness in 0..=1 sets how much successive partials are attenuated.

Time-based ADSR for one-shot voices. Attack, decay and sustain fill duration. The note is held for duration and the voice lasts duration + release. All arguments are constants.

fir3(signal, gain)

signal → signal

Three-point symmetric FIR filter, specified by its gain (>= 0) at the Nyquist frequency. A gain below 1 gives a gentle lowpass.

hammond(frequency)

signal → signal

Hammond organ wavetable oscillator. Emphasizes the first three partials.

A single one followed by silence. Useful for exciting pluck or measuring an impulse response.

input(channel)

number → signal

One channel of the live audio input, counted from 0.

Silence until an input device is chosen in the settings panel, and on any channel the chosen device does not have — so a piece written against an interface still runs on the laptop it is edited on.

Look-ahead limiter holding the signal to -1..=1. Look-ahead equals the attack time. Times are constants, in seconds.

One straight segment: start to end over duration seconds, held constant at end value after duration.

lorenz(frequency)

signal → signal

Lorenz chaotic oscillator. The frequency input has only a slight effect on the output.

Maximum length sequence noise: a repeating pseudorandom run of -1 and 1.

mls_bits(bits)

number → signal

Maximum length sequence noise from an n-bit sequence (1..=31). More bits means a longer period before it repeats. Constant.

organ(frequency)

signal → signal

Organ wavetable oscillator. Emphasizes octave partials.

perc(attack, release)

number → signal

Self-contained percussive envelope: rise, fall, silence. Both times are constants.

Pink noise: -3 dB per octave.

pinkpass(signal)

signal → signal

Pinking filter: -3 dB per octave. Turns white noise into pink.

ramp(frequency)

signal → signal

Rising ramp from 0 to 1 at the given repetition frequency, starting at 0. Not bandlimited — useful as a phasor, not as audio.

Reverb (32-channel FDN). room_size is in meters (10 is an average room), time is the decay to -60 dB in seconds, damping in 0..=1 rolls off the highs. Wet only: x + reverb(x, 10, 3, 0.5) * 0.2. All parameters except the audio input are constants.

Hybrid FDN reverb — richer and more expensive than reverb. room_size is in meters and clamps to 10..=30, diffusion in 0..=1 thickens the tail, modulation around 1 adds movement (higher goes audibly Doppler), and damping_cutoff is the lowpass applied to each loop pass, in hertz. Wet only. All parameters except the audio input are constants.

Allpass-loop reverb, with no room size — just time to -60 dB, diffusion in 0..=1, and a damping_cutoff in hertz applied to each loop pass. Wet only. All parameters except the audio input are constants.

Reverb with a slow fade-in, for swells rather than rooms. room_size is in meters and is treated as at least 15; below that the delay times stop sounding like a space. Wet only. Both room_size and time are constants.

rossler(frequency)

signal → signal

Rossler chaotic oscillator, with peaks at multiples of the frequency input.

soft_saw(frequency)

signal → signal

Soft saw wavetable oscillator. Contains all partials but falls off like a triangle wave.

Tapped delay line with cubic interpolation. Unlike delay, the delay time is a signal, so it can be modulated. It must stay within the constant min_delay..=max_delay bounds, in seconds.

tick(signal)

signal → signal

Single-sample delay. The building block for feedback and comb filters.

65names in Signals. All categories.