Skills

Audio Track Production

End-to-end audio production workflow with stems, effects, archiving, and verification

Install

npx skills add HKUDS/AgentPilot --skill audio-track-production -g -a claude-code -y
Repository
HKUDS/AgentPilot7.8k
Category
Media
Updated
3d ago
License
MIT
Context cost
Mediumabout 2,815 tokens
Runs scripts
No, instructions only

What it does

End-to-end audio production workflow with stems, effects, archiving, and verification

Audio Track Production Workflow

This skill provides a reusable pattern for executing audio production tasks that require generating a master track and multiple stems, applying effects, and delivering verified outputs in an archive.

Overview

Follow these steps in order to ensure consistent, verifiable audio production outputs:

  1. Verify reference audio file
  2. Calculate timing parameters from BPM and duration
  3. Generate stems with explicit sample type specifications
  4. Apply audio effects via signal processing
  5. Export master track and all stems
  6. Archive deliverables in zip format
  7. Verify all outputs match specifications

Step 1: Verify Reference File

Before processing, verify the reference audio file is valid and readable:

import soundfile as sf

# Verify reference file exists and is readable
info = sf.info('reference_track.wav')
print(f"Sample rate: {info.samplerate} Hz")
print(f"Duration: {info.frames / info.samplerate:.2f} seconds")
print(f"Channels: {info.channels}")
print(f"Subtype: {info.subtype}")

Step 2: Calculate Timing Parameters

Derive timing for key section transitions from BPM and total duration:

def calculate_section_transitions(bpm, total_duration_sec, sections):
    """Calculate beat-aligned transition points for song sections."""
    beats_per_second = bpm / 60.0
    total_beats = total_duration_sec * beats_per_second
    
    # Distribute sections proportionally or by specified ratios
    section_durations = {}
    cumulative_time = 0
    
    for section_name, beat_count in sections.items():
        duration = beat_count / beats_per_second
        section_durations[section_name] = {
            'start': cumulative_time,
            'end': cumulative_time + duration,
            'beats': beat_count
        }
        cumulative_time += duration
    
    return section_durations
Read the whole SKILL.md on GitHub

More in Media