PyOgg
Simple OGG Vorbis, Opus and FLAC bindings for Python
Install / Use
/learn @TeamPyOgg/PyOggREADME
PyOgg
PyOgg provides Python bindings for Xiph.org’s Opus, Vorbis and FLAC audio file formats as well as their Ogg container format.
PyOgg:
-
Reads and streams Opus, Vorbis, and FLAC audio formats in their standard file format (that is, from within Ogg containers).
-
Writes Opus files (that it, Opus-formatted packets into Ogg containers)
-
Reads and writes Opus-formatted packets (transported, for example, via UDP)
Further, should you wish to have still lower-level access, PyOgg provides ctypes interfaces that give direct access to the C functions and datatypes found in the libraries.
Under Windows, PyOgg comes bundled with the required dynamic libraries (DLLs) in the Windows Wheel distributions.
Under macOS, the required libraries can be easily installed using Homebrew.
PyOgg is not capable of playing audio, however, you can use Python audio libraries such as simpleaudio, sounddevice, or PyOpenAL to play audio. PyOpenAL even offers 3D playback.
For more detail, including installation instructions, please see the documentation at Read the Docs.
Building the Docs
If you are unable to find the documentation at Read the Docs, you may build the documentation yourself. First, clone this repository and from within the repository's directory, install PyOgg in editable mode using:
pip install -e .
Building the documentation requires Sphinx and the Read the Docs theme:
pip install sphinx
pip install sphinx-rtd-theme
Then, enter the docs directory and run:
make html
This will produce a docs/_build/html directory. Open the file
index.html to browse the documentation.
Related Skills
claude-opus-4-5-migration
83.3kMigrate prompts and code from Claude Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5
docs-writer
99.2k`docs-writer` skill instructions As an expert technical writer and editor for the Gemini CLI project, you produce accurate, clear, and consistent documentation. When asked to write, edit, or revie
model-usage
337.7kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
TrendRadar
49.8k⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的 AI 舆情监控助手与热点筛选工具!聚合多平台热点 + RSS 订阅,支持关键词精准筛选。AI 智能筛选新闻 + AI 翻译 + AI 分析简报直推手机,也支持接入 MCP 架构,赋能 AI 自然语言对话分析、情感洞察与趋势预测等。支持 Docker ,数据本地/云端自持。集成微信/飞书/钉钉/Telegram/邮件/ntfy/bark/slack 等渠道智能推送。
