Skip to content

ptmaster/comfyui-audio-speed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

ComfyUI-audio-speed

ComfyUI-audio-speed

6/24/2025 Because the sample rate of various audios in comfyui is not uniform, and direct merging will cause errors, I made a unified 48KHz frequency conversion node.

222

5/30/2025 When using FantasyTalking for voiceovers with WAN (通义万相 Video Model), I noticed it only supports 23FPS audio frame rates while I typically work in 16FPS environments. I conceived an approach: feeding the sampler with audio accelerated by 1.4x (23/16 ratio), then importing the original audio during final video rendering. However, since ComfyUI currently lacks native audio speed adjustment nodes, I developed a custom solution. This self-made node defaults to 0.7x speed (equivalent to 1.4x acceleration) for audio processing. Of course, you can also utilize it as a universal audio speed adjustment node for any desired speed modification.

default.mp4
default.mp4

QQ_1748187513433

This demonstrates a classic configuration scenario where processing 107 frames over 4 seconds achieves an output of 154 frames spanning 7 seconds.

The proposed frame_info output facilitates precise extraction of the audio file's frame count, which is algorithmically employed to dynamically configure the frame parameters of the video rendering model, thereby establishing an intuitive and computationally efficient workflow framework. To validate intermediate results, users may invoke modular nodes labeled Preview Arbitrary or Display Anything to iteratively visualize frame alignment metadata, enabling real-time verification of audiovisual coherence and parameter optimization.

About

comfyui-audio-speed

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages