MATLAB Answers

Can't load generated VST in GarageBand

15 views (last 30 days)
We used
generateAudioPlugin audiopluginexample.FastConvolver
,which generated a file with no extension or a default Mac "exec" extension. We tried putting that to the Library->Audio->Plug-Ins->VST folder, restarted Mac few times and still it didn't appear in GarageBand.
What are instructions to sucessfully open generated VST in GarageBand on Mac, please?

  0 Comments

Sign in to comment.

Accepted Answer

Adrian Klimczak
Adrian Klimczak on 6 Mar 2020
Edited: Adrian Klimczak on 6 Mar 2020
I just discovered that GarageBand only supports AU, it does not support VST. We managed to load VST into Reaper.

  0 Comments

Sign in to comment.

More Answers (1)

Charlie DeVane
Charlie DeVane on 9 Mar 2020
Hi Adrian,
In the latest release (R2019b) you can generate AU plugins using generateAudioPlugin -au.
hope this helps,
Charlie

  3 Comments

Adrian Klimczak
Adrian Klimczak on 6 Apr 2020
Thank you, I just tried it and I got this build error message (sorry for being it too long, but to make it easier for you to trace the problem I am posting the full message):
Error using generateAudioPlugin
Xcode build failed:
note: Using new build system
note: Planning build
note: Constructing build description
MkDir /var/folders/x5/5v22gnrd7p3f2694yhc6nny80000gn/T/tp74bf8acd_eabb_40af_870c_9f219115f028/Builds/MacOSX/build/Release/AudioPluginNeural3.component/Contents (in target
'AudioPluginNeural3 - AU' from project 'AudioPluginNeural3')
cd /var/folders/x5/5v22gnrd7p3f2694yhc6nny80000gn/T/tp74bf8acd_eabb_40af_870c_9f219115f028/Builds/MacOSX
/bin/mkdir -p /var/folders/x5/5v22gnrd7p3f2694yhc6nny80000gn/T/tp74bf8acd_eabb_40af_870c_9f219115f028/Builds/MacOSX/build/Release/AudioPluginNeural3.component/Contents
MkDir /var/folders/x5/5v22gnrd7p3f2694yhc6nny80000gn/T/tp74bf8acd_eabb_40af_870c_9f219115f028/Builds/MacOSX/build/Release/AudioPluginNeural3.component/Contents/MacOS (in
target 'AudioPluginNeural3 - AU' from project 'AudioPluginNeural3')
cd /var/folders/x5/5v22gnrd7p3f2694yhc6nny80000gn/T/tp74bf8acd_eabb_40af_870c_9f219115f028/Builds/MacOSX
/bin/mkdir -p
/var/folders/x5/5v22gnrd7p3f2694yhc6nny80000gn/T/tp74bf8acd_eabb_40af_870c_9f219115f028/Builds/MacOSX/build/Release/AudioPluginNeural3.component/Contents/MacOS
MkDir /var/folders/x5/5v22gnrd7p3f2694yhc6nny80000gn/T/tp74bf8acd_eabb_40af_870c_9f219115f028/Builds/MacOSX/build/Release/AudioPluginNeural3.component/Contents/Resources
(in target 'AudioPluginNeural3 - AU' from project 'AudioPluginNeural3')
cd /var/folders/x5/5v22gnrd7p3f2694yhc6nny80000gn/T/tp74bf8acd_eabb_40af_870c_9f219115f028/Builds/MacOSX
/bin/mkdir -p
/var/folders/x5/5v22gnrd7p3f2694yhc6nny80000gn/T/tp74bf8acd_eabb_40af_870c_9f219115f028/Builds/MacOSX/build/Release/AudioPluginNeural3.component/Contents/Resources
MkDir /var/folders/x5/5v22gnrd7p3f2694yhc6nny80000gn/T/tp74bf8acd_eabb_40af_870c_9f219115f028/Builds/MacOSX/build/Release/AudioPluginNeural3.component (in target
'AudioPluginNeural3 - AU' from project 'AudioPluginNeural3')
cd /var/folders/x5/5v22gnrd7p3f2694yhc6nny80000gn/T/tp74bf8acd_eabb_40af_870c_9f219115f028/Builds/MacOSX
/bin/mkdir -p /var/folders/x5/5v22gnrd7p3f2694yhc6nny80000gn/T/tp74bf8acd_eabb_40af_870c_9f219115f028/Builds/MacOSX/build/Release/AudioPluginNeural3.component
ProcessInfoPlistFile
/var/folders/x5/5v22gnrd7p3f2694yhc6nny80000gn/T/tp74bf8acd_eabb_40af_870c_9f219115f028/Builds/MacOSX/build/Release/AudioPluginNeural3.component/Contents/Info.plist
/var/folders/x5/5v22gnrd7p3f2694yhc6nny80000gn/T/tp74bf8acd_eabb_40af_870c_9f219115f028/Builds/MacOSX/Info-AU.plist (in target 'AudioPluginNeural3 - AU' from project
'AudioPluginNeural3')
cd /var/folders/x5/5v22gnrd7p3f2694yhc6nny80000gn/T/tp74bf8acd_eabb_40af_870c_9f219115f028/Builds/MacOSX
builtin-infoPlistUtility /var/folders/x5/5v22gnrd7p3f2694yhc6nny80000gn/T/tp74bf8acd_eabb_40af_870c_9f219115f028/Builds/MacOSX/Info-AU.plist -producttype
com.apple.product-type.bundle -genpkginfo
/var/folders/x5/5v22gnrd7p3f2694yhc6nny80000gn/T/tp74bf8acd_eabb_40af_870c_9f219115f028/Builds/MacOSX/build/Release/AudioPluginNeural3.component/Contents/PkgInfo
-expandbuildsettings -platform macosx -o
/var/folders/x5/5v22gnrd7p3f2694yhc6nny80000gn/T/tp74bf8acd_eabb_40af_870c_9f219115f028/Builds/MacOSX/build/Release/AudioPluginNeural3.component/Contents/Info.plist
CopyPlistFile
/var/folders/x5/5v22gnrd7p3f2694yhc6nny80000gn/T/tp74bf8acd_eabb_40af_870c_9f219115f028/Builds/MacOSX/build/Release/AudioPluginNeural3.component/Contents/Resources/RecentFilesMenuTemplate.nib
/var/folders/x5/5v22gnrd7p3f2694yhc6nny80000gn/T/tp74bf8acd_eabb_40af_870c_9f219115f028/Builds/MacOSX/RecentFilesMenuTemplate.nib (in target 'AudioPluginNeural3 - AU' from
project 'AudioPluginNeural3')
cd /var/folders/x5/5v22gnrd7p3f2694yhc6nny80000gn/T/tp74bf8acd_eabb_40af_870c_9f219115f028/Builds/MacOSX
builtin-copyPlist --outdir
/var/folders/x5/5v22gnrd7p3f2694yhc6nny80000gn/T/tp74bf8acd_eabb_40af_870c_9f219115f028/Builds/MacOSX/build/Release/AudioPluginNeural3.component/Contents/Resources --
/var/folders/x5/5v22gnrd7p3f2694yhc6nny80000gn/T/tp74bf8acd_eabb_40af_870c_9f219115f028/Builds/MacOSX/RecentFilesMenuTemplate.nib
Rez /var/folders/x5/5v22gnrd7p3f2694yhc6nny80000gn/T/tp74bf8acd_eabb_40af_870c_9f219115f028/Builds/MacOSX/build/AudioPluginNeural3.build/Release/AudioPluginNeural3\ -\
AU.build/ResourceManagerResources/Objects/include_juce_audio_plugin_client_AU.rsrc
/var/folders/x5/5v22gnrd7p3f2694yhc6nny80000gn/T/tp74bf8acd_eabb_40af_870c_9f219115f028/JuceLibraryCode/include_juce_audio_plugin_client_AU.r (in target
'AudioPluginNeural3 - AU' from project 'AudioPluginNeural3')
cd /var/folders/x5/5v22gnrd7p3f2694yhc6nny80000gn/T/tp74bf8acd_eabb_40af_870c_9f219115f028/Builds/MacOSX
/Applications/Xcode.app/Contents/Developer/usr/bin/Rez -o
/var/folders/x5/5v22gnrd7p3f2694yhc6nny80000gn/T/tp74bf8acd_eabb_40af_870c_9f219115f028/Builds/MacOSX/build/AudioPluginNeural3.build/Release/AudioPluginNeural3\ -\
AU.build/ResourceManagerResources/Objects/include_juce_audio_plugin_client_AU.rsrc -d SystemSevenOrLater=1 -useDF -script Roman -d ppc_\$ppc -d i386_\$i386 -d
ppc64_\$ppc64 -d x86_64_YES -I /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Versions/A/Headers -I
/Applications/Xcode.app/Contents/Developer/Extras/CoreAudio/AudioUnits/AUPublic/AUBase -arch x86_64 -i
/var/folders/x5/5v22gnrd7p3f2694yhc6nny80000gn/T/tp74bf8acd_eabb_40af_870c_9f219115f028/Builds/MacOSX/build/Release -i
/var/folders/x5/5v22gnrd7p3f2694yhc6nny80000gn/T/tp74bf8acd_eabb_40af_870c_9f219115f028/Builds/MacOSX/build/Release -i
/var/folders/x5/5v22gnrd7p3f2694yhc6nny80000gn/T/tp74bf8acd_eabb_40af_870c_9f219115f028/Builds/MacOSX/build/Release/include -i ../../JuceLibraryCode -i ../../modules
-i ../../modules/juce_audio_plugin_client -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk
/var/folders/x5/5v22gnrd7p3f2694yhc6nny80000gn/T/tp74bf8acd_eabb_40af_870c_9f219115f028/JuceLibraryCode/include_juce_audio_plugin_client_AU.r
failed to find AUComponent/AUComponent.r
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/AudioUnit.framework/Headers/AudioUnit.r:18:
### Rez - noErr (0) during open of "AUComponent.r".
Fatal Error!
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/AudioUnit.framework/Headers/AudioUnit.r:18:
### Rez - Fatal Error, can't recover.
AUComponent.r: ### Rez - Since errors occurred,
/var/folders/x5/5v22gnrd7p3f2694yhc6nny80000gn/T/tp74bf8acd_eabb_40af_870c_9f219115f028/Builds/MacOSX/build/AudioPluginNeural3.build/Release/AudioPluginNeural3 -
AU.build/ResourceManagerResources/Objects/include_juce_audio_plugin_client_AU.rsrc's resource fork was not completely updated.
Command Rez failed with a nonzero exit code
** BUILD FAILED **
The following build commands failed:
Rez /var/folders/x5/5v22gnrd7p3f2694yhc6nny80000gn/T/tp74bf8acd_eabb_40af_870c_9f219115f028/Builds/MacOSX/build/AudioPluginNeural3.build/Release/AudioPluginNeural3\ -\
AU.build/ResourceManagerResources/Objects/include_juce_audio_plugin_client_AU.rsrc
/var/folders/x5/5v22gnrd7p3f2694yhc6nny80000gn/T/tp74bf8acd_eabb_40af_870c_9f219115f028/JuceLibraryCode/include_juce_audio_plugin_client_AU.r
(1 failure)
Error in generateAudioPlugin
Error in generateAudioPlugin
Egebjerg
Egebjerg on 6 Apr 2020
Hi
The Rez problem in AUComponent.r when compiling AU-plugins was solved in Matlab 2019b update 5 (and 2020a).
Unfortunately the latest version of Xcode introduce a new error, but 2019b update 5 and Xcode 11.3.1 (117505) should work, at least on my setup :-)
Best regards
Egebjerg
Adrian Klimczak
Adrian Klimczak on 6 Apr 2020
Thank you kindly. Updating to Matlab 2019b Update 5 solved my issue.

Sign in to comment.

Sign in to answer this question.

Products


Release

R2019b