Skip to content

Conversation

@lematt1991
Copy link

This fixes two problems:

  1. np.random.randint seems to no longer exist, would need to use np.random.default_rng().integers(...)
  2. np.random.default_rng().integers is inclusive of the upper bound, so if it returned overflow + 1, then we would truncate the audio to max_len - 1.

`np.random.randint` seems to no longer exist
@lematt1991
Copy link
Author

Resolves #182

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant