audioflux.convert_mono

audioflux.convert_mono(x)

Convert audio data from multi-channel to single-channel

Parameters
x: np.ndarray [shape=(channel, frames) or (samples, channel, frames)]

Audio file data of multi-channel

Returns
out: np.ndarray [shape(=(frames,)]

Audio file data of single-channel