Golden-Chaos Vibrato — User Guide

Deterministic multi-rate delay vibrato in which one sinusoidal delay trajectory is phase-modulated by two additional low-frequency oscillators. The presets use π, e, and φ to produce periodic or quasi-periodic modulation patterns with no random process.

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

What this does

Golden-Chaos Vibrato creates continuously varying delay modulation from three deterministic low-frequency rates. A primary sine controls the delay excursion, while two additional sine waves bend the phase of that primary trajectory. The result ranges from regular cyclic vibrato to slowly evolving quasi-periodic motion, depending on the frequency relationships chosen.

The basic idea: the audio is read from a moving fractional-delay position. As that delay becomes slightly longer and shorter, the instantaneous playback rate around each moment changes, producing delay-based pitch modulation. The two secondary oscillators reshape the timing of that motion rather than adding random pitch deviations.

Quick start

  1. Select exactly one Sound in Praat.
  2. Run Golden-chaos_vibrato.praat.
  3. Choose a preset. Golden Shimmer is a useful moderate starting point; Pi Cycle gives a periodic trajectory; Mathematical Quasiperiodic gives denser multi-rate motion.
  4. Use Modulation depth to control how far the delay moves around the base value.
  5. Use Dry/Wet to choose between pure variable-delay vibrato and a dry+delayed blend.
  6. Leave Safety peak enabled if you want attenuation only when the mixed result exceeds the chosen ceiling.
Important listening distinction: at 100% Wet you hear the variable-delay path by itself. At intermediate Dry/Wet values, the dry signal combines with the delayed signal, so the effect also acquires chorus/flange-like comb interference.

Processing model

1. Local modulation time

The LFO uses local Sound time, t = x - sourceStart. Moving the Sound to a different Praat xmin therefore does not change the modulation pattern.

2. Phase-modulated delay trajectory

phase(t) = 2π f1 t + m2 sin(2π f2 t) + m3 sin(2π f3 t) LFO(t) = sin(phase(t)) delay(t) = BaseDelay × [1 + Depth × LFO(t)]

Rate1 is the primary modulation rate. Rate2 and Rate3 do not create independent delay taps; they phase-modulate the primary LFO by the amounts Rate2 mix and Rate3 mix.

3. Fractional-delay read

The delay in milliseconds is converted to a non-integer sample offset. For each output sample, the script reads the two neighboring source samples and linearly interpolates between them:

sourceIndex = currentSample - delaySamples i0 = floor(sourceIndex) frac = sourceIndex - i0 wet = (1-frac) × source[i0] + frac × source[i0+1]

At the beginning of the Sound, source indices are clamped to the valid sample range. The operation is applied separately to every channel using the same delay trajectory.

4. Dry/Wet mix

output = Wet × delayedSignal + Dry × originalSignal Wet = Dry_wet_percent / 100 Dry = 1 - Wet

At 100% Wet, the output is the interpolated variable-delay signal. At 0% Wet, the script takes an exact bypass path and does not execute the vibrato or safety attenuation.

5. Safety ceiling

If Safety peak is above zero, the script measures the finished mixed Sound. It applies gain reduction only when the measured peak exceeds that value:

if peak > SafetyPeak: gain = SafetyPeak / peak output = output × gain else: output is unchanged

This is an attenuation-only ceiling, not target normalization. A quiet result is not raised.

Periodic and quasi-periodic modulation

The behavior depends on the relationships among the three modulation rates.

Periodic set: when all active rates are rational multiples of one common fundamental, the complete modulation trajectory repeats.

Quasi-periodic set: when at least one active rate is incommensurate with the others, the combined phase trajectory does not close into one finite repeating cycle.

Version 0.4 therefore does not treat every π/e/φ preset as equivalent. Pi Cycle uses π, 2π, and π/2, which are rationally related and therefore periodic. The other mathematical presets use at least one incommensurate relationship and are presented as quasi-periodic.

Why the artistic name still fits: “Golden-Chaos” names the effect family, while the implemented DSP is a deterministic multi-rate delay modulator. The irregularity comes from the multi-rate phase relationships, not from a stochastic generator.

Presets

PresetBaseDepthRates (Hz)PM amountsBehavior
Customform valuesform valueform valuesform valuesUser-defined
Golden Shimmer5 ms0.08φ / 2φ / 1/φ0.3 / 0.5Quasi-periodic
Euler Wobble7 ms0.15e / 2e / 10.8 / 0.2Quasi-periodic
Pi Cycle6 ms0.12π / 2π / π/20.2 / 0.1Periodic
Mathematical Quasiperiodic8 ms0.20π / e / φ1.0 / 1.0Quasi-periodic
Subtle Irregularity4 ms0.05π / e / φ0.5 / 0.5Quasi-periodic
Deep Math Texture12 ms0.25π/10 / e/10 / φ/100.7 / 0.7Quasi-periodic

The presets overwrite the delay, depth, rate, and phase-modulation values shown in the form. Dry/Wet, Safety peak, visualization, and playback remain user-controlled.

Parameters

ParameterDefaultImplemented behavior
PresetCustomSelects one of six predefined rate/delay sets or leaves the manual values unchanged.
Base delay6 msCentre of the variable delay. If necessary it is automatically reduced so the maximum modulated delay stays below about 45% of the Sound duration.
Modulation depth0.14Fractional delay excursion around the base; clamped to 0…0.95.
Rate1π HzPrimary LFO rate.
Rate2e HzFirst phase-modulation rate.
Rate3φ HzSecond phase-modulation rate.
Rate2 mix0.6Phase-modulation amount for Rate2; clamped to -4…4.
Rate3 mix0.4Phase-modulation amount for Rate3; clamped to -4…4.
Dry/Wet100%Linear dry/delayed mix, clamped to 0…100%. 0% is exact dry bypass.
Safety peak0.990 disables safety. Otherwise only attenuates when the result exceeds the selected peak.
Draw visualizationOnDraws input, output, measured control trajectory, and summary.
Play resultOnPlays the created Sound after rendering.
Delay range: for a base delay B and depth D, the control trajectory is bounded by approximately B(1-D) to B(1+D).

Audio and object behavior

Vibrato versus chorus-like mixing

A moving delay changes the local read speed and therefore creates pitch modulation on the wet path. Mixing that wet path with the original introduces frequency-dependent interference in addition to the pitch motion. For the clearest delay-based vibrato, use a high Wet value; for a more chorus-like color, use an intermediate Dry/Wet value.

Visualization

The figure is a process view of the actual render settings rather than a decorative mathematical diagram.

Input

A mono display copy of the source waveform. For multichannel Sounds this conversion is used only for drawing; the DSP itself remains multichannel.

Output

A mono display copy of the rendered result, again used only for visualization.

Delay trajectory

The next panel draws up to the first three seconds of the exact control equation used by the processor. The horizontal reference is the base delay; the plotted curve shows the phase-modulated movement between the minimum and maximum delay limits.

Summary

The final strip reports Base delay, Depth, Wet percentage, Safety setting, all three rates, both phase-modulation amounts, and channel count.