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

ITL Multi Audio Loader Advanced

Multi Audio Loader, with a filename socket per clip

By Into-The-Latent·Created 29 days ago·Updated 15 days ago· 2
ITL Multi Audio Loader Advanced
    • count
    • audio_1
    • filename_1
    • audio_2
    • filename_2
    • audio_3
    • filename_3
    • audio_4
    • filename_4
    • audio_5
    • filename_5
    • audio_6
    • filename_6
    • audio_7
    • filename_7
    • audio_8
    • filename_8
    files_json[]
    output_slotsauto

    The Advanced version of ITL's Multi Audio Loader is the basic one - drop up to 8 audio files on a single node, each on its own audio_N output socket - plus one addition: a filename_N output for every file.

    That one addition is easy to dismiss and surprisingly easy to justify. Load several clips onto one node and you lose track of which is which the moment the graph gets busy. With the filenames exposed as strings, you can wire filename_1 into a label, a filename-save node, or a text-display node so the workflow tells you what's playing where. It also makes downstream saves sane: name your output track after its input source instead of audio_00001.wav.

    Everything it inherits

    Same mechanics as the basic node, worth a quick recap since they don't change:

    • audio_N keeps each file's native sample rate - no resampling, ever. If a downstream node needs a specific rate, do that conversion explicitly.
    • output_slots - auto follows the file list (sockets appear/vanish as you edit); a pinned 1–8 keeps sockets and wires in place while you swap files. Extra pinned sockets with no file behind them output None.
    • The row on/off toggle keeps the socket position but outputs None for audio_N and filename_N. Safe for unplugged OPTIONAL inputs downstream; fatal for REQUIRED ones. Toggle is "skip this run," not "remove."
    • count - enabled files actually emitted, not row count.

    Reordering files shifts what each socket carries, and the node warns in its status line whenever a change touches a wired socket. When you see that warning, check your connections.

    Outputs & install

    Outputs: count (INT), then per file audio_N (AUDIO) followed by filename_N (STRING) - 17 sockets at full capacity, so if you're only loading two files, auto output slots keep the node compact.

    Install via 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 beyond what ComfyUI already ships.

    When do you pick Advanced over basic? If you're building anything that saves, labels, or logs audio - or you want to audit which clip fed which socket - Advanced earns its keep. If you just need several clips on separate sockets with nothing downstream that cares about names, the basic node is all you need. Both are the same pack, so it's a five-second swap if you change your mind.

    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 (17)

    NameTypeDescription
    countINT
    audio_1AUDIO
    filename_1STRING
    audio_2AUDIO
    filename_2STRING
    audio_3AUDIO
    filename_3STRING
    audio_4AUDIO
    filename_4STRING
    audio_5AUDIO
    filename_5STRING
    audio_6AUDIO
    filename_6STRING
    audio_7AUDIO
    filename_7STRING
    audio_8AUDIO
    filename_8STRING