Using the Virtual Sampler Library, you can play both sound effects and music by issuing simple MIDI messages. When dealing with sound effects, you are relieved of the need to negotiate the intricacies of DirectSound programming or (worse) of hardware-specific APIs, but retain the ability to synchronize screen and audio events precisely. When dealing with music, you can use standard MIDI tools to create your songs, and yet know exactly what the user will hear, independently of his or her synthesizer hardware.
The Virtual Sampler Library will work with all 16 bit sound cards complying with Microsoft's DirectSound standard, including ones without any kind of wavetable hardware support. It will also work with sound cards lacking a DirectSound driver, as long as DirectSound itself is present on the system and can access the sound hardware through the slower waveOut device (part of the old, 16 bit Windows multimedia API). Low-latency operation does however require DirectSound support.
The Virtual Sampler SDK contains the documentation and code needed to use the Virtual Sampler Library in your own programs. It also includes the Mellosoftron, the popular emulated sampler based on the Virtual Sampler Library, for quick sound patch creation and editing.
IMPORTANT: For size reasons, the VS SDK and the Mellosoftron are distributed in separate archives. The Mellosoftron archive is available from http://www.abc.se/~m9303/ml.html.
Roughly speaking, there are three kinds of Virtual Sampler Library functions:
In total, there are 26 Virtual Sampler Library interface functions. A minimal application can be built using less than a third of them.
See the Examples section for source code using VSL.DLL.
For details about the Virtual Sampler Library functions, see the Reference section.
|
|
|
. | INDEX.HTM
REGISTER.EXE |
VSL documentation front page.
Registration wizard. |
|
VSL.DLL | VSL executable. |
|
*.HTM, *.GIF | VSL documentation files. |
|
VSL APIs. | |
|
VSL.PAS | Borland Delphi VSL interface unit. |
|
VSL.BAS | Visual Basic VSL interface module. |
|
VSL.H, VSL.LIB | Visual C/C++ VSL header and LIB. |
|
VSL.H, VSL.LIB | Watcom C/C++ VSL header and LIB. |
|
VSL application code examples. | |
|
See the Examples section! | Borland Delphi VSL application code example. |
|
See the Examples section! | Visual Basic VSL application code example. |
|
See the Examples section! | Visual C/C++ VSL application code example. |
|
See the Examples section! | Watcom C/C++ VSL application code example. |
|
See the Examples section! | Sound files for use with VSL application code examples. |