maad.util.crossfade_list

maad.util.crossfade_list(s_list, fs, fade_len=1)[source]

Apply a cross-fade to a list of audio signals. Audio signals must be numpy arrays with the same sampling rate. The function applies a squared function to apply the transition between signals.

Parameters:
s_listlist

List with audio signlas (1D numpy arrays) to be concatenated

fsint

sampling frequency

fade_len: float

length of fade between audio in seconds

Returns:
s_outndarray

See also

crossfade