Enhanced Adaptive Pitch Shifter – User Guide

Advanced Praat script with presets, multiple modulation sources, and professional audio processing.

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

What this does

This enhanced script provides professional-grade adaptive pitch shifting with multiple modulation sources and creative presets. Unlike simple pitch shifting, this script uses Praat's Manipulation object to create dynamic, context-aware pitch transformations.

Version 2.0 Features:

Technical Implementation: This script extracts pitch contours using Praat's pitch detection algorithms, then modifies them using various modulation sources. The modulation can be driven by the signal's amplitude envelope (extracted via Intensity object), the pitch contour itself, a time-based LFO (Low Frequency Oscillator), or a combination. The modified pitch tier is applied to a Manipulation object, which uses either PSOLA (Pitch-Synchronous Overlap-Add) or overlap-add resynthesis to generate the output with minimal artifacts. Formant preservation maintains vocal character by keeping formant frequencies stable while shifting pitch.

Quick start

  1. In Praat, select a Sound object.
  2. Run script…Enhanced Adaptive Pitch Shifter.praat.
  3. Choose a Preset or set parameters manually.
  4. Enable Preview only to test without saving.
  5. Click OK – output plays automatically.

Presets

Six carefully crafted presets provide instant creative effects:

1. Custom

Use manual parameter settings for full control.

2. Subtle Wobble Gentle

Use case: Add organic movement to vocals or instruments without obvious pitch shifting.

Settings: Base 1.0, Modulation 0.15, Amplitude source, 4Hz, Smoothing 0.2

3. Robot Voice Effect

Use case: Mechanical, synthetic vocal effects for creative production.

Settings: Base 0.8, Modulation 0.8, LFO source, 8Hz, Smoothing 0.05

4. Harmonic Shimmer Musical

Use case: Ethereal, floating quality for pads, vocals, or ambient music.

Settings: Base 1.5, Modulation 0.3, Pitch contour source, 2Hz, Smoothing 0.3

5. Deep Bass Mod Low End

Use case: Downshift with dynamic movement for bass enhancement or special effects.

Settings: Base 0.5, Modulation 1.0, Combined source, 1.5Hz, Smoothing 0.15

6. Vibrato Effect Classic

Use case: Natural vibrato or tremolo-like pitch oscillation.

Settings: Base 1.0, Modulation 0.08, LFO source, 5.5Hz, Smoothing 0.4

7. Extreme Warp Experimental

Use case: Dramatic, glitchy effects for sound design and experimental music.

Settings: Base 1.2, Modulation 1.5, Combined source, 10Hz, Smoothing 0.0

Parameters

Basic Controls

ParameterTypeDefaultDescription
PresetmenuCustomSelect predefined effect or Custom for manual control
Base_pitch_shiftpositive1.0Base pitch multiplier (0.5 = octave down, 2.0 = octave up)
Modulation_amountpositive0.5Intensity of pitch modulation effect

Advanced Controls

ParameterTypeDefaultDescription
Modulation_sourcemenuAmplitudeWhat drives pitch changes (see Modulation Sources below)
LFO_frequencypositive3.0Oscillation speed in Hz (for LFO and Combined modes)
Smoothing_factorpositive0.1Reduces abrupt transitions (0 = none, 1 = maximum)

Processing Options

ParameterTypeDefaultDescription
Apply_formant_preservationbooleanYesMaintain vocal character (use overlap-add resynthesis)
Add_stereo_widthbooleanNoConvert mono to stereo with width enhancement
Output_gainpositive1.0Final volume multiplier

Quality Settings

ParameterTypeDefaultDescription
QualitymenuStandardFast (quick preview), Standard (balanced), High Quality (best results)
Preview_onlybooleanNoPlay without creating permanent output object

Modulation Sources

The modulation source determines what drives the pitch changes:

SourceHow it worksBest for
AmplitudePitch follows signal volume (louder = higher/lower pitch)Dynamic material, drums, vocals with varied dynamics
Pitch ContourModulation based on detected pitch (creates harmonic relationships)Melodic content, sustained tones, vocals
Time-based LFOSine wave oscillator creates periodic pitch movementVibrato, tremolo effects, rhythmic modulation
CombinedMix of amplitude envelope and LFO for complex movementExperimental effects, sound design, dramatic changes

Outputs

Note: If Preview_only is enabled, the sound plays but no permanent object is created.

Usage Examples

Example 1: Vocal Enhancement

Preset: Subtle Wobble
Modulation_source: Amplitude
Apply_formant_preservation: Yes
Quality: High Quality

Adds natural, organic movement to flat vocal recordings.

Example 2: Creative Vocal Effect

Preset: Robot Voice
Add_stereo_width: Yes
Output_gain: 0.8

Creates synthetic, processed vocal effect with stereo enhancement.

Example 3: Ambient Pad Processing

Preset: Harmonic Shimmer
Quality: High Quality
Preview_only: Yes (test first)

Adds ethereal, floating quality to synthesizer pads.

Example 4: Custom Bass Enhancement

Preset: Custom
Base_pitch_shift: 0.7
Modulation_amount: 0.3
Modulation_source: Combined
LFO_frequency: 2.0
Smoothing_factor: 0.2

Downshift bass with gentle dynamic movement.