ComfyUI Node
MD: Audio Simple Editor ✂️
A ComfyUI node in MD_Nodes/Audio with 8 inputs and 2 outputs.
MD: Audio Simple Editor ✂️
- audio
- edited_audio
- waveform_plot
◄trim_start_sec0.00►
◄trim_end_sec0.00►
◄fade_in_sec0.00►
◄fade_out_sec0.00►
◄fade_curveLinear►
◄debug_mode0 - Silent►
◄enable_profilingfalse►
CategoryMD_Nodes/Audio
Inputs (8)
| Name | Type | Default | Description |
|---|---|---|---|
| audio | AUDIO | AUDIO INPUT • Purpose: The ComfyUI audio dictionary to be edited. • Range: Standard [batch, channels, samples] tensor. • Trade-offs: Memory usage scales with audio length. • Recommended: Provide raw, uncompressed audio. ⭐ Standard format from LoadAudio or AceT5 nodes. | |
| trim_start_sec | FLOAT | 0.000–3600 | TRIM START (SECONDS) • Purpose: Removes audio from the beginning of the track. • Range: 0.0 to length of audio. • Trade-offs: High precision available (0.01s steps). • Recommended: 0.0 to keep original start. ⭐ Useful for removing generation artifacts at start. |
| trim_end_sec | FLOAT | 0.000–3600 | TRIM END (SECONDS) • Purpose: Defines the absolute end time of the track. • Range: 0.0 = Keep original length. > 0.0 = Cut point. • Trade-offs: Anything past this timestamp is discarded. • Recommended: 0.0 to keep original end. ⭐ Note: Calculated from ORIGINAL start, not trimmed start. |
| fade_in_sec | FLOAT | 0.000–60 | FADE IN DURATION • Purpose: Ramps volume up from complete silence. • Range: 0.0 (Off) to 60 seconds. • Trade-offs: Applied AFTER the audio is trimmed. • Recommended: 0.05s to prevent click/pop artifacts. ⭐ Essential for seamless loops. |
| fade_out_sec | FLOAT | 0.000–60 | FADE OUT DURATION • Purpose: Ramps volume down to complete silence. • Range: 0.0 (Off) to 60 seconds. • Trade-offs: Applied at the very end of the trimmed track. • Recommended: 1.0s to 3.0s for natural song endings. ⭐ Smooths out abrupt generation cuts. |
| fade_curve | COMBO | Linear | FADE CURVE SHAPE • Purpose: Determines the mathematical slope of the fade. • Options: - Linear: Straight mathematical ramp (good for short crossfades). - Exponential: Follows human hearing curve (sounds more natural). • Recommended: Exponential for musical fade-outs. ⭐ Most users: Linear for < 0.1s, Exponential for > 1.0s. |
| debug_mode | COMBO | 0 - Silent | LOGGING VERBOSITY • Purpose: Controls console output detail level. • Options: - 0 - Silent: No output (production) - 1 - Info: Stats and reports - 2 - Verbose: Step-by-step logging • Recommended: Silent for general use. ⭐ Use Info mode when optimizing workflow timings. |
| enable_profiling | BOOLEAN | false | PERFORMANCE PROFILING • Purpose: Enable detailed operation timing. • Options: True/False. • Recommended: False unless debugging. ⭐ Automatically enabled when debug_mode >= 1. |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| edited_audio | AUDIO | — |
| waveform_plot | IMAGE | — |