spotify / pedalboard

🎛 🔊 A Python library for audio.
https://spotify.github.io/pedalboard
GNU General Public License v3.0
4.96k stars 249 forks source link

Is it possible to run pedalboard in a Docker container with MacOS VST3 plugins? #310

Closed maxiedaniels closed 2 months ago

maxiedaniels commented 2 months ago

If i run pedalboard on my Mac, it works fine. I can load up any of my VST3 plugins, no issue. If i try and run it within a docker container (ubuntu:22.04 for example), I get this:

VST3Plugin: Unable to load plugin plugins/ValhallaVintageVerb.vst3: unsupported plugin format or load failure. Plugin files or shared library dependencies may be missing. (Try running ldd "/app/plugins/ValhallaVintageVerb.vst3/Contents/x86_64-linux/ValhallaVintageVerb.so" to see which dependencies might be missing.).

Thing is, the plugin's Contents folder has MacOS inside, not x84_64-linux. I'm unclear on my options... is this a limitation of plugins being developed for Mac?

psobot commented 2 months ago

Hi @maxiedaniels!

Within your Docker container, Ubuntu is running (rather than macOS) so you'll need to use VST3 plugins that are built for Linux rather than those that are built for macOS or Windows.

(Thanks for the bug report about the error message, though; we shouldn't be prompting users to run ldd on a file that doesn't exist!)