Open sharp-trickster opened 1 year ago
x, sr = li.load(f, sampling_rate) throws "TypeError: load() takes 1 positional argument but 2 were given"
x, sr = li.load(f, sampling_rate)
I fixed mine by explicitly declaring the variable, as the example in the librosa docs: x, sr = li.load(f, sr=sampling_rate)
x, sr = li.load(f, sr=sampling_rate)
its a simple fix, so, you might consider updating it. Thanks.
x, sr = li.load(f, sampling_rate)
throws "TypeError: load() takes 1 positional argument but 2 were given"I fixed mine by explicitly declaring the variable, as the example in the librosa docs:
x, sr = li.load(f, sr=sampling_rate)
its a simple fix, so, you might consider updating it. Thanks.