"Smarter Crossfades" (Volume Threshold-Based Overlaps)

Currently, Spotify has two ways of blending two tracks:  The new Automix feature, and the original crossfade.  The former automatically decides the point to transition from one track to the next, applies effects and gives the user options to tailor it even further if they so wish.  The latter is a standard feature in many music players, simply fading out the end of one track and the start of the next based on a duration setting.

There are some weaknesses to both, if the intended effect is simply listening to one's playlist with fewer seams and seconds of silence.  The former can be a bit aggressive by default where it decides to switch tracks, or how late into the next it should begin.  All of this is customizable, but has to be tweaked on a per-transition basis.  The latter has no awareness at all with what's being fed through it, which means a duration setting that sounds right for one pair of tracks could be jarring or less pleasant with another.

My idea is inspired by a different solution that others could find with Plexamp's "Sweet Fades" or Foobar's Foo_DSP_Mix component.  What they do is check the end of the song playing, note the last moment where it crosses a volume threshold, say -35db, and then checks the start of the first track for the first moment where the volume rises to the same point.  The song switches from Track A to B at the point where, as track A's tail plays out and Track B begins, those volume transition points meet.  Because at least one of both songs playing at that point are at a safely quiet level, even if the next song starts loud there's almost no chance for clipping.

This is a much more dynamic solution than the simple time-based crossfade, as it's always triggered based on the actual musical information from each pair of songs that plays.  The end result is the ideal effects of crossfade and skipping silence, keeping the music going as seamlessly as possible.  You still get the neat effect of the song overlap you would from crossfade without sacrificing the dynamics of the next song because you don't have to fade the volume for either.  The effect can make songs feel like they were recorded to play together, it's really neat!

Child Item
Status: Live Idea
Child Item
Child Item
Child Item

Comments

Exactly, like any radio station would. Not crossfading but *overlapping* songs. Choosing the right timing depending predominantly on how the first song ends (with a fade-out or a sudden end), and on how the other starts.

 

Like what the SqrSoft Crossfading plugin did (with a lot of tweaking options) for WinAmp close to 30 years ago. But which sadly still hasn't been introduced in the streaming-area. You can't even do it manually in Spotify, I'm using Djay Pro for this purpose alone.

Yeah!  I didn't get to mess around with Sqrsoft as much, but from what I've read it's basically the same principle.

 

Foobar actually has a few different components that create this well-timed overlap effect.  I'm even working on my own as a personal project.  And working on that made me realize the threshold issue could be even simpler:

 

Take the average volume of the song you're listening to and the song that's coming up.  Instead of an absolute threshold like I suggested above, make it relative to that average.  A song fading out to -6db from its average volume is getting pretty quiet, and that's a really safe point for the next song to come in--where its start is -6db from its own average.  Keeps the effect predictable but still obvious.  -3db works but is pretty aggressive, and lower is safer but eventually it's basically just skipping silence.  We already have volume normalizing in Spotify, so all it'd take is a bit of extra volume analysis around the starts and ends of tracks to get that going.

 

 

When listening to entire songs, crossfading is like wallpapering by cutting up paintings to fit the wall. I'm afraid though that few people care.

Child Item
Child Item