MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / audio.mjs

File audio.mjs

skills/hyperframes-media/scripts/audio.mjs:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1#!/usr/bin/env node
2// audio.mjs — the shared HyperFrames audio engine. ONE implementation of TTS +
3// BGM + SFX for every video workflow (product-launch, general-video, pr-to-video,
4// …). Workflows do NOT vendor a copy: they write a neutral `audio_request.json`

Callers

nothing calls this directly

Calls 15

loadEnvFromDirFunction · 0.90
heygenCredentialFunction · 0.90
heygenAuthHeadersFunction · 0.90
pickProviderFunction · 0.90
resolveVoiceIdFunction · 0.90
retrieveBgmFunction · 0.90
inferBgmPromptFunction · 0.90
generateBgmDetachedFunction · 0.90
resolveSfxFunction · 0.90
resolveFunction · 0.85
errorMethod · 0.80
flagFunction · 0.70

Tested by

no test coverage detected