Pitch Morphing Between Targets — User Guide

Dynamic pitch navigation: creates smooth transitions between user-defined pitch targets with elastic interpolation, tension effects, and expressive articulation.

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

What this does

This script implements pitch morphing between targets — an advanced pitch manipulation technique that creates smooth, expressive transitions between user-defined pitch destinations. Generates sophisticated pitch contours using elastic interpolation algorithms, tension-based dynamics, and articulated transitions that respond to the musical distance between targets. Process navigates through a sequence of pitch waypoints with intelligent curve shaping and expressive articulation.

Key Features:

What is pitch morphing between targets? Traditional pitch effects: fixed patterns, random variations. Target morphing: intentional navigation through defined pitch destinations with intelligent transition shaping. Advantages: (1) Intentional design: Precise control over pitch destinations and paths. (2) Expressive transitions: Natural-sounding movement between targets. (3) Dynamic response: Transitions adapt to musical context. (4) Musical phrasing: Creates coherent pitch narratives. (5) Flexible articulation: Different transition characters for different contexts. Use cases: Expressive vocal processing, melodic contour design, experimental composition, sound design narratives, algorithmic melody generation.

Quick start

  1. Select Sound object in Praat
  2. Run pitch_morphing_targets.praat
  3. Choose preset for pre-configured target sequences
  4. Or define custom target_pitches (e.g., "0_12_-8_15")
  5. Adjust morph_smoothness (0.8-2.5) for transition curves
  6. Set overshoot_factor (0.1-0.8) for elastic anticipation
  7. Configure tension_strength (0.05-0.4) for dynamic intensity
  8. Click OK — pitch morphing applied
Quick tip: Start with Emotional Arcs for expressive vocal phrasing, Chromatic Walk for melodic sequences, or Dramatic Leaps for intense pitch jumps. Each preset creates distinct musical narratives through target sequencing.

Morphing Theory

Target Sequence System

🎯 Pitch Target Syntax

Target format: Underscore-separated semitone values

Syntax: "0_12_-8_15_-12_20_5_-5" Where: Numbers = Semitone offsets from original pitch Positive = Pitch up (e.g., 12 = octave up) Negative = Pitch down (e.g., -12 = octave down) Decimal = Microtonal values (e.g., 1.5 = quarter-tone up) Examples: "0_7_12" = Upward major seventh to octave "0_-5_3_-8" = Expressive minor key contour "0_2_4_5_7_9_11_12" = Chromatic ascent "0_1.5_-1_2.5" = Microtonal exploration Interpretation: Targets are evenly distributed across audio duration Script creates smooth transitions between each pair First target = starting point, last target = ending point

Elastic Interpolation Algorithm

🔄 Advanced Transition Curves

Three-component interpolation system:

# Basic smooth interpolation elastic_curve = fraction^smoothness / (fraction^smoothness + (1 - fraction)^smoothness) # Elastic overshoot effect overshoot = overshoot_factor * sin(fraction * π) * (1 - fraction) * fraction # Combined interpolation smooth_fraction = elastic_curve + overshoot # Final pitch calculation interpolated_pitch = pitch_low + smooth_fraction * (pitch_high - pitch_low) Where: fraction = Normalized position between targets (0 to 1) smoothness = Controls transition curvature (0.8-2.5) overshoot_factor = Controls anticipation effect (0.1-0.8)

Tension and Articulation System

ComponentFunctionEffect
Distance TensionDynamic intensityLarger intervals = more expressive variation
Elastic OvershootAnticipationNatural-sounding pitch anticipation before targets
Contextual VibratoArticulationVibrato intensity peaks during transitions
Smoothness ControlTransition characterHigher = gradual curves, Lower = direct paths

Parameter Interactions

morph_smoothness (0.8-2.5): Low (0.8-1.2): Direct, energetic transitions Medium (1.2-1.8): Balanced, musical curves High (1.8-2.5): Gradual, evolving transitions overshoot_factor (0.1-0.8): Low (0.1-0.3): Subtle anticipation Medium (0.3-0.6): Natural elastic feel High (0.6-0.8): Exaggerated, dramatic overshoot tension_strength (0.05-0.4): Low (0.05-0.15): Subtle dynamic variation Medium (0.15-0.25): Expressive phrasing High (0.25-0.4): Dramatic, intense dynamics vibrato_amount (0.1-0.6): Low (0.1-0.3): Subtle articulation Medium (0.3-0.45): Expressive ornamentation High (0.45-0.6): Prominent, emotional vibrato

Morphing Presets

PresetTarget SequenceSmoothnessOvershootTensionCharacter
Gentle Waves0_3_-2_5_-1_2_02.00.20.05Subtle, flowing contours
Emotional Arcs0_7_-5_12_-8_15_-121.80.30.15Expressive vocal phrasing
Dramatic Leaps0_12_-12_24_-24_12_01.20.60.25Intense pitch jumps
Chromatic Walk0_2_4_5_7_9_11_12...1.50.10.08Melodic step sequences
Microtonal Glide0_1.5_-1_2.5_-0.5_1...2.50.150.03Subtle pitch inflections
Tension Build0_3_1_6_2_9_4_12_51.30.40.3Gradual intensity increase
Chaotic Dance0_7_-3_15_-8_5_12_-5...0.80.80.4Unpredictable, energetic

🎵 Musical Applications

Gentle Waves: Create natural-sounding pitch variations for vocal processing and instrumental expression

Emotional Arcs: Design expressive pitch narratives that build and release tension musically

Chromatic Walk: Generate melodic sequences and scale-based pitch movements

Microtonal Glide: Explore subtle pitch inflections and non-Western tonalities

Tension Build: Create dramatic pitch arcs that increase in intensity over time

Applications

Expressive Vocal Processing

Vocal Phrasing Enhancement: Use Emotional Arcs or Gentle Waves to add expressive pitch contours to vocal performances that enhance the natural phrasing without sounding artificial or auto-tuned.
Melodic Design: Create custom target sequences that follow specific melodic patterns or harmonic progressions for vocal processing that aligns with musical context.

Instrumental Expression

Pitch Articulation: Apply morphing to sustained instruments to create dynamic pitch movements that emulate expressive instrumental techniques like string portamento or wind instrument pitch bends.
Microtonal Exploration: Use the Microtonal Glide preset or create custom sequences with decimal values to explore quarter-tones and other microtonal intervals.

Algorithmic Composition

Generative Melodies: Combine the script with algorithmic target generation to create evolving pitch sequences that change based on mathematical patterns or random processes.
Structural Pitching: Design target sequences that correspond to musical form, with different target sets for verses, choruses, and bridges.

Sound Design and Film Scoring

Narrative Pitch Arcs: Create pitch contours that follow emotional narratives for film scoring, with targets representing different emotional states or story beats.
Character Voice Design: Use specific target sequences to create distinctive pitch personalities for animated characters or voice effects.

Technical Considerations

Target Distribution: Targets are evenly distributed across the audio duration. Very long sequences may create rapid transitions if the audio is short. Consider the relationship between target count and audio length.
Extreme Parameters: Very high overshoot factors (>0.7) combined with large pitch intervals can create extreme pitch excursions that may sound unnatural or cause artifacts.
Custom Sequence Design: When creating custom target sequences, consider the musical relationship between consecutive targets. Larger intervals work well with higher tension settings, while smaller intervals benefit from smoother transitions.