Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 1dd4ff7c5e
Fetching contributors…

Cannot retrieve contributors at this time

74 lines (55 sloc) 2.461 kB
JVstHost
by
Martin Roth (mhroth@gmail.com)
Matthew Yee-King
JVstHost is an open-source Java-based VST host for Linux, Mac, and
Windows. It aims to load and manipulate all audio plugins conforming
to the Steinberg VST standard, including those generated with
jVSTwRapper and Faust.
Note that the (only) constructor of JVstHost throws an exception of
type com.synthbot.audioplugin.vst.JVstLoadException. Discussions
regarding the "correctness" of a constructor throwing an exception
aside, there are several things which may go wrong while loading a
VST. For this reason, an exception is thrown with the details (see
JVstLoadException.getMessage()).
A class implementing the com.synthbot.audioplugin.vst.JVstHostListener
interface can also register itself with a JvstHost object. It will
receive callbacks from the plugin.
JVstHost is licensed under the GNU Lesser General Public License
(LGPL). http://www.gnu.org/copyleft/lesser.html
GETTING STARTED QUICKLY
===
All that you really need is to put
JVstHost.jar into your java class path, and to put livjvsthost.jnilib
into /Library/Java/Extensions (on Mac OS X)
INSTALLATION
===
Mac OS X
The compiled native library, libjvsthost.jnilib, should be
placed in the directory /Library/Java/Extensions.
Linux
The compiled native library, libjvsthost.so, should be placed in
your LD_LIBRARY_PATH, e.g. in /usr/local/lib
jVSTwRapper
===
http://jvstwrapper.sourceforge.net/
JVstHost does interoperate with jVSTwRapper. Ensure that the
jVSTsYstem.jar library (included with jVSTwRapper) is included in the
classpath when starting the host. In Mac OS X, this library is most
commonly found in the jVSTwRapper vst directory, ./Contents/Resources
COMPILATION
===
Mac OS X
A script file, buildJvh.sh, is included for compiling the
JVstHost native library under Mac OS X. The script is made for 10.5,
however it should be easily modifiable for any other version of the
operating system. The script assumes that the Steinberg VST libraries
(not included in this distribution due to Steinberg's licensing terms)
are in a subdirectory, ./vst2.x
The script will also copy the resulting library, libjvsthost.jnilib,
to /Library/Java/Extensions
Linux
A script file, buildJvh_linux.sh, is included for compiling the
JVstHost native library under Linux. The script assumes that the
Steinberg VST libraries (not included in this distribution due to
Steinberg's licensing terms) are in a subdirectory, ./vst2.x
Jump to Line
Something went wrong with that request. Please try again.