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

Can't change ChowCentaur params #42

Closed
Forevian opened this issue Nov 4, 2021 · 2 comments
Closed

Can't change ChowCentaur params #42

Forevian opened this issue Nov 4, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@Forevian
Copy link

Forevian commented Nov 4, 2021

from pedalboard import load_plugin, VST3Plugin
cent = load_plugin('/usr/lib/vst3/ChowCentaur.vst3')
cent([0.0, 0.1], sample_rate=44100)
cent.gain = 0.0
print(cent.gain) # -> 0.0
cent([0.0, 0.1], sample_rate=44100)
print(cent.gain) # -> 0.5

The audio is the same, always with the default parameters which it resets upon processing.
Am I doing something wrong here, or is this a bug, or just the plugin itself not being compatible?

@psobot
Copy link
Member

psobot commented Nov 8, 2021

Thanks @Forevian! Which version of Pedalboard are you running? (You can check with pedalboard.__version__.) Using Pedalboard 0.3.8 and ChowCentaur v1.4.0, I'm unable to reproduce this bug on macOS or Linux; changing the gain does change the output, even with the example you've provided:

>>> plugin = pedalboard.load_plugin("/usr/lib/vst3/ChowCentaur.vst3")
>>> plugin([0.0, 0.1], sample_rate=44100)
array([ 0.        , -0.00087224], dtype=float32)
>>> plugin.gain = 0.0
>>> plugin([0.0, 0.1], sample_rate=44100)
array([ 0.        , -0.00260613], dtype=float32)

@psobot psobot added the bug Something isn't working label Nov 8, 2021
@Forevian
Copy link
Author

Forevian commented Nov 8, 2021

Thank you, and sorry for the false alarm, it was indeed an old version (0.3.6), and updating solved it. I just didn't realize that I was using a VM with an older installation for certain experiments.

@Forevian Forevian closed this as completed Nov 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants