LPC Voice Morphing — LPC Vocoder Pro — User Guide

An LPC excitation-replacement vocoder that filters pitch-driven phonation or Gaussian noise through the time-varying LPC envelope of the selected source.

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

What this does

LPC Voice Morphing / LPC Vocoder Pro is an excitation-replacement vocoder. It analyzes one channel of the source with LPC, creates either a pitch-driven phonation source or Gaussian noise, and filters that new excitation through the source's time-varying LPC envelope.

Despite the historical file name, this is not a morph between two voices or between two sets of LPC coefficients. The “morph” is the replacement of the excitation while retaining the analyzed spectral envelope of one source.

LPC vocoder and source–filter model

LPC treats the short-time spectrum as the response of an all-pole filter driven by an excitation. In speech terms, the filter approximates the vocal-tract resonances; the excitation can be periodic, noisy, or synthetic. A vocoder becomes creative when those components are deliberately separated and recombined.

This script offers two excitation families:

Continuous pitch bridge: on the pulse path, the PitchTier deliberately bridges unvoiced gaps. This is a musical design choice: the synthetic excitation can remain continuous where stricter speech resynthesis would switch between voiced and unvoiced sources.

Quick start

  1. Select exactly one Sound.
  2. Run LPC_Voice_Morphing.praat.
  3. Try Natural Resynthesis for the core LPC character, Robot for monotone excitation, or Whisper for noise excitation.
  4. Use Custom when you need direct control of excitation type, pitch range, LPC method/order and target intensity.

Presets

PresetExcitationWindowPitch behaviorOther override
Natural ResynthesisPitch-driven pulse25 msSource PitchTier, continuous across gapsLPC order Auto; Force monotone OFF
Robot VoicePitch-driven pulse30 msForced to 100 HzLPC order Auto
WhisperGaussian noise15 msPitch controls are not used for excitationLPC order Auto; recursive brightness stage after synthesis
Deep DemonPitch-driven pulse40 msPitchTier × 0.6; minimum pitch forced to 50 HzLPC order Auto; Force monotone OFF

Presets do not overwrite every form field. In particular, LPC method, pre-emphasis, target intensity, playback and visualization remain user choices; most pitch-analysis values also remain available except where a preset explicitly changes them.

Controls

ControlMeaning
Excitation sourcePitch-driven phonation or Gaussian noise. Used directly in Custom; presets may override it.
Time stepPitch-analysis step used on the pulse path.
Minimum / Maximum pitchPitch-search range. Maximum must exceed minimum.
Force monotoneFlattens the PitchTier to the chosen monotone frequency on the pulse path.
Monotone frequencyFrequency used for Force monotone and also as the fallback when no pitch points are detected.
LPC methodLegacy autocorrelation character or Burg. Autocorrelation automatically falls back to Burg only if the render becomes numerically catastrophic.
LPC order0 = Auto. Auto uses round(sampleRate / 1000) + 4.
Analysis windowLPC analysis window in seconds. LPC frame step is fixed at 5 ms.
Pre-emphasis HzPre-emphasis setting passed to Praat LPC analysis.
Target intensity dBPraat intensity target in dB SPL, not dBFS.

Processing pipeline

  1. Choose analysis driver: mono input is copied; for multichannel input the highest-RMS source channel is selected instead of summing channels.
  2. Create excitation: either pitch-driven phonation at the source sample rate or Gaussian noise over the source duration.
  3. Analyze LPC: autocorrelation or Burg, using the selected analysis driver.
  4. Vocode: filter the synthetic excitation through the time-varying LPC model.
  5. Stability fallback: if legacy autocorrelation output becomes undefined or exceeds the catastrophic peak threshold, rerender automatically with Burg.
  6. Level: if the analyzed source is not effectively silent, scale to the requested Praat intensity.
  7. Whisper only: apply the retained recursive brightness formula.
  8. Safety: attenuate to 0.99 only when the final peak exceeds 0.99.

Channels, duration and level

Visualization

Original and vocoded waveforms are drawn on one shared amplitude scale. The guide also shows original and vocoded spectrograms up to 4 kHz and reports the realized LPC order/method, analysis channel, window, excitation type and target level. If autocorrelation fell back to Burg, the summary reports the method actually used.

Historical, technological and compositional context

The processor sits at the intersection of two related traditions. The first is the vocoder: Homer Dudley's Bell Labs work in the 1930s demonstrated that speech could be analyzed into slowly varying spectral information and reconstructed from an artificial buzz or noise source. The second is linear prediction, developed for efficient speech representation and formalized in influential analysis–synthesis work by Atal and Hanauer and in Makhoul's 1975 tutorial review.

Compositionally, vocoding turns the source–filter model into a way of separating identity from excitation. A pitch contour can be flattened, lowered or replaced by noise while the resonant envelope still carries recognizable traces of the original articulation. The Robot, Whisper and Deep Demon presets exploit exactly that separation. The processor is therefore closer to a creative LPC vocoder than to transparent voice conversion.

Further reading

Dudley, H. (1939). “The Automatic Synthesis of Speech.” Proceedings of the National Academy of Sciences, 25(7), 377–383. DOI: 10.1073/pnas.25.7.377.

Atal, B. S., & Hanauer, S. L. (1971). “Speech Analysis and Synthesis by Linear Prediction of the Speech Wave.” Journal of the Acoustical Society of America, 50(2B), 637–655. DOI: 10.1121/1.1912679.

Makhoul, J. (1975). “Linear prediction: A tutorial review.” Proceedings of the IEEE, 63(4), 561–580. DOI: 10.1109/PROC.1975.9792.