ComfyTV/AudioFXgenerated
Audio Trim(AudioClipStage)
Audio Trim (class AudioClipStage) is an audio utility node in the ComfyTV/AudioFX category.
Audio Clip Stage
audio
video
audio
ComfyTV
Description
Audio Trim (class AudioClipStage) is an audio utility node in the ComfyTV/AudioFX category. It takes an audio source, trims or stages it as an audio clip, and returns the result as a COMFYTV_AUDIO stream for downstream processing.
The node accepts either an existing audio clip or a video source. Both inputs are optional, so it can be used in audio-only workflows or as part of a video pipeline where the audio needs to be isolated and prepared before further processing.
Inputs
| Input | Type | Required | Description |
|---|---|---|---|
audio | COMFYTV_AUDIO | No | An existing audio clip to trim. Use this when the source audio has already been extracted or created elsewhere in the workflow. |
video | COMFYTV_VIDEO | No | A video source to use as the input for the audio operation. This is useful when the audio to be trimmed is carried by a video clip. |
Both inputs are optional. Supply the input that matches your workflow: use audio for an audio-only chain, or connect a video when working with media that arrives as COMFYTV_VIDEO.
Outputs
| Output | Type | Description |
|---|---|---|
audio | COMFYTV_AUDIO | The resulting trimmed audio clip, ready to be passed to other ComfyTV audio nodes or combined with video downstream. |
Usage Notes
- Use this node when you need to shorten or isolate a section of an audio clip before continuing through an audio processing chain.
- The output is a
COMFYTV_AUDIOvalue, so it can be connected directly to other audio nodes that expect that type. - Because both source inputs are optional, the node can be placed in workflows that begin with either audio or video. Connect only the input relevant to the current pipeline to avoid ambiguity.
- If both an audio clip and a video are connected, confirm which source the node should use for the trim operation before relying on the result.
Comments
Sign in with GitHub to join the discussion.