I finally got time to finish part two about options available to play audio or music files using Visual Basic 6.0 and Visual Basic .NET. This article will provide info on two 3rd Party libraries for audio playback with advanced features. They are both feature rich and provide many advanced features. The first is the Bass.Dll Sound System and the second is the FMod.dll Sound System.
Both libraries are Free to use as long as the application’s using them are not commercial or compensated. If its a personal or freeware application they grant you a free license to use them. Bass.dll does have a lower cost option if your making a Shareware app. You should read through the license agreements of each library before using them in your applications.
Note: You can check out part one at this link.
BASS.DLL Audio System Library
This is a great library for pretty much all of your music or audio needs. Bass can play everything from mp3’s, wave’s and mod music to .cda’s and internet streaming. It has alot of source code and examples for Visual Basic and Visual Basic.NET. This library gives you access to the samples that are playing so you can plot your own visualizations or ffts. I had alot of experience with this library a few years ago and even made the original VB.NET api and examples for the author. The .dll is very small in size (Under 100KB) so it won’t bloat your application.
Author Information: BASS is an audio library for use in Windows and Mac OSX software. Its purpose is to provide developers with powerful and efficient sample, stream (MP3, MP2, MP1, OGG, WAV, AIFF, custom generated, and more via add-ons), MOD music (XM, IT, S3M, MOD, MTM, UMX), MO3 music (MP3/OGG compressed MODs), and recording functions. All in a tiny DLL, under 100KB* in size.
On Windows, BASS requires DirectX 3 or above for output, and takes advantage of DirectSound and DirectSound3D hardware accelerated drivers, when available. On OSX, BASS uses CoreAudio for output, and OSX 10.3 or above is recommended. Both PowerPC and Intel Macs are supported.
C/C++, Delphi, Visual Basic, and MASM APIs are provided, with several examples to get you started. .Net and other APIs are also available.
As you can see, this is a very feature-rich and flexible sound system. If your interested in Bass.dll then go to the main webpage.
FMOD.dll Music and Sound Effects System
This is another very popular sound system that is used by game makers and the like. Crysis is a newer game that uses this library. This library has been around for a very long time and has matured quite a bit. It has nearly all the features you’ll ever need in a sound system. It plays most all of the common music formats as well. This library I guess would be considered a competitor to the Bass library above. The library has Visual Basic based APIs and Examples as well. I am not completely sure about Visual Basic.NET though. I don’t have much experience with this sound system like I do with the Bass sound system. Below is some author information…
Author Information: FMOD Products
Why choose FMOD?
FMOD supports more hardware platforms than any other audio system – including the latest ‘next gen’ consoles. Consider the cost savings of not having to change code across any platform – Save months of development time.
FMOD is actively developed, with regular releases of new features. Many new requested features have been provided to customers in a very short turnaround – want a new feature, just ask!
Many customers are amazed at the personal level of technical support they get, either by phone, email or even personal visit (if applicable)
- Fantastic sounding DSP audio engine
- Choice of low-level API or data driven API
- Built-in DSP effect suite and VST support
- Advanced features such as 2D/3D morphing
- 3D reverb support and geometric occlusion
- Performance optimized for each platform
- Comprehensive technical support
If your wanting more information about this library you can click this link to their website.
Well, thats all for this article series. Hopefully this post was helpful to you in some way. Remember to always read the library’s license agreements before using them in your applications. They both allow free use in a free or non-profit application. Otherwise you will need to buy a license if your using them in a commercial based application.
Hopefully this little article gave you some insight into some currently available, feature-rich sound libraries. If you know of another good one feel free to leave a comment below.