Rhythmic Pitch Percussion — User Guide

Rhythmic pitch manipulation: creates percussive pitch hits with complex polyrhythms, ghost notes, and multi-layer envelopes for electronic music production.

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 rhythmic pitch percussion — a sophisticated approach to creating percussive pitch effects that transform any audio into rhythmically-driven pitch sequences. Generates complex rhythmic patterns with multi-layer envelopes, polyrhythmic structures, ghost notes, and humanization for creating electronic music-style pitch percussion from any sound source.

Key Features:

What is rhythmic pitch percussion? Traditional pitch effects: continuous modulation, vibrato, glides. Rhythmic percussion: discrete pitch hits organized in rhythmic patterns, creating the perception of percussive elements through pitch manipulation. Advantages: (1) Rhythmic precision: Exact control over hit timing and patterns. (2) Genre adaptation: Presets tailored for specific electronic music styles. (3) Complex envelopes: Multi-stage pitch contours for realistic percussion. (4) Polyrhythmic depth: Multiple rhythmic layers create complexity. (5) Groove elements: Ghost notes and humanization for musical feel. Use cases: Electronic music production, rhythmic sound design, percussive vocal effects, algorithmic rhythm generation, experimental composition.

Quick start

  1. Select Sound object in Praat
  2. Run rhythmic_pitch_percussion.praat
  3. Choose preset for genre-specific rhythms
  4. Adjust hit_strength (8-180) for pitch impact intensity
  5. Set decay_rate (0.5-40) for hit duration
  6. Configure polyrhythm_factor (1-11) for rhythmic complexity
  7. Click OK — rhythmic percussion applied
Quick tip: Start with Techno Kick for powerful down-pitches, Trap Hi-Hat for rapid flickering effects, or Dubstep Wobble for heavy modulation. Each preset creates dramatically different rhythmic characters.

Rhythm Theory

Pattern System

🥁 Rhythm Pattern Syntax

Pattern format: Underscore-separated binary sequences

Syntax: "1_0_1_1_0_1_0_1_1_0_0_1" Where: 1 = Hit (pitch impact occurs) 0 = Rest (no pitch change) _ = Separator between beats Examples: "1_0_0_0" = Quarter notes (4/4 kick) "1_0_1_0" = Eighth notes (2 and 4) "1_0_0_1_0_0_1" = Triplet feel "1_1_1_1" = Sixteenth note stream Pattern length determines rhythmic division: 4 beats = quarter note grid 8 beats = eighth note grid 16 beats = sixteenth note grid

Multi-Layer Envelope System

📈 Three-Component Envelope

Each hit contains three envelope stages:

Attack: exp(-decay_rate * 3 * phase) - Fast initial pitch drop/rise - Creates percussive impact - Controlled by decay_rate Body: 0.6 * exp(-decay_rate * 0.8 * phase) - Sustained pitch modulation - Provides harmonic content - Medium decay speed Tail: 0.2 * exp(-decay_rate * 0.3 * phase) - Slow pitch release - Creates resonance/after-effect - Slowest decay Total envelope = Attack + Body + Tail Fundamental hit = hit_strength * total_envelope Harmonic hit = 0.4 * hit_strength * envelope * sin(phase * 8 * π)

Polyrhythmic Architecture

ComponentFunctionEffect
Main RhythmPrimary patternDefines core beat structure
PolyrhythmSecondary patternAdds complexity (factor 3-11)
Ghost NotesSubtle hitsAdds groove and texture
Tension WaveBackground modulationCreates rhythmic motion
HumanizationRandom variationAdds natural feel

Parameter Interactions

hit_strength (8-180): Low (8-25): Subtle pitch variations Medium (25-100): Noticeable pitch hits High (100-180): Extreme pitch effects decay_rate (0.5-40): Very slow (0.5-2): Long, evolving pitches Slow (2-8): Sustained modulation Fast (8-20): Sharp, percussive hits Very fast (20-40): Ultra-short flickers polyrhythm_factor (1-11): 1: No polyrhythm (simple) 3-5: Moderate complexity 7-11: High complexity, dense patterns ghost_hits (0-2.0): 0: No ghost notes 0.3-0.8: Subtle groove 1.0-2.0: Prominent secondary hits

Genre Presets

PresetPatternStrengthDecayPolyGhostsCharacter
Techno Kick1_0_0_01501510Massive downward pitch swoops
Trap Hi-Hat1_1_1_1_0_1_1_184082.0Rapid flickering, ultra-fast
Dubstep Wobble1_0_1_0_1_0_1_01202110.8Heavy modulation, sparse
Breakbeat1_0_0_1_0_1_0_0_11002071.2Sharp attacks, complex syncopation
Minimal Pulse1_0_0_0_0_0_0_01800.510Deep booms, ultra-slow decay

🎧 Electronic Music Applications

Techno Kick: Transform any sound into powerful kick-like pitch drops perfect for techno and house music

Trap Hi-Hat: Create rapid pitch flickers that emulate hi-hat patterns for trap and hip-hop

Dubstep Wobble: Generate heavy pitch modulation with complex rhythms for dubstep and bass music

Breakbeat: Produce sharp, syncopated pitch hits ideal for breakbeat and drum & bass

Minimal Pulse: Create deep, evolving pitch booms for minimal techno and ambient

Applications

Electronic Music Production

Percussive Sound Design: Transform sustained sounds into rhythmic elements. Convert pads, vocals, or atmospheric sounds into rhythmically-driven pitch sequences that can serve as percussive elements in electronic tracks.
Genre-Specific Effects: Use the presets to quickly create rhythmically appropriate pitch effects for different electronic music styles without manual parameter tuning.

Rhythmic Vocal Processing

Percussive Vocals: Apply rhythmic pitch patterns to vocal recordings to create stutter effects, rhythmic autotune-like processing, or transform singing into rhythm instruments.
Textural Rhythm: Use subtle settings to add rhythmic interest to vocal tracks without overwhelming the original performance.

Algorithmic Composition

Generative Rhythms: Combine the script with algorithmic pattern generation to create evolving rhythmic structures that change over time.
Polyrhythmic Exploration: Experiment with high polyrhythm factors to create complex, overlapping rhythmic patterns for experimental music.

Sound Design for Media

Rhythmic FX: Create rhythmically-synced sound effects for games, film, and interactive media where sounds need to align with musical timing.

Technical Considerations

Extreme Parameters: Very high hit_strength (>150) with fast decay rates can create extreme pitch variations that may sound artificial or cause artifacts. Test with your specific audio material.
Pattern Complexity: Very dense patterns (many "1"s) with high polyrhythm factors can create overwhelming rhythmic density. Consider the musical context.
Custom Pattern Creation: When creating custom patterns, consider the relationship between pattern length and audio duration. Longer patterns work better with longer audio files to allow the rhythm to develop.