0
$\begingroup$

I notice that when I connect two audio clips, there is a jump at the junction.

enter image description here How do I use interpolation to connect these two pieces of audio?

Thanks for the answers, I've got an answer from my other question: How to merge audio better?

Some related information:

1.Noise is the sound of aircraft propellers 2.I want to cut the noisy audio into 0.5s audio, and then feed it into the algorithm to denoise. Then connect the denoised segments. The denoising alg is CMGAN.link is here:github.com/ruizhecao96/CMGAN

a plot of both signals I am trying to connect: enter image description here enter image description here

$\endgroup$
10
  • $\begingroup$ what do you mean by "align these two pieces of audio"? do you want to remove the click or do something else? $\endgroup$ Commented Sep 5, 2023 at 4:51
  • $\begingroup$ @robertbristow-johnson Yes,I want to remove the click. $\endgroup$ Commented Sep 5, 2023 at 5:48
  • $\begingroup$ Many DAW software, as like Coscos Reaper, has a tool called 'join' which does the job quite well... . reaper.fm $\endgroup$
    – Juha P
    Commented Sep 5, 2023 at 8:58
  • 2
    $\begingroup$ Didn’t you get an answer here? How to merge audio better? $\endgroup$
    – Jdip
    Commented Sep 5, 2023 at 10:00
  • $\begingroup$ @Jdip Yes, so I edited it into my question because I didn't want to delete my question $\endgroup$ Commented Sep 5, 2023 at 10:01

1 Answer 1

0
$\begingroup$

A straightforward(ish) approach is cross-fading: apply a fade-out at the end of the first clip and a fade-in at the beginning of the second. Overlap the two sections that fade in/out, which will gradually blend the two together.

You can experiment with linear/logarithmic fade curves, and of course with the fade duration.

$\endgroup$
7
  • $\begingroup$ I've tried the cross-fade, but it doesn't work very well. $\endgroup$ Commented Sep 5, 2023 at 5:48
  • $\begingroup$ What do you mean by “doesn’t work very well”? $\endgroup$
    – Jdip
    Commented Sep 5, 2023 at 9:29
  • $\begingroup$ The jump at the junction did not improve, and the noise increased. $\endgroup$ Commented Sep 5, 2023 at 9:35
  • $\begingroup$ Can you post a plot of both signals you are trying to connect please? What noise are you talking about? What are these audio clips? Please edit your question with more information! $\endgroup$
    – Jdip
    Commented Sep 5, 2023 at 9:43
  • $\begingroup$ 1.Noise is the sound of aircraft propellers 2.I want to cut the noisy audio into 0.5s audio, and then feed it into the algorithm to denoise. Then connect the denoised segments.The denoising alg is CMGAN.link is here:github.com/ruizhecao96/CMGAN $\endgroup$ Commented Sep 5, 2023 at 9:50

Not the answer you're looking for? Browse other questions tagged or ask your own question.