Metamodulator — User Guide
Eight deterministic modulation families generate a bipolar control signal that multiplies the selected Sound, from fixed and curved phase functions to integrated sweeps, FM trajectories, chirps, and trembling chirps.
What this does
Metamodulator creates a time-varying modulator and multiplies the selected Sound by it. The modulator is generated from one of eight mathematical phase/frequency trajectories. Depending on the selected family, the control can be a fixed-frequency ring modulator, a curved phase trajectory, an exponential rise or fall, sinusoidal frequency modulation, a gradually widening spiral, a linear chirp, or a chirp whose slope trembles over time.
The same control signal is applied sample-for-sample to every channel, so multichannel relationships are preserved while all channels undergo the same amplitude modulation. The source itself supplies the spectrum being transformed; the Metamodulator supplies only the control trajectory.
input × modulator. Since the modulator ranges approximately from −1 to +1, this is bipolar ring-modulation-style multiplication. At intermediate Wet values, the multiplier becomes Dry + Wet × modulator, retaining a direct component while adding the time-varying modulation.
Processing model
1. Preset or manual algorithm
Custom mode uses the manual algorithm and parameter fields. A named preset replaces the relevant values with its stored settings. Category divider entries are protected: selecting one stops the script and asks for a real preset.
2. One shared modulator
The script creates one mono control Sound on the source sample grid and writes the selected mathematical modulator into it. The control is independent of source amplitude or spectrum; extracting channel 1 only supplies the correct timing and sample grid before the control formula replaces its samples.
3. Local-time synthesis
All phase equations use local time τ = x − source_start. Therefore an identical Sound produces the same modulation trajectory even if its Praat start time is moved.
4. Audio multiplication
0% Wet is an exact copied bypass. In that case the modulation formula is not applied and Safety Peak is deliberately skipped.
5. Output safety
After active processing, the script measures the output peak. If it exceeds Safety peak, Praat scales the complete result down to that ceiling. Material already below the ceiling is left at its existing level.
8 algorithms
In the equations below, τ is local Sound time and T is the Sound duration. For frequency-defined algorithms, v2.5 synthesizes the phase by integrating the intended instantaneous-frequency trajectory. The curve shown in the visualization therefore corresponds to the control that is actually generated.
1. Cubic Phase Distortion
Carrier Frequency sets f0; Modulation Factor is the cubic phase coefficient k. The frequency drift grows quadratically with elapsed time.
2. Exponential Frequency Sweep
The control begins at Start Frequency and reaches End Frequency at the end of the Sound. If start and end are equal, the script uses a fixed-frequency sine directly.
3. Logarithmic Frequency Sweep
This menu family uses the same exact integrated log-frequency trajectory as Algorithm 2. Its supplied presets use descending start/end pairs, so the frequency falls exponentially through time.
4. Quadratic Phase Modulation
The phase coefficient produces a linear frequency drift. Negative values reverse the direction of the bend.
5. Sinusoidal FM
Modulation Factor is frequency deviation in Hz and Modulation Rate is the FM rate in Hz. When rate is 0, the control becomes a fixed-frequency sine at f0.
6. Spiral FM
The sinusoidal deviation grows from zero toward its full range as the Sound progresses. The script uses the analytic integral of this target trajectory to generate phase, so the modulator follows the displayed frequency curve exactly.
7. Time-Varying (Linear Chirp)
Here Carrier Frequency Hz is used as a chirp slope in Hz/s, named s above. The control begins at 0 Hz and rises linearly.
8. Trembling (Vibrato + Chirp)
This is a linear chirp whose instantaneous slope is periodically expanded and contracted. Carrier Frequency again acts as chirp slope in Hz/s; Modulation Factor is the proportional tremble depth and Modulation Rate sets its speed. The implemented phase is the exact integral of this target frequency.
Presets
The form contains 32 named musical presets plus Custom, organized by divider rows. The values below are the exact preset assignments in v2.5.
| Family | Presets and stored values |
|---|---|
| Cubic Phase | Mild: 100 Hz, k=1; Strong: 200 Hz, k=4; High Frequency: 300 Hz, k=2.5 |
| Exponential Sweep | Slow: 100→600 Hz; Fast: 50→1200 Hz; Narrow: 200→400 Hz |
| Log Sweep | Descending Classic: 800→50 Hz; Fast Descent: 1000→100 Hz |
| Quadratic Phase | Gentle: 150 Hz, k=.3; Classic: 200/.5; Dramatic: 250/1; Reverse: 180/−.4; Extreme: 300/1.5; Subtle: 120/.1 |
| Sinusoidal FM | Classic: f0=300 Hz, rate=2 Hz, depth=100 Hz; Deep: 400 / 3 / 200 |
| Spiral FM | Gentle: 200/.5/80; Classic: 250/.8/150; Intense: 300/1.2/200; Deep: 150/.6/120; Hypnotic: 400/1.5/180; Cosmic: 180/.7/250 |
| Linear Chirp | Subtle: 100 Hz/s; Rising Metallic: 200; Sci-Fi Sweep: 300; Laser Beam: 500; Extreme Glitch: 800 |
| Trembling Chirp | Gentle: slope 200 Hz/s, rate 5 Hz, depth .03; Radio: 440/25/.08; Deep Space: 100/10/.10; Vintage: 300/20/.06; Alien: 150/30/.12 |
Parameters
| Parameter | Default | Meaning | Runtime handling |
|---|---|---|---|
| Preset | Custom | Selects Custom, a category divider, or one of 32 named presets. | Divider rows stop with a clear message. |
| Manual Algorithm | Cubic Phase | Selects one of the eight algorithms when Preset = Custom. | Named presets override it. |
| Carrier Frequency Hz | 200 | Carrier for algorithms 1, 4, 5, 6; chirp slope for 7 and 8. | Clamped to 0.001 … 0.49 × sample rate. |
| Start Frequency Hz | 100 | Start of algorithms 2 and 3. | Clamped to 0.001 … 0.49 × sample rate. |
| End Frequency Hz | 800 | End of algorithms 2 and 3. | Clamped to 0.001 … 0.49 × sample rate. |
| Modulation Factor | 2.0 | Phase coefficient, FM depth in Hz, or proportional tremble depth depending on algorithm. | No generic clamp; interpretation is algorithm-specific. |
| Modulation Rate Hz | 5.0 | Rate used by algorithms 5, 6, and 8. | Negative values become 0. |
| Dry/Wet percent | 100 | Blend between direct multiplier 1 and the bipolar modulator. | Clamped to 0…100; 0 gives exact bypass. |
| Safety peak | 0.99 | Maximum processed-output peak. | Clamped to 0…1; 0 disables safety; attenuation only. |
| Show spectrogram | no | Changes the right-hand output display in the figure. | Does not alter audio processing. |
| Draw visualization | yes | Creates the AudioTools figure. | Does not alter audio. |
| Play result | yes | Plays the finished Sound. | Does not alter audio. |
Channels & output
| Property | Behavior |
|---|---|
| Channel count | Preserved for mono, stereo, and arbitrary multichannel Sounds. |
| Modulation across channels | One identical mono modulator is reused for every channel. |
| Sample rate | Preserved. |
| Sample count / duration | Preserved. |
| Start time | Preserved; modulation itself uses local time. |
| Randomness | None. The same source and settings produce the same control and output. |
| 0% Wet | Exact copied source; Safety Peak is skipped. |
| Output level safety | Only peaks above the requested ceiling are attenuated. |
Visualization
When Draw visualization is enabled, v2.5 draws the following AudioTools panels:
Input
Original waveform.
Output
Processed waveform, or a spectrogram when Show spectrogram is enabled. The spectrogram ceiling is min(8000 Hz, Nyquist).
Control trajectory
First up to 1 second. Cubic/Quadratic modes show the added phase offset in radians; frequency-defined modes show the exact instantaneous-frequency trajectory in Hz.
Actual modulator
The first up to 50 ms of the real generated control Sound used for multiplication.
Summary strip
The bottom strip reports algorithm, resolved algorithm-specific parameters, Wet percentage, Safety setting, display mode, duration, sample rate, channel count, and final peak.