stretch

Time-stretch, pitch-shift, and varispeed audio with transient preservation.

13|1|Updated Apr 6, 2026
One-click install
npx skills add https://github.com/Generous-Corp/pulp --skill stretch-generous-corp
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: stretch
Source: https://github.com/Generous-Corp/pulp/tree/main/.agents/skills/stretch
Command: npx skills add https://github.com/Generous-Corp/pulp --skill stretch-generous-corp

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill addresses the degradation and phase artifacts typically associated with offline time-stretching, pitch-shifting, and varispeed processing in audio production.

Core Features & Use Cases

  • Character-Based Processing: Choose between clean phase-vocoder modes for tonal material or varispeed for tape-like pitch and tempo manipulation.
  • Transient Preservation: Utilizes verbatim transient relocation to ensure percussive attacks remain sharp and punchy despite time-stretching.
  • Use Case: Use this skill to time-stretch a drum loop to match a project tempo while maintaining the original transient impact and avoiding the phase-smearing common in standard vocoders.

Quick Start

Use the stretch skill to process the input file in.wav to out.wav with a time ratio of 1.5 and the clean character mode.

Frequently Asked Questions about stretch

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I time-stretch a drum loop without smearing the transients?

Offline time-stretching with transient-aware processing preserves percussive attacks by using verbatim transient relocation. This ensures drum hits remain sharp and punchy while tonal material is processed, avoiding the phase-smearing common in standard vocoders.

What is the best way to pitch-shift audio offline without phase artifacts?

Pitch-shifting offline without phase artifacts is achieved using phase-locked spectral processing. This method maintains signal coherence and delivers artifact-free audio rendering, satisfying requirements for bit-identical offline compilation in production environments.

Can I use varispeed processing for tape-like pitch and tempo manipulation?

Varispeed processing provides tape-like pitch and tempo manipulation by coupling speed and pitch adjustments together. This character-based approach offers an alternative to clean phase-vocoder modes, delivering vintage-style audio signal modification.

How does phase-locked spectral processing work for audio time-stretching?

Phase-locked spectral processing works by maintaining phase coherence across frequency bins during time-stretching. This technique prevents the phase artifacts and signal degradation typically associated with offline time-stretching, ensuring high-fidelity audio rendering.

Does this offline audio time-stretching approach require specific C++ environment setup?

Offline audio time-stretching operates using a C++20 core engine, requiring a compatible C++20 build environment. It performs bit-identical offline compilation and artifact-free rendering without external dependencies, ensuring self-contained audio signal processing.