def stereo2mono(x):
	'''
	This function converts the input signal (stored in a numpy array) to MONO (if it is STEREO)
	'''
	if x.ndim==1:
		return x
	else:
		if x.ndim==2:
			return ( (x[:,1] / 2) + (x[:,0] * 2) )
		else:
			return -1
dataset/ETHPy150Open tyiannak/pyAudioAnalysis/audioBasicIO.py/stereo2mono/operator `/` -> `*`