spotify / pedalboard

🎛 🔊 A Python library for audio.

Home Page:https://spotify.github.io/pedalboard

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot load .fxp file for Serum

turian opened this issue · comments

I am trying to load a factory FXP preset for Serum:

synth_plugin = load_plugin("/Library/Audio/Plug-Ins/Components/Serum.component")
synth_plugin.load_preset("/Library/Audio/Presets/Xfer Records/Serum Presets/Presets/Plucked/PL Crusty Pluck [LCV].fxp")

The problem is that synth_plugin is AudioUnitPlugin, not VST3Plugin, and AudioUnitPlugin doesn't have load_preset method.

If instead I try:

synth_plugin = load_plugin("/Library/Audio/Plug-Ins/VST/Serum.vst")

I get this error:

  File "/opt/homebrew/anaconda3/envs/faceswap/lib/python3.10/site-packages/pedalboard/_pedalboard.py", line 781, in load_plugin
    raise ImportError(
ImportError: Failed to load plugin as VST3Plugin or AudioUnitPlugin. Errors were:
	VST3Plugin: Unable to load plugin /Library/Audio/Plug-Ins/VST/Serum.vst: unsupported plugin format or load failure.
	AudioUnitPlugin: Unable to load plugin /Library/Audio/Plug-Ins/VST/Serum.vst: unsupported plugin format or load failure. macOS requires plugin files to be moved to /Library/Audio/Plug-Ins/Components/ or ~/Library/Audio/Plug-Ins/Components/ before loading.

How can I load a particular Serum preset in pedalboard, to get a particular instrument sound?

The following issues may be relevant here:

Also, if I ever get back to/finish my research on it..

@turian did you ever find a way to do this? ive been trying for the past few days with all of the methods and workarounds from above but no luck with serum sepcifically