Skip to content

Exception raised for channels > 128 #40

Description

@fakufaku

It seems the underlying libsamplerate is limited to 128 channels in the input.

# This succeeds.
data_succeeds = np.random.randn(44100, 128)
samplerate.resample(data_succeeds, 16_000 / 44_100)

# This fails with exception:
# samplerate.exceptions.ResamplingError: Channel count must be >= 1.
data_fails = np.random.randn(44100, 129)
samplerate.resample(data_fails, 16_000 / 44_100)

Activity

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions