Audio Picker(AudioPickerStage)
Audio Picker selects a single track from an accumulated audio pool and outputs it as COMFYTV_AUDIO. It is part of the ComfyTV package under the ComfyTV/Compose category.
Audio Picker Stage
Description
Audio Picker selects a single track from an accumulated audio pool and outputs it as COMFYTV_AUDIO. It is part of the ComfyTV package under the ComfyTV/Compose category.
The node is designed around a UI-managed pool: upstream audio tracks are collected into the pool input, and clicking a track sets the hidden selected_index value that determines which track is extracted.
Inputs
selected_index
- Type:
INT - Required: yes
- Default:
1 - Minimum:
1 - Maximum:
999 - Step:
1
Specifies which track to extract from the pool. The index is 1-based, so 1 selects the first track. This input is hidden in normal use and is set by clicking a track in the node UI.
pool
- Type:
STRING - Required: yes
- Default: empty string
Stores the accumulated audio pool as JSON. The pool is managed by the UI: new upstream tracks are appended to it, deduplicated by URL, and persist across regeneration and disconnection. The Clear button empties the pool.
append_results
- Type:
BOOLEAN - Required: yes
- Default:
true
Controls how new upstream results are added to the pool. When enabled, new results are appended and existing pool items are kept. When disabled, each new run replaces the pool with only the latest batch of results.
Outputs
COMFYTV_AUDIO
Outputs the audio track selected by selected_index from the accumulated pool.
Usage Notes
Click a track in the Audio Picker interface to select it; this sets the hidden selected_index used for extraction. The pool can hold tracks from multiple upstream runs, with duplicate URLs removed automatically. Use the Clear button to reset the pool.
Keep append_results enabled when you want to accumulate tracks over time. Disable it when each new run should discard the previous pool and expose only the latest batch.
Comments
Sign in with GitHub to join the discussion.