@gigamusic/audio
v3.0.0
Published
Server-only audio utilities: ffmpeg preview generation, WAV/MP3 tagging. Never writes album_artist / TPE2.
Readme
@gigamusic/audio
Server-only audio utilities for the gigamusic platform: ffmpeg-driven preview generation and WAV/MP3 metadata tagging.
The albumArtist / ID3 TPE2 frame is never written. The invariant is enforced both at the type level (no albumArtist on AudioTags) and at runtime (any internal frame map strips TPE2).
import { generatePreview, tagMp3, tagWav, prepareFfmpegScriptPath } from "@gigamusic/audio";Consumers wire prepareFfmpegScriptPath into their vercel-build step so the ffmpeg binary lands at a stable, non-symlinked path.
