Hello there
I hace changed my OS from windows to Ubantu 20.04, and now in same script getting this error while extracting features using Librosa. Please guide its urgent also.
if mel:
mel = np.mean(librosa.feature.melspectrogram(X, sr=sample_rate).T, axis=0)
result = np.hstack((result, mel))
The error is
TypeError: melspectrogram() takes 0 positional arguments but 1 positional argument (and 1 keyword-only argument) were given