Skip to content

fix: preserve timeline clip gain during audio export - #24

Open
JaysonAlbert wants to merge 1 commit into
BeatAPI:mainfrom
JaysonAlbert:codex/fix-timeline-audio-gain
Open

JaysonAlbert wants to merge 1 commit into
BeatAPI:mainfrom
JaysonAlbert:codex/fix-timeline-audio-gain

Conversation

@JaysonAlbert

Copy link
Copy Markdown

Sequential timeline clips lost gain during MCP export because FFmpeg normalized the mix across every input, including delayed silence. Export now preserves the configured clip gains and applies a peak limiter without automatic makeup gain or lookahead delay.

Fixes #23.

Validation: two FFmpeg audio regression tests pass (unity gain across three delayed sequential clips; bounded peaks and unchanged duration for overlapping loud tones). Typecheck, i18n check and production build pass. Full upstream-baseline suite on Windows: 404 passed, 4 skipped, 10 failures in existing path/SQLite/child-process/CRLF portability checks; these are outside this three-file change. Tests do not invoke generation providers or alter project media.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Timeline export attenuates audio based on total delayed input count

1 participant