Skip to content

Add lengths argument to pesq_batch#46

Open
philgzl wants to merge 1 commit intoludlows:devfrom
philgzl:add-lengths-arg
Open

Add lengths argument to pesq_batch#46
philgzl wants to merge 1 commit intoludlows:devfrom
philgzl:add-lengths-arg

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.

2 participants