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

Add lengths argument to pesq_batch #46

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

philgzl
Copy link

@philgzl philgzl commented Apr 13, 2023

When using pesq_batch the user might be using batched audio waveforms that originally had different length and were padded to match their length before creating the batch. The padding however changes the results.

This PR solves this by adding an extra optional argument lengths to pesq_batch. lengths should contain the original lengths of the signals before padding and batching.

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