Spiral Pitch Dance — User Guide

Geometric pitch motion: creates accelerating spiral pitch movements with smooth, mathematical curves for dynamic vocal and instrumental effects.

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 spiral pitch dance — a geometric approach to pitch modulation that creates accelerating spiral movements through pitch space. Generates smooth, mathematically-defined pitch curves that spiral outward with increasing speed, creating dynamic pitch arcs that evolve over time. Process builds accelerating phase functions and applies them to create spiral pitch contours with precise control over rotation speed and range.

Key Features:

What are spiral pitch movements? Traditional pitch effects: vibrato (periodic oscillation), glides (linear transitions). Spiral dance: accelerating pitch arcs that create geometric motion through pitch space, inspired by mathematical spirals and accelerating rotational motion. Advantages: (1) Dynamic evolution: Pitch changes accelerate, creating narrative progression. (2) Geometric precision: Mathematical curves ensure smooth, predictable motion. (3) Musical expressivity: Creates dramatic pitch arcs and builds. (4) Flexible intensity: Parameters control spiral tightness and range. (5) Clean implementation: Dense sampling prevents artifacts. Use cases: Vocal processing, instrumental effects, sound design, film scoring, experimental music, dynamic builds.

Quick start

  1. Select Sound object in Praat (monophonic content works best)
  2. Run spiral_pitch_dance.praat
  3. Choose preset for immediate spiral types
  4. Adjust spirals (1-8) for number of rotations
  5. Set semitone_range (12-60) for pitch variation amplitude
  6. Configure acceleration (1.2-3.0) for speed increase rate
  7. Click OK — spiral dance applied to "originalname_spiral"
Quick tip: Start with Moderate Spiral preset for balanced results. Use Gentle Spiral for subtle arcs, Extreme Spiral for dramatic effects. Higher spirals create more rotations but may sound busy. Moderate acceleration (1.5-2.0) creates natural-sounding speed increases.

Spiral Theory

Accelerating Phase Algorithm

🌀 Spiral Motion Mathematics

Core algorithm: Accelerating phase function with exponential pitch mapping

# Normalized time position pos = current_time / total_duration # Accelerating phase calculation phase = spirals * 2 * π * (pos ^ acceleration) # Spiral oscillation value spiral_value = sin(phase) # Pitch shift in semitones pitch_shift_st = semitone_range * spiral_value # Convert to frequency ratio (exponential mapping) ratio = 2 ^ (pitch_shift_st / 12) # Apply to base frequency new_f0 = median_f0 * ratio

Result: Smooth, accelerating pitch arcs that spiral through musical space

Mathematical Components

ParameterRoleEffect
spiralsRotation countMore spirals = more pitch oscillations
semitone_rangePitch amplitudeLarger range = wider pitch excursions
accelerationSpeed increaseHigher values = faster acceleration
timestepAnalysis precisionSmaller values = more accurate pitch detection
floor/ceilPitch limitsFrequency range clamping

Acceleration Behavior

Acceleration effects: acceleration = 1.0: Linear motion (constant speed) phase grows linearly with time even pitch oscillation speed acceleration = 1.5: Moderate acceleration phase grows faster over time pitch oscillations speed up gradually acceleration = 2.0: Quadratic acceleration phase grows quadratically noticeable speed increase acceleration = 3.0: Extreme acceleration phase grows cubically rapid speed increase, dramatic effect Typical musical range: 1.2-2.5 Creates natural-sounding acceleration Avoids mechanical or extreme behavior

Spiral Presets

PresetSpiralsRange (st)AccelerationCharacter
Gentle Spiral1.5121.3Subtle, slow arcs
Moderate Spiral2241.5Balanced spiral motion
Aggressive Spiral3361.8Energetic, fast-moving
Extreme Spiral5482.2Dramatic, wide excursions
Fast Rotation4302.5Rapid, spinning motion
Slow Evolution1181.2Gradual, unfolding arcs
Psychedelic Swirl8603.0Intense, disorienting

🎵 Creative Applications

Gentle Spiral: Vocal expression, subtle pitch movement

Moderate Spiral: Instrumental effects, musical phrasing

Aggressive Spiral: Electronic music, dynamic builds

Psychedelic Swirl: Sound design, special effects

Applications

Musical Expression

Vocal Processing: Apply Gentle Spiral to singing for natural-sounding pitch arcs that evolve over phrases, creating expressive vocal lines without mechanical vibrato.
Instrumental Effects: Use Moderate Spiral on sustained instruments like strings or synths to create dynamic pitch movements that build energy over time.
Build-Ups and Transitions: Aggressive Spiral creates accelerating pitch rises perfect for electronic music build-ups, film score tension, or dramatic transitions.

Sound Design

Dynamic Motion: Spiral pitch movements create a sense of geometric motion through audio space, ideal for sci-fi effects, spinning objects, or abstract soundscapes.
Narrative Arcs: The accelerating nature of spiral curves naturally creates narrative progression, making them ideal for film scoring and dramatic audio contexts.

Technical Considerations

Monophonic Content: Works best with single-line melodies or solo instruments. Complex polyphonic material may produce unpredictable results.
Extreme Parameters: Very high acceleration (>2.5) with many spirals can create unnaturally fast pitch changes. Test with shorter audio segments first.
Dense Sampling: The script uses 200-2000 control points to ensure smooth spiral curves. Longer audio files automatically use more points for optimal quality.