Nodes/comfyui-AGSoft/🔊✂️AGSoft Audio Split Plus
ComfyUI Node

🔊✂️AGSoft Audio Split Plus

🔊✂️AGSoft Audio Split Plus. Extended audio cutter: cuts a fragment by start_time / end_time and applies effects - fade in/out (remove clicks at cut points), loudness normalize (EBU R128), reverse and loop. Keeps all regular features: fast/precise modes, format choice (source/mp3/wav/flac/ogg/m4a), bitrate, AUDIO output for chaining. If effects are added, re-encoding is unavoidable; with format=source the codec is picked by the source extension to keep the same format. Loop uses a two-pass approach (cut to a lossless temp, then loop and encode). IMPORTANT about the source: stream copy is only possible when the file is connected directly via audio_path and no effects are used. If audio comes through the AUDIO socket (from another node), it is already decoded to PCM, so the 'source' format becomes WAV, not the original MP3. To get MP3 etc. in that case, choose it explicitly or connect the file via audio_path. --- 🔊✂️AGSoft Audio Split Plus. Расширенная резка аудио: вырезает фрагмент по start_time / end_time и применяет эффекты - fade in/out (убирают щелчки на стыках), loudness normalize (EBU R128), reverse и loop. Сохранены все функции обычной версии: режимы fast/precise, выбор формата (source/mp3/wav/flac/ogg/m4a), битрейт, выход AUDIO для цепочек. Если добавлены эффекты, перекодирование неизбежно; при format=source кодек выбирается по расширению источника, чтобы сохранить тот же формат. Loop использует двухпроходный подход (резка в lossless-временный файл, затем loop и кодирование). ВАЖНО про источник: stream copy возможен только когда файл подключён напрямую через audio_path и эффекты не используются. Если звук приходит через сокет AUDIO (из другой ноды), он уже декодирован в PCM, поэтому форматом 'source' будет WAV, а не исходный MP3. Чтобы получить MP3 и т.д. в этом случае, выберите его явно либо подключите файл через audio_path.

By Art-xmaster·Created 12 months ago·Updated a day ago· 20
🔊✂️AGSoft Audio Split Plus
  • audio
  • audio_path
  • audio
  • duration_seconds
  • duration_timecode
  • file_size_mb
  • sample_rate
  • channels
output_nameaudio_split_plus.mp3
output_path
audio_path
start_time0.0
end_time0.0
cut_modefast
formatsource
bitrate192k
fade_in0.00
fade_out0.00
reverseoff
loudnormoff
loop1
CategoryAGSoft/Audio

Inputs (14)

NameTypeDefaultDescription
output_nameSTRINGaudio_split_plus.mp3Output filename. The extension is set by the effective output format. --- Имя итогового файла. Расширение задаётся итоговым форматом.
output_pathSTRINGOutput directory. If empty, ComfyUI/output is used. --- Папка сохранения. Если пусто, используется ComfyUI/output.
audio_pathSTRINGPath to the source audio file. Used only if audio input is not connected. TIP: for a true lossless stream copy (fast mode, format=source, no effects), connect the file here via audio_path rather than the AUDIO socket - the socket always delivers already-decoded PCM (WAV). --- Путь к исходному аудиофайлу. Используется, только если вход audio не подключен. СОВЕТ: для настоящего stream copy без потерь (режим fast, format=source, без эффектов) подключайте файл сюда через audio_path, а не через сокет AUDIO - сокет всегда передаёт уже декодированный PCM (WAV).
start_timeFLOAT0.00–86400Fragment start (seconds). 0 = from the beginning. --- Начало фрагмента (в секундах). 0 = с начала.
end_timeFLOAT0.00–86400Fragment end (seconds). 0 = to the end of the audio. --- Конец фрагмента (в секундах). 0 = до конца аудио.
cut_modeCOMBOfastfast = stream copy (no re-encode, quick) when no effects and format=source. precise = re-encode (sample-accurate cut). Effects always force re-encode. --- fast = stream copy (без перекодировки, быстро), если нет эффектов и format=source. precise = перекодирование (точность до сэмпла). Эффекты всегда требуют перекодирования.
formatCOMBOsourceOutput format. source = keep the source format. mp3/wav/flac/ogg/m4a = convert. If effects are used, source format is re-encoded with the matching codec. NOTE: if the source is connected via the AUDIO socket (not audio_path), the audio is already decoded to PCM, so the 'source' format is WAV. To get MP3 etc., choose it explicitly or connect the file via audio_path for a true stream copy. --- Формат выхода. source = сохранить формат источника. mp3/wav/flac/ogg/m4a = конвертировать. При использовании эффектов формат источника перекодируется соответствующим кодеком. ВАЖНО: если источник подключён через сокет AUDIO (а не audio_path), аудио уже декодировано в PCM, поэтому форматом 'source' будет WAV. Чтобы получить MP3 и т.д., выберите его явно либо подключите файл через audio_path для настоящего stream copy.
bitrateCOMBO192kBitrate for lossy formats (mp3/ogg/m4a). Ignored for wav/flac. --- Битрейт для lossy-форматов (mp3/ogg/m4a). Игнорируется для wav/flac.
fade_inFLOAT0.000–60Fade-in duration (seconds) at the fragment start. Removes clicks. 0 = off. --- Длительность нарастания (в секундах) в начале фрагмента. Убирает щелчки. 0 = выкл.
fade_outFLOAT0.000–60Fade-out duration (seconds) at the fragment end. Removes clicks. 0 = off. --- Длительность затухания (в секундах) в конце фрагмента. Убирает щелчки. 0 = выкл.
reverseCOMBOoffReverse the fragment (play backwards). --- Реверс фрагмента (воспроизведение задом наперёд).
loudnormCOMBOoffNormalize loudness to EBU R128 standard (I=-16 LUFS). --- Нормализация громкости по стандарту EBU R128 (I=-16 LUFS).
loopINT11–100Repeat the fragment N times. 1 = no loop. Uses a two-pass approach. --- Повторить фрагмент N раз. 1 = без loop. Использует двухпроходный подход.
audiooptAUDIOOptional source audio from ComfyUI. Has priority over audio_path. NOTE: audio via this socket is already decoded to PCM (WAV), so format=source will produce WAV. For a true lossless stream copy use audio_path instead. --- Опциональный исходный звук из ComfyUI. Имеет приоритет над audio_path. ВАЖНО: аудио через этот сокет уже декодировано в PCM (WAV), поэтому format=source даст WAV. Для настоящего stream copy без потерь используйте audio_path.

Outputs (7)

NameTypeDescription
audio_pathSTRING
audioAUDIO
duration_secondsFLOAT
duration_timecodeSTRING
file_size_mbFLOAT
sample_rateINT
channelsINT