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

ERBSpect fails on small inputs #5

Open
mondaugen opened this issue Jul 20, 2016 · 0 comments
Open

ERBSpect fails on small inputs #5

mondaugen opened this issue Jul 20, 2016 · 0 comments

Comments

@mondaugen
Copy link
Owner

A signal vector of length 480 samples causes ERBSpect to fail when running doc/get_descriptors_global_example.m on a file of length 480 samples.

mondaugen pushed a commit that referenced this issue Jul 20, 2016
If you look in Gget_desc_onefile.m, checks are now made to make
sure FCalcDescr was happy with its input.

FCalcDescrCheckFields has been altered in the class cSound to make sure the
Signal is longer than the window size. This helps prevent failing when the
soundfiles are too short as the error is caught by Gget_desc_onefile.m.

This script and most likely the Gget_desc_onefile_do_by_chunks.m function will
still fail on small files but the problem lies in the creation of the
cERBRep objects. See Issue #5 at https://github.com/mondaugen/timbretoolbox.
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

1 participant