本文へスキップ
Skillpedia
音声とボイス7.8k · #12839

diagnostic-stem-delivery

できること

このスキルは、タイムコード付きの編集メモを使って音声プロジェクトを修正する手順をAIに示します。診断に基づく修正と、確認済みの最終書き出しが必要な音声編集者向けです。

使う場面

  • ✓文書に、問題を直すべき音声のタイムコードが並んでいるとき。
  • ✓編集の前に、特定の瞬間のクリックやピッチの問題を分析する必要があるとき。
  • ✓納品する前に、最終的な書き出しを確かめたいとき。

スキルのリンク

https://github.com/HKUDS/AgentPilot/blob/main/openspace/benchmarks/gdpval/skills/audio-track-production-enhanced-enhanced-enhanced/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/HKUDS/AgentPilot/blob/main/openspace/benchmarks/gdpval/skills/audio-track-production-enhanced-enhanced-enhanced/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“編集メモのタイムコードを読んで、その箇所の音声を確認し、書き出す前に問題を直してください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

AIは文書からタイムコードを取り出し、各箇所の音声を分析し、タイミングを計画し、ステムを作り、ミックスして、最終ファイルを確認します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Diagnostic Stem Audio Production Workflow

This skill provides a resilient pattern for audio production that emphasizes diagnostic analysis before editing, explicit timecode extraction from documents, incremental verification, fail-fast principles, and mandatory deliverable verification. Each major step produces verified outputs before proceeding, with comprehensive audio diagnostics at specified timecodes.

Overview

Follow these steps in strict order. Each step must complete successfully and pass verification before proceeding to the next:

  1. Parse timecodes from source documents - Extract edit spots/timecodes from DOCX/text sources
  2. Perform diagnostic audio analysis - Analyze reference audio at each timecode (pitch, clicks, frequency)
  3. Calculate timing parameters - Derive section transitions from BPM and duration
  4. Verify reference audio - Validate input file properties and extract target duration
  5. Generate and verify each stem individually - One stem at a time with immediate verification
  6. Detect and resolve duration mismatches - Apply appropriate extension strategy
  7. Apply edits based on diagnostics - Make informed edits using analysis results
  8. Mix with verification - Combine stems and verify mix integrity
  9. Export and verify deliverable - Generate final output with comprehensive checks

Key Principles

  • Diagnostics first: Analyze audio at edit points BEFORE making any changes
  • Document-driven: Parse timecodes directly from source documents (DOCX, TXT)
  • Incremental verification: Verify each stem immediately after generation
  • Fail-fast approach: Stop and report errors at each step
  • Mandatory export: Final step MUST produce verified deliverable file
  • Tool reliability: Use run_shell with inline Python for audio processing (avoid execute_code_sandbox for audio)

Step 0: Parse Timecodes from Source Documents

Extract edit spots and timecodes from document sources. Use python-docx via run_shell for reliable DOCX parsing:

# Parse DOCX file for timecodes and edit spots
python3 -c "
from docx import Document
import re
import sys

doc_path = sys.argv[1] if len(sys.argv) > 1 else 'Bass Edit Spots.docx'
doc = Document(doc_path)

edit_spots = []
timecode_pattern = r'(\d{1,2}:?\d{2}:?\d{2}[.:\d]*)|(\d+[.:\d]+)s'

for para in doc.paragraphs:
    text = para.text.strip()
    if not text:
        continue
    
    # Look for timecodes in various formats
    matches = re.findall(timecode_pattern, text, re.IGNORECASE)
    if matches:
        for match in matches:
            timecode = match[0] if match[0] else match[1]
            if timecode:
                edit_spots.append({'timecode': timecode, 'context': text[:100]})
    
    # Also check tables
    for table in doc.tables:
        for row in table.rows:
            for cell in row.cells:
                cell_text = cell.text.strip()
                matches = re.findall(timecode_pattern, cell_text, re.IGNORECASE)
                for match in matches:
                    timecode = match[0] if match[0] else match[1]
                    if timecode:
                        edit_spots.append({'timecode': timecode, 'context': cell_text[:100]})

print(f'Found {len(edit_spots)} edit spots:')
for i, spot in enumerate(edit_spots, 1):
    print(f'{i}. {spot[\"timecode\"]} - {spot[\"context\"][:50]}...')
"

Step 1: Perform Diagnostic Audio Analysis at Timecodes

Before any editing, analyze the reference audio at each identified timecode:

import numpy as np
import soundfile as sf
import librosa

def analyze_audio_at_timecode(filepath, timecode_str, sample_rate=48000):
    """
    Perform comprehensive diagnostic analysis at a specific timecode.
    
    Returns dict with:
    - pitch_estimate: Dominant frequency/pitch
    - click_pop_score: Likelihood of clicks/pops (0-1, higher = more likely)
    - frequency_spectrum: Dominant frequency bands
    - amplitude: RMS amplitude at timecode
    - issues: List of detected issues
    """
    # Parse timecode to seconds
    timecode_str = timecode_str.replace(':', '.').strip()
    if 's' in timecode_str:
        timecode_str = timecode_str.replace('s', '')
    
    try:
        parts = timecode_str.split('.')
        if len(parts) == 3:
            seconds = int(parts[0]) * 3600 + int(parts[1]) * 60 + float(parts[2])
        elif len(parts) == 2:
            seconds = int(parts[0]) * 60 + float(parts[1])
   
よくある質問

Wordのファイルにあるメモも読めますか?

はい。このワークフローは、DOCXやプレーンテキストの文書からタイムコードを取り出せます。

すべての問題を自動で直しますか?

診断結果に基づいて編集を行い、次に進む前に各ステップを確認します。

編集の前に分析する理由は?

まず音声を見れば、実際に何が問題かが分かり、編集が証拠に基づくものになるからです。

詳細

作者による元の説明

Audio production with diagnostic analysis, timecode parsing from documents, and verified export workflow

repo: HKUDS/AgentPilot

人気

GitHubのスター
7.8k
ランキング
#12839
ライセンス
MIT
更新日
2026/11/1

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル