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

CLN: Catch audio channels > 1 in prep.frame_classification and raise a clear error #682

Open
NickleDave opened this issue Jul 8, 2023 · 0 comments
Assignees
Labels
CLN: clean / refactor code cleanup, e.g. refactoring, maintenance, typos

Comments

@NickleDave
Copy link
Collaborator

@sthaar ran into this issue where audio with more than one channel causes dask to raise an inscrutable error from deep in the bowels of multi-threading

https://forum.vocalpy.org/t/spectral-helper-error-during-prep/65

We should check if audio has more than one channel and (for now) raise a clear error message suggesting to convert to mono

@NickleDave NickleDave self-assigned this Jul 8, 2023
@NickleDave NickleDave added the CLN: clean / refactor code cleanup, e.g. refactoring, maintenance, typos label Jul 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLN: clean / refactor code cleanup, e.g. refactoring, maintenance, typos
Projects
None yet
Development

No branches or pull requests

1 participant