audio-track-production
यह क्या करती है
यह स्किल अलग स्टेम्स, इफ़ेक्ट और zip आर्काइव के साथ पूरा ऑडियो ट्रैक बनाने की दोहराई जा सकने वाली विधि है। यह उन लोगों के लिए है जिन्हें नतीजे में जाँची हुई ऑडियो फ़ाइलों का सेट चाहिए।
कब इस्तेमाल करें
- ✓जब मुझे एक मास्टर ट्रैक और उसके कई स्टेम्स एक साथ डिलीवर करने हैं।
- ✓जब एक्सपोर्ट से पहले हर हिस्से पर ऑडियो इफ़ेक्ट लगाने हों।
- ✓जब अंतिम फ़ाइलें zip में पैक करके आवश्यकताओं के अनुसार जाँचनी हों।
Skill का लिंक
https://github.com/HKUDS/AgentPilot/blob/main/openspace/benchmarks/gdpval/skills/audio-track-production/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मेरे रेफ़रेंस गाने से मास्टर ट्रैक और उसके स्टेम्स बनाकर zip में पैक करें और जाँचें। क्या आप यह कर सकते हैं?”
हर हफ़्ते 5 नई skills, 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
- अपडेट की गई
- 1/11/2026
कमेंट
- …
इस repository की और skills
agentpilot
7.8kआपके एजेंट को AgentPilot से प्रोजेक्ट को चरण-दर-चरण सुधारने में मदद करती है, जिसमें बदलाव सुझाए, परखे और स्कोर किए जाते हैं।
openspace
7.8kआपके एजेंट को OpenSpace सेट करने में मदद करती है, जो एजेंट स्किल्स सहेजता और वापस लाता है, और MCP के ज़रिए आपके AI ऐप से जुड़ता है।
rsi-arena
7.8kआपके एजेंट को AIME और Terminal-Bench जैसे मानक AI बेंचमार्क टेस्ट सेट करने और चलाने में मदद करती है, ताकि सुधार के तरीकों की तुलना हो सके।
experiment-guide
7.8kआपके एजेंट को छोटे प्रयोग बनाने, उनके नतीजे पढ़ने और जाँच के दौरान उपयोगी निष्कर्ष लिखने में मदद करती है।
मिलती-जुलती skills
openai-whisper-api
394kयह आपके एजेंट को OpenAI की transcription सेवा से ऑडियो रिकॉर्डिंग को टेक्स्ट में बदलने देती है, जिसमें स्पीकर लेबल और आउटपुट फ़ाइलों के विकल्प हैं।
openai-whisper
394kयह आपके एजेंट को बिना API key और बिना क्लाउड अपलोड के, आपके अपने कंप्यूटर पर Whisper कमांड से ऑडियो का ट्रांसक्रिप्ट बनाने में मदद करती है।
sag
394kयह आपके एजेंट को ElevenLabs आवाज़ों से टेक्स्ट को ज़ोर से पढ़वाने और नतीजा आपके कंप्यूटर पर चलाने देती है, उच्चारण और भाव के सुझावों के साथ।