Spectral Drift — User Guide
Stacked recursive comb-like stages with randomized harmonic-delay drift, cosine modulation and wet/dry mixing.
What this does
Spectral Drift applies a stack of recursive comb-like stages. Each cycle is associated with a harmonic design frequency, but its actual delay is randomly stretched or compressed before rendering. A cosine coefficient at the cycle frequency makes the feedback contribution change sign and strength over time, producing moving metallic coloration and sidebands.
Quick start
- Select one mono or stereo Sound.
- Run
Spectral_Drift.praat. - Choose a preset or Custom.
- Set Wet/Dry and run.
Presets
| Preset | Tail | Cycles | Base frequency | Strength | Fade* |
|---|---|---|---|---|---|
| Subtle | 0.3 s | 2 | 150 Hz | 0.20 | 0.8 s |
| Medium | 0.5 s | 4 | 100 Hz | 0.40 | 1.2 s |
| Heavy | 0.8 s | 6 | 75 Hz | 0.60 | 1.5 s |
| Extreme | 1.2 s | 10 | 50 Hz | 0.80 | 2.0 s |
*Effective fade is capped to the tail duration.
Wet/Dry, visualization and playback remain user-controlled.
Parameters
| Parameter | Default | Meaning |
|---|---|---|
| Tail_duration_s | 0.5 | Silent extension in which the recursive effect can decay. |
| Number_of_cycles | 4 | Number of stacked recursive stages. |
| Base_frequency_Hz | 100 | Cycle k uses design frequency k × base_frequency. Stereo right uses 1.05× this value. |
| Effect_strength | 0.4 | Recursive contribution coefficient. Must remain below 1. Stereo right uses 95% of the entered value. |
| Wet_dry_percent | 60 | Linear processed/dry mix, clamped to 0…100%. |
| Fadeout_duration_s | 1.2 | Fade applied only in the appended tail. |
Drift calculation and recursive stage
For each left/mono cycle:
Stereo right uses 1.05 × base_frequency × k and drift drawn from 0.6…1.9.
Each cycle then applies:
Because the formula is evaluated left-to-right and reads earlier samples of the already modified Sound, each cycle is recursive rather than a feed-forward tap.
Channels, tail and level
- Supports mono or stereo only.
- Sample rate and channel count are preserved.
- Output duration is source duration + tail duration.
- Fade is restricted to the added tail.
- At wet > 0, final peaks above 0.98 are scaled down; 0% wet bypasses this ceiling.
- No random seed is set, so repeated runs can differ.
Visualization
The display includes dry and processed waveform panels, a frequency-versus-delay map, and a summary. The map plots the ideal harmonic delay curve and the actual realized left/mono random delay points; arrows show the displacement from ideal to realized delay.
Orange points represent drift factors above 1 (longer delay); blue points represent factors below 1 (shorter delay).
Output
Object name: <source>_drift_<Custom|Subtle|Medium|Heavy|Extreme>.