Skip to main content

Documentation Index

Fetch the complete documentation index at: https://rockboxzig.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Crossfade rolls the outgoing track into the incoming one over a configurable window. Off by default; enable it via crossfade in settings.toml.
crossfade           = 5    # see Mode table below
fade_on_stop        = false
fade_in_delay       = 2
fade_in_duration    = 7
fade_out_delay      = 4
fade_out_duration   = 0
fade_out_mixmode    = 2

Mode

ValueModeWhen the crossfade fires
0OffNever
1Auto track changeAt end-of-track only
2Manual skipWhen you press next/previous
3ShuffleWhile shuffle is on
4Shuffle + manual skipBoth
5AlwaysEvery transition

Timings

SettingStorageRangeDefaultDescription
Fade-in delaycrossfade_fade_in_delay0..7 s0 sSilence before the fade-in begins
Fade-out delaycrossfade_fade_out_delay0..7 s0 sSilence before the fade-out begins
Fade-in durationcrossfade_fade_in_duration0..15 s2 sLength of the fade-in ramp
Fade-out durationcrossfade_fade_out_duration0..15 s2 sLength of the fade-out ramp
Fade-out modecrossfade_fade_out_mixmodecrossfade / mixcrossfadeWhether the outgoing track fades or mixes flat

Fade-on-stop

fade_on_stop = true
When set, pressing stop ramps audio out instead of cutting it.

Notes

  • Crossfade is part of the rbcodec DSP pipeline and is applied before the sink, so it works equally well with AirPlay, Snapcast and the rest.
  • Gapless playback overrides crossfade for tracks that share an album identity — gapless seams are more important than smooth fades.