0
$\begingroup$

Suppose we have two audio signals, and we want to be able to play them back to back, without pops, dips in volume, or other noticeable sounds at the transition point. A similar question on sound design stack exchange suggested using a crossfade, but is there any algorithm that could allow us this smooth transition without overlap of the signals (perhaps even in real-time)?

To put it in other words, lets say we have signal $A[t]$ defined for time $t<n$, and signal $B[t]$ defined for time $t\geq n$. Can we create a signal $C[t]$, where $C[t]=A[t]$ for $t<n$, $C[t]=B[t]$ for $t\geq n + a$, and $C[t]$ is reasonably smooth throughout the transition interval?

$\endgroup$
1
  • $\begingroup$ Well, that is called a "butt splice" and perhaps you can line up the two audio files so that a sample from one has almost the same value as some sample from the other and that the slopes are similar and make the switch then. But it will almost always sound better with a crossfade of at least 10 ms. $\endgroup$ Nov 28 '21 at 11:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.