Nodes/ComfyUI-IntoTheLatent-Utils/ITL Multi Audio Loader
ComfyUI Node

ITL Multi Audio Loader

Load several audio files onto one node, each on its own socket

By Into-The-Latent·Created 29 days ago·Updated 15 days ago· 2
ITL Multi Audio Loader
    • count
    • audio_1
    • audio_2
    • audio_3
    • audio_4
    • audio_5
    • audio_6
    • audio_7
    • audio_8
    files_json[]
    output_slotsauto

    ComfyUI has audio support now - a real AUDIO type that video and audio-generation models actually consume - but the stock loading story is still "one file per node." When you're building a workflow that takes several voice clips, SFX samples, or music stems and routes each one somewhere different, the ITL Multi Audio Loader is the same "one node, many files, many sockets" pattern as its image sibling: drop up to 8 audio files on it, and each gets its own audio_N output.

    How it works

    Drop files onto the field (or click to browse), and they upload into ComfyUI's input/ folder like any other loader. Each row gets a socket - audio_1, audio_2, and so on - in row order, and each row shows a duration so you can tell your clips apart at a glance. Drag the ⠿ grip to reorder, ✕ to remove, or Sort by name for folder order.

    The one audio-specific behavior worth knowing: the node never resamples. Each audio_N output keeps its file's native sample rate. That's deliberate - if a downstream node expects a specific rate, resampling is a separate, explicit step, not something this loader silently does for you. Some loaders quietly convert and you get muddled output; this one hands you exactly what's in the file.

    The settings and the trap

    • output_slots - auto makes sockets appear/disappear with the file list. Pin a fixed count (1–8) and the sockets stay put while you swap files, keeping your wires intact. Extra pinned sockets with no file behind them output nothing.
    • The row on/off toggle - switching a row off keeps its socket position (nothing shifts) but that socket outputs None on the next run. The node equates this with leaving an unplugged OPTIONAL input, which is safe - unless that socket feeds a REQUIRED input downstream, in which case the node fails on None. Don't toggle off a row that feeds something mandatory.
    • count - the INT output counts enabled files actually emitted, not rows. Toggle a row off and count drops.

    Reordering or removing files shifts what each socket carries, and the node warns in its status line whenever a change touches a socket that has a wire. Trust that warning - the repo ships with issues disabled, so there's no support ticket to file if you miss it.

    Outputs & install

    Outputs: count (INT) plus audio_1 through audio_8 (AUDIO). The Advanced variant adds filename_N per file, which is handy when you want to know which file fed which socket after the fact.

    Install through ComfyUI Manager (search "ComfyUI-IntoTheLatent-Utils") or:

    cd ComfyUI/custom_nodes
    git clone https://github.com/Into-The-Latent/ComfyUI-IntoTheLatent-Utils
    

    then restart. No extra dependencies - the pack's requirements are just Pillow, which ComfyUI already ships, and audio decoding rides on ComfyUI's own av support.

    This node is simple, and that's the whole appeal: if you've ever stacked six Load Audio nodes to feed a multi-speaker workflow, this replaces them with one drop target and no socket-numbering mistakes.

    CategoryInto The Latent/audio

    Inputs (2)

    NameTypeDefaultDescription
    files_jsonSTRING[]Authoritative file list as JSON. Hidden in the UI and kept in sync by the front-end — drop files onto the node instead of editing this.
    output_slotsCOMBOautoHow many output sockets to show. 'auto' follows the number of loaded files, so sockets appear and disappear as you edit the list. Pick a fixed number to keep the sockets (and your wires) in place while you swap files around — extra sockets with no file behind them output nothing, so don't wire more than you load.

    Outputs (9)

    NameTypeDescription
    countINT
    audio_1AUDIO
    audio_2AUDIO
    audio_3AUDIO
    audio_4AUDIO
    audio_5AUDIO
    audio_6AUDIO
    audio_7AUDIO
    audio_8AUDIO