Undertone Field — SR Reinterpretation — User Guide
Stereo undertone fields generated by sample-rate reinterpretation, filtering, gain shaping and equal-power panning.
What this does
Undertone Field first makes a mono working source. A stereo input is therefore summed to mono for this effect; the original stereo image is not preserved. The mono source can be included at the centre or muted. Up to eight lower-rate reinterpretations are generated, returned to the original sample rate, low-pass filtered, gain-shaped and spread across a stereo equal-power arc.
Output is always stereo. Its duration is source duration + Tail_duration_s. Lowered partials can extend into the tail region, and the complete stereo mix is exponentially faded from the original end time to approximately -60 dB at the tail end.
Quick start
- Select one Sound of at least 50 ms.
- Choose one of seven built-in presets or Custom.
- Choose the undertone series and number of partials.
- Set gain curve, low-pass, micro-delay and tail.
- Use Mute_input to hear only the generated field.
- Run. Output is
<source>_undertones_<preset>.
Series modes
| Mode | Denominator rule |
|---|---|
| Integer | (n+1)^(1+stretch) |
| Odd denominators | (2n+1)^(1+stretch) |
| Even denominators | (2n)^(1+stretch) |
| Custom list | Validated positive denominators >1. If fewer values than requested are supplied, missing values continue upward by +1. Stretch is not applied. |
| Geometric | denom[n] = 2 * (1.25^(1+stretch))^(n-1). At stretch=0: 2, 2.5, 3.125, 3.906... |
The nominal pitch factor is 1/denominator. The requested override sample rate is rounded to an integer and clamped to 100 Hz .. source SR. The effective pitch factor used for reporting and visualization is the actual overridden rate divided by the original sample rate, so it agrees with synthesis.
Presets
| Preset | N | Series / stretch | Gain | LP | Tail |
|---|---|---|---|---|---|
| Pure Harmonic | 4 | Integer / 0.00 | Linear, -12 dB, 3 dB rolloff | 2000 Hz | 1.5 s |
| Stretched Cloud | 5 | Integer / +0.20 | Gaussian, -10 dB | 1800 Hz | 2.0 s |
| Compressed Cluster | 4 | Integer / -0.20 | Exponential, -14 dB, 4 dB | 2500 Hz | 1.0 s |
| Bass Spectral | 6 | Integer / 0.00 | Inverse, -18 dB, 2 dB | 1500 Hz | 2.5 s |
| Spectral Haze | 5 | Geometric / +0.12 | Gaussian, -9 dB | 3000 Hz | 2.0 s |
| Dark Undertow | 4 | Integer / -0.10 | Exponential, -8 dB, 6 dB | 1200 Hz | 1.0 s |
| Microtonal Dense | 7 | Geometric / +0.05 | Flat, -20 dB | 2000 Hz | 3.0 s |
Gain and stereo field
The source, when not muted, is placed at centre with L=R=1/sqrt(2). With more than one undertone, partial 1 is hard left, the last is hard right and intermediate partials follow an equal-power arc. With exactly one undertone, the script places it at normalized pan 0.25 (centre-left), not hard left.
Micro-delay is (n-1) * Micro_delay_ms. Silence is prepended correctly before the delayed partial and the result is trimmed back to the fixed total output duration.
Processing
- Convert/copy source to a mono 0-based working sound.
- For each partial, override sampling frequency to the effective lower rate.
- Resample to the original sampling frequency with 50-point sinc interpolation. This restores the sample rate, not the original duration; the lowered version remains longer.
- Trim or pad that partial to
source + tail. - Apply
Filter (pass Hann band): 0, Lowpass_Hz, 100. - Apply gain, micro-delay and stereo pan gains, then accumulate into L/R buffers.
- Combine to stereo and apply attenuation-only peak safety at 0.99.
- If Tail_duration_s > 0, exponentially fade the entire mix after the original end time.
Visualization
- Input and output waveforms share one amplitude scale based on the larger source/output peak.
- Output L and R channels are overlaid; the source/tail boundary is marked when a tail exists.
- Input and output spectrograms are shown up to
min(SR/2, 8000). - The partial-structure panel uses the effective denominator/pitch ratio after sample-rate rounding/clamping.
- The stereo-field diagram maps the actual equal-power pan position; dot size follows partial gain.
Output
- Name:
<source>_undertones_<presetName> - Channels: always 2
- Duration: source duration + tail duration
- Sample rate: original sample rate
- Source spatial image: not preserved; source is mono-centred when Mute_input is off
- Peak handling: attenuation only above 0.99