Node packÜberprüftExtern
comfyui-audio-silence-trim
ComfyUI custom node for shortening long silent sections in AUDIO inputs
Betreuer@gaoqi125UnratedBewertung
Paketprofil
- Status
- Überprüft
- Verleger
- @gaoqi125
- Quelle
- GitHub
README
ComfyUI Audio Silence Trim
A small ComfyUI custom node that shortens long silent sections in AUDIO inputs while keeping a configurable portion of each detected silence.
What It Does
- Detects silence from the mean absolute waveform amplitude.
- Keeps part of each silence using
keep_ratio. - Caps retained silence with
max_keep_seconds. - Leaves short cuts untouched when the removed duration is below
min_cut_seconds. - Returns both the trimmed
AUDIOobject and a JSON report.
Install
Clone this repository into your ComfyUI custom nodes directory:
cd ComfyUI/custom_nodes
git clone https://github.com/gaoqi125/comfyui-audio-silence-trim.git
Restart ComfyUI. The node appears as Audio Silence Trim in the Audio category.
Test
python3 -m unittest discover -s tests -v
The tests use NumPy arrays and do not require a running ComfyUI instance.
Support and Security
Use GitHub Issues for reproducible bugs and Discussions for usage questions. See SECURITY.md and SUPPORT.md before sharing logs or sample media.
Defaults
keep_ratio:0.5max_keep_seconds:0.30silence_threshold_db:-38.0min_silence_seconds:0.18min_cut_seconds:0.05
Knoten in diesem Paket
1 Knoten
Knoten in diesem Paket
1 Knoten- AudioSilenceTrim
Quellen
3 Quellen
Quellen
3 QuellenBequemes VerzeichnisQuelle
raw.githubusercontent.com/Comfy-Org/ComfyUI-Manager/main/extension-node-map.jsonVerifiziert 3. Okt.
GitHubQuelleVersion cd0599134771985ad06ef59abd8209e3256f531d
github.com/gaoqi125/comfyui-audio-silence-trimVerifiziert 3. Okt.
Quellenauszüge
1 Auszug
Quellenauszüge
1 AuszugSource context: Repo gaoqi125/comfyui-audio-silence-trim
