r10s / bass_vst Goto Github PK
View Code? Open in Web Editor NEWBASS_VST allows the usage of VST plugins in the BASS audio library.
License: GNU Lesser General Public License v3.0
BASS_VST allows the usage of VST plugins in the BASS audio library.
License: GNU Lesser General Public License v3.0
Hi
Does using GetInfo not work when testing a VST Plugin using ChannelSetDSP(0, ...)? I am getting an AccessViolationException when doing this.
I need to get the plugin information before setting it up on a proper channel because I need to verify that the plugin is an effect, not an instrument.
int handle = BassVst.ChannelSetDSP(0, @"C:\Program Files\VSTPlugins\ReaPlugs\readelay-standalone.dll", BassVstDsp.Default, 0);
if (handle == 0)
throw new Exception("Error setting DSP: " + Bass.LastError.ToString());
// Issue here:
if (!BassVst.GetInfo(handle, out BassVstInfo vstInfo)) // Access Violation Exception
throw new Exception("Error getting info: " + Bass.LastError.ToString());
if (vstInfo.IsInstrument)
throw new Exception("Plugin is not an effect");
if (!BassVst.ChannelRemoveDSP(0, handle))
throw new Exception("Error removing DSP: " + Bass.LastError.ToString());
Note, I am using ManagedBass.Vst in C# however it is just a wrapper and should not be the cause of this issue. Debugging shows that handle at the point of calling GetInfo is (int)1 so it should be a valid handle. I was unable to find any information specific to this issue in the documentation so maybe I am just messing up somewhere?
Is it possible for you to also share binaries of BASS_VST that do not require VC++ 2010 to be installed on the user's system?
For those VST that have more than two audio inputs, for example, in a compressor which expects a threshold input to make a sidechain.
If was wondering, why the „Steven Slate Drums“ Plugin does not work with Bass_Vst.
In a debugging session, I found out that the count of channels was the problem:
Bass_vst is compiled with 32 channels - This is not sufficiant for the mentioned plugin.
Is there a specific reason for „only“ using 32 Channels?
I also did not found any error message (by using bass.net) with a hint to that problem...
Best regards
Thomas
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.