Skip to content

Proposed fix for a "preprocess()" bug #38

Description

@sharp-trickster

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions