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

All vst3 compressor plug-ins do not work and there is no sound, but other plug-ins such as eq and reverb are fine. #390

Open
MMMMichaelzhang opened this issue Jan 1, 2025 · 3 comments

Comments

@MMMMichaelzhang
Copy link

I have tried almost all compressors and they can be loaded, but there is no sound. I don’t know why. Other plug-ins can be loaded and work well. The compressor that comes with the pedalboard also has the same problem. I use pyaudio plus pedalboard.
Compressor: Fabfilter Pro-C2.vst3, Nuro Audio Xvox Comp.vst3, Overloud Gem Comp ,Softube Tube-Tech CL 1B.vst3,and so on.
Pedalboard version: 0.9.16 and 0.9.14

@selintunr
Copy link

Hi @MMMMichaelzhang ,

Sharing some possible issues that came to mind:

VST Path Definition: Ensure that the defined VST path matches the location where your VSTs are installed. Incorrect definitions may prevent the plugins from loading properly. For mac : ~/Library/Audio/Plug-Ins/VST3

Metadata Check: Verify that the names in the VST metadata match the names used by the pedalboard for identification. A mismatch could lead to unexpected behavior.

License Verification: Check that the VSTs are properly licensed and activated. Some plugins may load without a valid license but won’t produce any sound.

@MMMMichaelzhang
Copy link
Author

I have these plug-ins working fine in studio one, protools, cubase, including compression. These plug-ins are all genuine. But Fabfilter Pro works fine in pedalboard, except for compression plug-in, c2, the others are the same, all are fine, only compression plug-in does not work. @selintunr

@psobot
Copy link
Member

psobot commented Jan 13, 2025

Hi @MMMMichaelzhang!

The compressor that comes with the pedalboard also has the same problem.

This would imply that the issue may be with how you're calling the plugin, rather than that all compressor plugins are somehow broken, as the following test works just fine:

import pedalboard

import numpy as np
import matplotlib.pyplot as plt

sr = 44100
frequency = 440
sine = np.sin(2 * np.pi * frequency * np.linspace(0, 1, sr))

compressor = pedalboard.Compressor(threshold_db=-12, ratio=2, attack_ms=10, release_ms=100)
compressed_sine = compressor(sine, sr)
assert np.amax(np.abs(compressed_sine)) > 0.0

plt.plot(sine[:500], label='sine')
plt.plot(compressed_sine[:500], label='compressed sine')
plt.legend()
plt.savefig("compressor_test.png", dpi=300)

compressor_test

How are you passing data into the various compressor plugins that you're trying?

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

3 participants