Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

min_length is not working #9

Open
maxiedaniels opened this issue Apr 1, 2023 · 1 comment
Open

min_length is not working #9

maxiedaniels opened this issue Apr 1, 2023 · 1 comment

Comments

@maxiedaniels
Copy link

maxiedaniels commented Apr 1, 2023

I've been trying to use audio-slicer on a bunch of 30 to 60 second files, and in the output, a lot of the files are not at the min_length at all, many are under a second each. My min_length is set to 5000 (default). I also tried 10000 and 15000, doesn't seem to change anything.

@yqzhishen
Copy link
Member

There are 2 possibilities:

  1. If the last segment of an audio file is shorter than min_length it will not be ignored.
  2. If some sound parts in the audio is isolated, i.e., surrounded by long silence parts, the slicer will prefer keeping it alone, without including the next sound part in this clip.

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

No branches or pull requests

2 participants