Nodes/comfyui-simple-batch/πŸ“₯ Batch Load Audio
ComfyUI Node

πŸ“₯ Batch Load Audio

Batch audio source: enumerates every audio file of the selected container format in a folder tree and hands out one audio file per execution. The slot is derived from which destinations already exist (or were marked errored), so crash-recovery, restarts and re-runs need no reset step.

By lordekeenΒ·Created 4 days agoΒ·Updated about 4 hours agoΒ· 1
πŸ“₯ Batch Load Audio
    • AUDIO
    • SLOT
    • TOTAL
    • RELATIVE_PATH
    β—„folder_pathβ€”β–Ί
    β—„recursivetrueβ–Ί
    β—„container_formatwavβ–Ί
    Categoryaudio/batch

    Inputs (3)

    NameTypeDefaultDescription
    folder_pathSTRINGRoot of the input folder tree (absolute path).
    recursiveBOOLEANtrueWalk subfolders recursively.
    container_formatCOMBOwavOnly files with this extension (or all_audio) are processed.

    Outputs (4)

    NameTypeDescription
    AUDIOAUDIOThe current audio file as standard ComfyUI AUDIO dict.
    SLOTINT0-based index of the current file for this run.
    TOTALINTTotal matching file count for this run.
    RELATIVE_PATHSTRINGCurrent file's path relative to folder_path (posix separators).