Apply VST audio effect / plugin to audio file

This is my first question after we moved here for a while. So spare me.

I need to apply the effect of iZotope Vinyl VST to some audio files via CLI or C ++ (so the language does not matter), it should work on Mac or on a Unix-based system. I have researched all websites and cannot find any working solution.

I tried using MissWatson, a command line utility, it works, but my result audio files are silent ...

./MissWatson -plugin=Vinyl -input-file="/Users/Sjaq/Desktop/test.wav" -output-file="/Users/Sjaq/Downloads/MissWatson-v1.0-mac/res.wav" -parameter=1:0.6,2:0.6,11:0.4

Then I tried using the Steinberg VST SDK by creating a host application starting with vstvalidator provided by the SDK. But when I try to load VST, I get this error:

2010-12-01 16:57:40.774 vstvalidator[4654:903] Error loading /Library/Audio/Plug-Ins/VST/Vinyl.vst/Contents/MacOS/Vinyl: dlopen(/Library/Audio/Plug-Ins/VST/Vinyl.vst/Contents/MacOS/Vinyl, 262): no suitable image found. Did find: /Library/Audio/Plug-Ins/VST/Vinyl.vst/Contents/MacOS/Vinyl: no matching architecture in universal wrapper

And I don’t know what to do. I am new to C ++ and have made several applications without any problems, but this time I came to a standstill.

I read about pyvst, but it looks like it needs a DLL for VST, so that didn't work either.

+4
source share
2 answers

I am the author of MissWatson, and, as you probably noticed on the web page, I, unfortunately, had to close the source code, so I can not ask you for more diagnostic information, since I would not be able to fix MissWatson if it the mistake is there. However, I would recommend starting MissWatson with the -verbose switch and perhaps logging this output to a file if it floods your terminal. You may find something in this release that will help you diagnose the problem.

In any case, as for the error on your VST host, I get the feeling that you are compiling your application as a 64-bit executable and trying to download the 32-bit plugin. Since it is unlikely that any VST / AU plugins (as well as sequencers, for that matter) have made the jump to 64-bit, you would be better off just compiling your application as 32-bit x86 binary.

By default, the "debug" configuration in Xcode only creates your application for your computer’s own architecture in order to save time during compilation. I would advise you to disable this feature in the project build settings and always build using the architectures that you plan to send. This will prevent the appearance of weird cross-architecture error types like the ones you saw above.

Change Since then, I started a new VST host for the command line to replace MissWatson called MrsWatson . You should try using this tool.

+3
source

Perhaps you can port the source code of this open source vst node to suit your platforms?

http://www.hermannseib.com/english/vsthost.htm

Scroll down to the bottom of the page.

Hope this helps.

0
source

All Articles