Bell Curve Envelope — User Guide

A dual-read time-colour transform shaped by a Gaussian-style bell envelope, with nine presets ranging from broad resonances to narrow bright or dark grains.

Author: Shai Cohen Affiliation: Department of Music, Bar-Ilan University, Israel Version: 0.5 (2026) License: MIT License Repo: https://github.com/ShaiCohen-ops/Praat-plugin_AudioTools
Contents:

What this does

Bell Curve Envelope is not simply an amplitude-envelope generator. It first creates a new colour from two differently time-scaled reads of the pristine source, subtracts those reads, and only then shapes the result with a symmetric Gaussian-style envelope.

colour(n) = source(round(n / L)) - source(round(n × H))\noutput(t) = colour(t) × exp(-((t - centre) / r)^2)

For a stationary tone, the first read tends toward approximately f/L while the second tends toward approximately H×f. Their subtraction therefore creates a time-scaling-derived spectral colour rather than a conventional low-pass/high-pass filter.

What is a bell curve?

A Gaussian or bell-shaped curve is a smooth symmetric function that reaches its maximum at a centre point and falls away on both sides. In this script the shape is borrowed as a time envelope:

g(t) = exp(-((t - μ) / r)^2)\nμ = duration × Bell_center\nr = duration / Bell_width

Higher Bell_width values produce a narrower event because they make r smaller. Bell_center moves the maximum through the file from 0 (start) to 1 (end).

This is not a normalized probability distribution. The script's internal legacy variable is called sigma, but mathematically it is the e-1 radius r, not the standard deviation σ of a normal-distribution PDF. The separate raised-cosine edge fade is also part of the final effective envelope.

Quick start

  1. Select exactly one Sound.
  2. Run Bell_curve_envelope.praat.
  3. Choose a preset or Custom.
  4. Use Bell_width for narrow/wide shaping and Bell_center to place the event in time.
  5. Use the low/high factors for colour; values farther from 1 create stronger time-scaling contrast.
  6. Run and inspect the four-panel visualization.

Presets

PresetLHBell widthCentre
Custom1.11.140.5
Narrow Bell1.11.160.5
Wide Bell1.11.120.5
Low Freq Emphasis1.51.040.5
High Freq Emphasis1.01.540.5
Bright Grain1.01.380.5
Dark Grain1.31.080.5
Metallic Bell1.21.250.5
Soft Resonance1.051.052.50.5

Controls

ControlDefaultMeaning
Low_freq_factor1.1Source read index round(col/L); a stationary tone tends toward roughly f/L.
High_freq_factor1.1Source read index round(col×H); a stationary tone tends toward roughly Hf.
Bell_width4Inverse width control: higher = narrower.
Bell_center0.5Normalized centre position, 0…1.
Edge_fade_ms5 msRaised-cosine closure at file edges and at any branch that reaches the source end early.
Scale_peak0.99Target peak applied to every non-silent result.
Draw_visualizationOnDraws read geometry, envelope, spectrum and final waveform.
Play_resultOnPlays the result.

Dual-read colour transform

The two source reads are deliberately nearest-neighbour sample-index reads. They are not anti-aliased resamplers. This gives the tool a rougher, more digital colour and preserves the established sound of the processor.

Names such as "Low Freq Emphasis" and "High Freq Emphasis" describe the stationary-tone consequence of the read law. They do not mean that the script performs conventional low/high shelving or band filtering.

Processing pipeline

  1. Copy the original Sound; all channel rows are processed with the same index law.
  2. Read the pristine source twice using round(col/L) and round(col×H).
  3. Subtract the second read from the first.
  4. Apply the Gaussian-style bell envelope.
  5. Apply short raised-cosine fades at the file edges.
  6. If the result is non-silent, target-normalize to Scale_peak.

Channels and level

Output name: <source>_bell_<preset>.

Visualization

Historical / compositional context

The familiar bell-shaped Gaussian curve comes from the history of probability and measurement error; it became strongly associated with Carl Friedrich Gauss, although earlier work by Abraham de Moivre also contributed to the normal distribution. In this tool that mathematical shape is repurposed as a compositional envelope, not as a statistical model.

Musically, the bell shape creates a bounded event with a clear centre and smooth shoulders. With wide settings it behaves like a long resonance; with narrow settings it approaches a grain-like gesture. The important compositional distinction is that the envelope shapes a pre-transformed dual-read colour, so timbre and amplitude evolve together.

Further reading