Tutorial: Writing a Pitch Shift MetaSound Node

Thank you for this, very helpful! I’m trying to build the stub code included in that tutorial and I’ve come across two issues:

  1. In FVertexInterface it seems that TInputVertex has to be changed to TInputVertexModel, otherwise it throws a undefined error (I’m guessing this is an API change)
  2. I’m unable to compile this same stub as part of an empty custom plugin. I get these linker errors:

unresolved external symbol “class FName const Metasound::StandardNodes::Namespace” (?Namespace@StandardNodes@Metasound@@3VFName@@anonymous_user_31e84eb0)

unresolved external symbol “class FName const Metasound::StandardNodes::AudioVariant” (?AudioVariant@StandardNodes@Metasound@@3VFName@@anonymous_user_31e84eb0)

These errors are shown as coming from line 1 of Intermediate\ProjectFiles\Module.MetaSoundsAmbi.cpp.obj.

MertaSoundsAmbi.cpp is the empty class that was created when I created an empty plugin with the same name, using the Plugins panel in the UE5 editor. I manually included the MetaSounds modules in the plugin’s dependencies in the .Build.cs file.