Consolidate audio nodes into SaveAudioAdvanced node (CORE-202) (#13871)

This commit is contained in:
Alexis Rolland
2026-06-04 19:29:41 -07:00
committed by GitHub
parent 514bb8ba21
commit ab0d8a9203
2 changed files with 56 additions and 4 deletions

View File

@@ -285,7 +285,7 @@ class AudioSaveHelper:
results = []
for batch_number, waveform in enumerate(audio["waveform"].cpu()):
filename_with_batch_num = filename.replace("%batch_num%", str(batch_number))
file = f"{filename_with_batch_num}_{counter:05}_.{format}"
file = f"{filename_with_batch_num}_{counter:05}.{format}"
output_path = os.path.join(full_output_folder, file)
# Use original sample rate initially