audio-track-production
하는 일
이 스킬은 별도의 스템, 효과, zip 아카이브를 포함한 완전한 오디오 트랙을 만드는 반복 가능한 방법입니다. 결과로 검증된 오디오 파일 세트가 필요한 사람을 위한 것입니다.
사용하는 경우
- ✓마스터 트랙과 여러 스템을 함께 전달해야 할 때.
- ✓내보내기 전에 각 부분에 오디오 효과를 적용하고 싶을 때.
- ✓최종 파일을 zip으로 묶고 요구 사항에 대해 확인해야 하는 경우.
스킬 링크
https://github.com/HKUDS/AgentPilot/blob/main/openspace/benchmarks/gdpval/skills/audio-track-production/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“참고 곡으로부터 마스터 트랙과 스템을 만들고, zip으로 묶어서 확인해 주실 수 있나요?”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
AI는 기준 파일을 확인하고, 템포로 타이밍을 계산하고, 스템을 생성하고, 효과를 적용하고, 파일을 내보내고 zip으로 묶은 뒤 결과를 검증합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
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:
- Verify reference audio file
- Calculate timing parameters from BPM and duration
- Generate stems with explicit sample type specifications
- Apply audio effects via signal processing
- Export master track and all stems
- Archive deliverables in zip format
- 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
# Example usage
sections = calculate_section_transitions(
bpm=120,
total_duration_sec=137,
sections={'intro': 16, 'verse': 32, 'chorus': 32, 'bridge': 16, 'outro': 16}
)
Step 3: Generate Stems with Explicit Sample Type
Always specify sample type explicitly when generating stems to ensure bit-depth consistency:
import numpy as np
import soundfile as sf
def generate_stem(name, duration_sec, sample_rate, subtype='FLOAT'):
"""Generate a stem with explicit sample type specification."""
frames = int(duration_sec * sample_rate)
# Generate audio content (replace with actual synthesis/processing)
t = np.linspace(0, duration_sec, frames)
audio_data = np.sin(2 * np.pi * 440 * t) # Example: 440Hz tone
# Ensure proper data type for specified subtype
if subtype == 'FLOAT':
audio_data = audio_data.astype(np.float32)
elif subtype == 'PCM_24':
audio_data = np.clip(audio_data, -1, 1) * (2**23 - 1)
audio_data = audio_data.astype(np.int32)
sf.write(
f'{name}_stem.wav',
audio_data,
sample_rate,
subtype=subtype, # Explicit subtype for 24-bit float or other
format='WAV'
)
return audio_data
# Example: Generate 4 stems at 48kHz, 137s, 24-bit float
sample_rate = 48000
duration = 137
stems = ['guitars', 'synths', 'bridge', 'bass']
for stem_name in stems:
generate_stem(stem_name, duration, sample_rate, subtype='FLOAT')
Step 4: Apply Effects via scipy.signal
Use scipy.signal for applying audio effects and processing:
from scipy import signal
import numpy as np
def apply_lowpass_filter(audio_data, sample_rate, cutoff_freq=5000):
"""Apply a lowpass filter using scipy.signal."""
nyquist = sample_rate / 2
normalized_cutoff = cutoff_freq / nyquist
# Design Butterworth filter
b, a = signal.butter(4, normalized_cutoff, btype='low')
# Apply filter
filtered_data = signal.filtfilt(b, a, audio_data)
return filtered_data
def apply_reverb_simple(audio_data, sample_rate, decay=0.5, delay_samples=1000):
"""Apply simple reverb effect."""
reverbed = np.copy(audio_data)
decay_factor = decay
for i in range(1, 6):
delayed = np.zeros_like(audio_data)
if len(audio_data) > delay_samples * i:
delayed[delay_samples * i:] = audio_data[:-delay_samples * i]
reverbed += delayed * (decay_factor ** i)
return np.clip(reverbed, -1, 1)
# Apply effects to stems
for stem_name in stems:
data, sr = sf.read(f'{stem_name}_stem.wav')
processed = ap
자주 묻는 질문
시작하려면 무엇이 필요한가요?
기준 오디오 파일과 트랙의 템포 및 길이입니다.
예제 코드가 포함되나요?
네. 안내서에는 파일과 타이밍을 확인하는 Python 예제 코드가 있습니다.
결과는 어디로 가나요?
최종 파일은 내보내져서 zip 아카이브로 묶입니다.
상세 정보
작성자의 원본 설명
End-to-end audio production workflow with stems, effects, archiving, and verification
repo: HKUDS/AgentPilot
인기도
- GitHub 스타
- 7.8k
- 순위
- #12842
- 라이선스
- MIT
- 업데이트
- 2026. 11. 1.
댓글
- …
이 저장소의 다른 스킬
agentpilot
7.8k작업을 준비하고 AgentPilot 루프를 실행해 변경을 제안, 테스트, 점수화하면서 프로젝트를 단계적으로 개선하도록 돕습니다.
openspace
7.8k에이전트 스킬을 저장하고 가져오는 도구인 OpenSpace를 설정하고, MCP를 통해 AI 앱에 연결하도록 돕습니다.
rsi-arena
7.8kAIME나 Terminal-Bench 같은 표준 AI 벤치마크 테스트를 설정하고 실행해 서로 다른 개선 방법을 비교하도록 돕습니다.
experiment-guide
7.8k프로그램을 개선하는 방법을 조사하면서 작은 실험을 계획하고, 결과를 읽고, 발견 사항을 기록하도록 돕습니다.
비슷한 스킬
openai-whisper-api
394k에이전트가 OpenAI의 받아쓰기 서비스로 오디오 녹음을 텍스트로 바꾸도록 돕습니다. 화자 표시와 출력 파일 옵션을 쓸 수 있습니다.
openai-whisper
394k에이전트가 API 키나 클라우드 업로드 없이 내 컴퓨터에서 Whisper 명령으로 오디오를 텍스트로 바꾸도록 돕습니다.
sag
394k에이전트가 ElevenLabs 음성으로 텍스트를 읽고 결과를 컴퓨터에서 재생하며, 발음과 표현에 관한 팁을 제공하도록 돕습니다.