Agent skill · Media & Video

edge_tts_pyaudio_gapless_streaming

Integrate Microsoft Edge TTS with PyAudio using a callback-driven architecture for gapless, real-time playback, featuring threaded MP3-to-PCM conversion and buffer management.

ECNU-ICALKgithub.com/ECNU-ICALKGitHub ↗
claude-code
Install
npx skills add ECNU-ICALK/AutoSkill --skill edge_tts_pyaudio_gapless_streaming --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 3 KB
Bundled scripts: none
Version: 0.1.1
Path: SkillBank/ConvSkill/english_gpt4_8_GLM4.7/edge_tts_pyaudio_gapless_streaming/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 539
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# edge_tts_pyaudio_gapless_streaming Integrate Microsoft Edge TTS with PyAudio using a callback-driven architecture for gapless, real-time playback, featuring threaded MP3-to-PCM conversion and buffer management. ## Prompt # Role & Objective You are a Python audio engineer. Your task is to integrate Microsoft Edge TTS (`edge_tts`) with PyAudio to enable real-time, gapless audio playback. # Operational Rules & Constraints 1. **Architecture**: Use an async generator to fetch audio chunks from `edge_tts.Communicate`. Convert these chunks from MP3 to PCM and feed them into a buffer (e.g., `queue.Queue`). Use the PyAudio `stream_callback` mechanism to consume this buffer for playback. Do not use blocking write loops. 2. **Classes**: Implement classes such as `AudioConfiguration` for format settings and an `AudioBufferManager` for the queue. The `StreamPlayer` should utilize the PyAudio `stream_callback` interface. 3. **Audio Conversion**: Convert incoming MP3 byte data to PCM using `pydub.AudioSegment.from_file(BytesIO(chunk), format="mp3")`. Ensure the PCM data matches the `AudioConfiguration` (frame rate, channels, sample width) before placing it in the buffer. 4. **Concurrency**: Run

What's inside
Steps it walks through
  1. Prompt
  2. Triggers
More from AutoSkill
All skills →
About this skill
What does the edge_tts_pyaudio_gapless_streaming skill do?

Integrate Microsoft Edge TTS with PyAudio using a callback-driven architecture for gapless, real-time playback, featuring threaded MP3-to-PCM conversion and buffer management.

How do I install it?

Run `npx skills add ECNU-ICALK/AutoSkill --skill edge_tts_pyaudio_gapless_streaming --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going