C# Audio Applicatiion using NAudio - VST feed to StereoTool need help/working code. #1200
Unanswered
AlanGitMan
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Does anyone have a working c# example of using NAudio passing audio direct to StereoTool via VST?
This is a hobby project - not a commercial one making my own priivate "radio" intranet station. After a learning curve, I have a working NAudio player which schedules and plays audio files perfectly. I now need to take the output from that application and feed it into StereoTool which does volume levelling and various other processing. StereoTool supports VST.
https://www.thimeo.com/stereo-tool/
I am running on Windows 10.0 using Visual Studio 2022 (community edition) and (in accordance with the VST.NET2 instructions have set the target environment to be NET6.0. My project uses Winforms (with .net) template. CPU type is set to "x64;x86" in the project file XML.
So, as this is all new to me I asked CoPilot to find me code that would give me a simple-as-possible working example of this and the code it found/suggested is down below. My issue is that - even after installing NAudio and VST.NET2-Plugin using Nuget I am seeing a lot of errors which make me think that perhaps this code is old and out of date.
For example in the line
I get error "IVstHostCommandStub could not be found" - even though have included the "using" statements indicated. It all smacks to me of version mismatches but I don't know enough to sort this out without help.
So, can anyone lighten my darkness or provide a working example. Thanks in advance.
==================
Instruction and Code from CoPilot AI: (yes, I did replace the WAV file name and the DLL location with my own).
Install-Package VST.NET2-Plugin
Beta Was this translation helpful? Give feedback.
All reactions