SoundFlow library/plugin seems to work well for adding to Flax Engine’s audio modifying/filtering capabilities. However …
Adding SoundFlow.dll to the .Build.cs file options includes it in the build.
options.ScriptingAPI.FileReferences.Add(Path.Combine(FolderPath, “..”, “..”, “Content/SoundFlow.dll”));
However, including the platform specific Miniaudio.dll the same way shows error.
error CS0009: Metadata file ‘C:\Projects\Project_AUDIO\Content\miniaudio.dll’ could not be opened – PE image doesn’t contain managed metadata.
When copying that file manually to the build Content folderworks and audio plays. Likely there is a different way to include it, but how?
Perhaps relevant info:
SoundFlow was installed with Visual Studio / NuGet. There are references to both .dll files. eg in file:
C:\Projects\Project_AUDIO\Cache\Intermediate\GameEditorTarget\Windows\x64\Debug\CSharp\Game.assets.cache
C:\Users\Administrator.nuget\packages\soundflow\1.4.1\runtimes\win-arm64\native\miniaudio.dll
and in:
C:\Projects\Project_AUDIO\Plugins\soundflow.1.4.1\SoundFlow.targets
<RuntimeTargets Include="$(MSBuildThisFileDirectory)..\runtimes\win-x64\native\libminiaudio.dll" AssetKind="Native">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
<OutputPath>miniaudio.dll</OutputPath>
