生成播客風格的音頻敘事(Podcast Generation)
建立一個可重複的文字轉音訊工作流程,整合 Azure OpenAI Realtime 串流、PCM 收集、WAV 轉換及前端播放,以產出播客風格的音頻。
前置需求
Azure OpenAI Realtime API 存取權限、支援 WebSocket 的後端、PCM 轉 WAV 轉換、前端音頻播放層
安裝
使用符合您環境的上游安裝或設定路徑:
- npx skills add microsoft/skills
- git clone https://github.com/microsoft/skills.git
- pnpm install
- pnpm harness --list
來自上游的需求與注意事項:
- | Python | 39 | -py |
- ├── plugins/ # 基於語言的插件套件(azure-sdk-python 等)
- ├── python/ # -> ../.github/skills/*-py
基本使用或入門說明:
-
bash
-
從精靈中選擇您需要的技能。技能會安裝到您所選代理的目錄中(例如 GitHub Copilot 的 .github/skills/),如果您使用多個代理,則會建立符號連結。
-
來源:https://github.com/microsoft/skills/tree/main/.github/skills/podcast-generation
-
從上游文件擷取:https://raw.githubusercontent.com/microsoft/skills/HEAD/README.md