Audio Fade β‘π ‘π π £π
Five curve shapes so your fade-in doesn't sound like a hard cut with extra steps
- audio
- AUDIO
A fade-in/fade-out node, with more curve options than the linear ramp most tools default to. The shape matters more than it seems like it should: human hearing doesn't perceive loudness linearly, so a "linear" amplitude fade actually sounds like it jumps in loudness quickly at the start and lingers quietly at the end - a curved shape usually feels smoother even though it's doing more math, not less.
Inputs and outputs
audio- the clip to fade.fade_in_durationandfade_out_duration- both in seconds, 0.0-10.0, default 0.shape- the fade curve:linear,exponential,logarithmic,quarter_sine, orhalf_sine.
Output is a single AUDIO.
Picking a shape
linear is the literal straight-line ramp - simplest, but often the one that sounds least natural because of how loudness perception works. half_sine and quarter_sine follow a smooth S-curve or quarter-circle shape and tend to sound the most natural for general fades. logarithmic and exponential bias the curve toward one end - useful if you specifically want a fade that lingers near silence longer, or one that gets loud fast and then eases in. If you're not sure, half_sine is a safe general-purpose default; only reach for linear if you want the fade to be technically uniform for some downstream analysis reason rather than for how it sounds.
Where it fits
Pair this with AudioTrim - cutting a clip cold at an arbitrary point almost always leaves an audible click or pop at the cut, and a short fade (even 0.05-0.1s) at the trimmed edge cleans that up. It's also the obvious choice for a clean intro/outro on a track before it feeds into anything downstream.
Installing it
ComfyUI Manager: search RyanOnTheInside, install, restart. Manual:
cd ComfyUI/custom_nodes
git clone https://github.com/ryanontheinside/ComfyUI_RyanOnTheInside
cd ComfyUI_RyanOnTheInside
pip install -r requirements.txt
No model downloads needed.
Where people get burned
There's no built-in guardrail if your fade duration is longer than the clip itself - check the actual audio_duration (from AudioInfo, if you're unsure) before setting a fade longer than a few seconds on a short clip, or you'll just fade the whole thing rather than getting the head/tail effect you wanted. And don't default to linear out of habit if you're chasing a natural-sounding result - it's the one shape most likely to sound abrupt at the start of the ramp, which is a common trap for anyone used to "linear = safe default" from other contexts.
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| audio | AUDIO | Input audio to be processed | |
| fade_in_duration | FLOAT | 0.00β10 | Duration of fade in (seconds) |
| fade_out_duration | FLOAT | 0.00β10 | Duration of fade out (seconds) |
| shape | COMBO | Shape of the fade curve ('linear', 'exponential', 'logarithmic', 'quarter_sine', 'half_sine') |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| AUDIO | AUDIO | β |