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

Compensate for plugin latency. #64

Merged
merged 8 commits into from
Jan 25, 2022
Merged

Conversation

psobot
Copy link
Member

@psobot psobot commented Jan 21, 2022

Now that we have the PitchShift plugin, users of Pedalboard need to manually compensate for the latency added when shifting pitch up or down. This PR fixes that by making Pedalboard latency-aware - automatically compensating when a given plugin returns too few samples in a block.

@psobot psobot added bug Something isn't working enhancement New feature or request labels Jan 21, 2022
@psobot psobot requested review from drubinstein and Johnxjp January 21, 2022 23:53
@psobot psobot force-pushed the psobot/handle-plugin-latency branch from d43620c to f09c014 Compare January 24, 2022 13:54
Copy link
Collaborator

@Johnxjp Johnxjp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good but had a few questions.

pedalboard/ExternalPlugin.h Show resolved Hide resolved
pedalboard/ExternalPlugin.h Outdated Show resolved Hide resolved
pedalboard/ExternalPlugin.h Show resolved Hide resolved
pedalboard/plugins/PitchShift.h Show resolved Hide resolved
pedalboard/process.h Show resolved Hide resolved
pedalboard/process.h Show resolved Hide resolved
pedalboard/process.h Show resolved Hide resolved
pedalboard/process.h Show resolved Hide resolved
@psobot psobot merged commit 225e9b5 into master Jan 25, 2022
@psobot psobot deleted the psobot/handle-plugin-latency branch January 25, 2022 00:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants