audio-mixing

द्वारा google-gemini

Mix speech audio and background music into a polished radio show file.

npx skills add https://github.com/google-gemini/gemini-managed-agents-templates --skill audio-mixing

Audio Mixing

Combine the TTS speech audio and Lyria background music into a single, polished radio show file.

Embedded Script

python3 skills/audio-mixing/scripts/mix_audio.py --workspace ./workspace

Arguments

ArgumentDefaultDescription
--workspaceworkspaceRoot workspace directory

What it does

  1. Loads speech from {workspace}/audio/speech/speech.wav.
  2. Adds 3 seconds of silence padding to the end of the speech to prevent it from being faded out.
  3. Loads background music from {workspace}/audio/music/background.mp3 (if exists).
  4. Loops music to match speech duration, lowers volume to -18dB.
  5. Overlays speech on music with a 1-second music intro.
  6. Adds fade-in/fade-out.
  7. Exports as MP3.

Dependencies

  • pydub
  • ffmpeg (system)

Mixing Guidelines

ElementLevelNotes
Speech0 dBUntouched, full volume
Background music-18 dBBarely audible — subtle bed under speech

Transitions

  • Music fade-in: 3 seconds
  • Music fade-out: 5 seconds
  • Overall fade-in: 500ms
  • Overall fade-out: 2 seconds

Output

FilePathFormat
MP3 (distribution){workspace}/audio/final/ai_radio.mp3MP3, 192kbps

Fallback

If no background music exists, produces speech-only output with just fade-in/fade-out applied.

google-gemini की और Skills

greeter
google-gemini
एक मैत्रीपूर्ण अभिवादन कौशल
official
code-reviewer
google-gemini
स्थानीय परिवर्तनों और दूरस्थ पुल अनुरोधों के लिए स्वचालित कोड समीक्षा, जिसमें शुद्धता, रखरखाव क्षमता और सुरक्षा पर संरचित विश्लेषण शामिल है। स्थानीय फ़ाइल सिस्टम परिवर्तनों (स्टेज्ड और अनस्टेज्ड) और दूरस्थ PRs (संख्या या URL द्वारा) को स्वचालित GitHub CLI चेकआउट के साथ समर्थन करता है। कोड का सात आयामों में विश्लेषण करता है: शुद्धता, रखरखाव क्षमता, पठनीयता, दक्षता, सुरक्षा, एज केस हैंडलिंग और परीक्षण कवरेज। वैकल्पिक
official
review-duplication
google-gemini
कोड समीक्षा के दौरान इस कौशल का उपयोग करके सक्रिय रूप से कोडबेस में डुप्लिकेट कार्यक्षमता, पुनः आविष्कृत पहियों, या मौजूदा का पुन: उपयोग करने में विफलता की जांच करें…
official
reconciliation
google-gemini
लोड किए गए खर्चों को पूर्व-पार्स किए गए इनवॉइस डेटाबेस के साथ मिलान करें, और राशि बेमेल, लापता इनवॉइस, और व्यापारी बेमेल जैसी विसंगतियों को चिह्नित करें…
official
agent-tui
google-gemini
Main Agents: Do NOT use this skill directly. If you need to test the TUI, invoke the `tui_tester` subagent. Drive terminal UI (TUI) applications…
official
async-pr-review
google-gemini
इस कौशल को तब सक्रिय करें जब उपयोगकर्ता एक अतुल्यकालिक PR समीक्षा शुरू करना चाहता है, किसी PR पर पृष्ठभूमि जाँच चलाना चाहता है, या पहले से शुरू की गई अतुल्यकालिक PR की स्थिति जाँचना चाहता है…
official
ci
google-gemini
Gemini CLI के लिए एक विशेष कौशल जो उच्च-प्रदर्शन, फेल-फास्ट प्रदान करता है
official
critique
google-gemini
रिपॉजिटरी स्क्रिप्ट्स और GitHub Actions वर्कफ़्लोज़ की ऑडिटिंग और फिक्सिंग में विशेषज्ञता, ताकि तकनीकी मजबूती और सुरक्षा सुनिश्चित हो सके।
official