ComfyUI Node
Audio Loader Crawl Batch (CRT)
Loads a window of audio files as one padded batch. file_names and file_paths are per-file lists that pair item by item with batched transcripts in SaveTextWithPath.
Audio Loader Crawl Batch (CRT)
- audio
- file_names
- file_paths
- batch_count
- total_files
◄folder_path►
◄batch_count8►
◄seed0►
◄file_extensionall►
◄crawl_subfoldersfalse►
◄remove_extensionfalse►
◄sample_rate44100►
◄max_length_seconds0.0►
◄start_offset_seconds0.0►
◄gain_db0.0►
◄print_indextrue►
CategoryCRT/Load
Inputs (11)
| Name | Type | Default | Description |
|---|---|---|---|
| folder_path | STRING | Path to the folder containing audio files | |
| batch_count | INT | 81–64 | Number of audio files to load. Window starts at seed × batch_count and wraps around the folder. Batches are zero-padded to the longest file. |
| seed | INT | 00–18446744073709550000 | Selects the starting file: index = (seed × batch_count) % total_files. |
| file_extension | COMBO | all | File extension to filter for. 'all' includes wav, mp3, flac and ogg. |
| crawl_subfolders | BOOLEAN | false | — |
| remove_extension | BOOLEAN | false | — |
| sample_rate | INT | 441008000–192000 | All files are resampled to this rate so they can be stacked into one batch. |
| max_length_seconds | FLOAT | 0.0 | Maximum length of each audio in seconds (0 for no limit) |
| start_offset_seconds | FLOAT | 0.0 | Start loading the audio from this offset in seconds |
| gain_db | FLOAT | 0.0-120–120 | Gain in decibels (dB) |
| print_index | BOOLEAN | true | Print each selected file index and name to the console. |
Outputs (5)
| Name | Type | Description |
|---|---|---|
| audio | AUDIO | — |
| file_names | STRING | — |
| file_paths | STRING | — |
| batch_count | INT | — |
| total_files | INT | — |