Skip to content

Preview override: Add LTXAV audio preview synced to video - #640

Open
drozbay wants to merge 1 commit into
kijai:mainfrom
drozbay:feature/ltxav-audio-preview
Open

Preview override: Add LTXAV audio preview synced to video#640
drozbay wants to merge 1 commit into
kijai:mainfrom
drozbay:feature/ltxav-audio-preview

Conversation

@drozbay

@drozbay drozbay commented May 24, 2026

Copy link
Copy Markdown
Contributor

Adds an optional audio_vae input to Model Preview Override. On LTXAV (audio+video) models the separated audio latent is decoded each sampling step and played back in sync with the video preview, so the audio sharpens alongside the video as denoising proceeds.

The <audio> element rides the same playback clock and double-buffer/seek pattern as the existing MP4 path (showMp4), so pausing, scrubbing, and per-step lock work for audio too. The audio VAE, which is relatively small, runs directly on first_stage_model, pinned to GPU for the run (the same device-handling the node already uses for the TAEHV previewer),

No behavior change unless audio_vae is wired and the audio is muted unless hovering over the relevant UI elements.

Adds an optional audio_vae input to Model Preview Override. On LTXAV (audio+video) models the audio latent is decoded each step and played back in sync with the video preview via the shared playback clock, improving in quality as sampling proceeds. Decode runs directly on first_stage_model, pinned to GPU for the run (the same device-handling the node uses for the TAEHV previewer), bypassing comfy VAE.decode()'s per-step load_models_gpu. Audio is muted unless the cursor is over the preview frame or the step plot. No behavior change unless audio_vae is wired.
@drozbay
drozbay force-pushed the feature/ltxav-audio-preview branch from 935c0b6 to 928189a Compare May 24, 2026 01:48
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.

1 participant