# NousResearch/hermes-agent · TTS audio container mismatch and Opus conversion patches

## Open now

- Nothing open on GitHub.

Several TTS providers (Edge, Piper, MiniMax, xAI) were saving non-Opus audio under .ogg extensions, breaking Telegram voice bubbles and on-device transcription. Patches add magic-byte container detection and proper transcoding to Opus before delivery.

## TL;DR

- 7 member(s): 0 open issue(s), 2 closed issue(s), 0 open PR(s), 0 merged PR(s), 5 PR(s) closed without merging.
- No fix has been merged to main; one or more PRs were attempted (see below).
- **Recommended:** review the prior/competing PR(s) below. A fix was attempted but not merged; your case may extend or revive that work.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `unresolved`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_PARTIAL`): some members are connected by structural evidence (shared changed files, or a closing/superseded reference); the rest are joined by an automated relevance judgement over their text.
- Members outside that structural core may belong to a different underlying problem.
- Pairwise link density `0.26`: the share of member pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36. `1.00` means every pair is linked.

## Closed / duplicate issues

- #57048: Edge TTS provider silently saves MP3 bytes under a .ogg extension when given an explicit .ogg output_path (breaks Telegram voice bubbles)
- #58845: \[Bug\]: Piper TTS writes raw WAV to .ogg output path — Opus conversion skipped, Telegram shows 0-second voice bubble

## Prior & competing PRs

- **#57069: fix(tts): convert Edge TTS MP3 to Opus when caller supplies .ogg path**. closed without merge
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#20882`, `#57048`
- **#57080: fix(tts): convert explicit Edge OGG output**. closed without merge
  - maintainer direction: category `stale_abandoned`; implication `active`
- **#57190: fix(tts): transcode edge ogg output paths**. closed without merge
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `#73072`
- **#58848: fix(tts): convert Piper WAV-in-OGG to real Opus on Telegram**. closed without merge
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `#73072`
- **#59196: fix(tts): convert Piper raw WAV to Opus before sending as .ogg**. closed without merge
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#58848`, `#58845`, `#59092`

## Fix status

- No merged fix on record.
- Subsystem: `agent/transports`
