Free Audio / Sound Libraries and Source Code
Programming sound cards, handling audio, music, digitized voice, etc
Free Audio, Sound, Music and Digitized Voice Libraries and Source Code
Included on this page are source code and libraries that will enable you to program sound cards (eg, Creative Lab's SoundBlaster, etc), manipulate audio, music files (eg MP3, WAV, etc), digitized voice, and so on, using C, C++, Pascal and possibly other languages.
For guides on sound algorithms, sound file formats, audio programming tutorials and other references on sound/music programming, check out the Free Online Sound Programming Guides, Tutorials, References page. Free sound editors and other audio manipulation tools to create your digital effects can be found on the Free Digital Audio / Sound Editors page. If you need to extract audio tracks form a CD, the tools on Free Audio CD Rippers may prove useful, although you should remember to obtain a licence from the copyright owner before distributing any third party sound or music.
If you are developing a game, you might find the Free Game Programming Libraries and Source Code page useful. Some of the game libraries listed on that page include built-in facilities to handle audio, music, digital voice and the like.
Related Pages
- Free Compression and Archiving Libraries
- Free Debugging Libraries, Memory Leak and Resource Leak Detection, Etc
- Free Graphics, Image Drawing Libraries, 3D Game Engines, 2D Engines
- Free GUI Libraries
- Free Sockets, Winsock, TCP/IP, Internet Libraries
- Free Database Libraries, SQL Servers, ODBC Drivers
- Free C/C++ Libraries - don't reinvent the wheel, get tested code
- Free Pascal Libraries
- Free CD and DVD Burners and Copying Software
- The Beginner's A-Z Guide to Starting/Creating Your Own Website
- How to Register Your Own Domain Name - get one for your software
Disclaimer
The information provided on this page comes without any warranty whatsoever. Use it at your own risk. Just because a program, book, document or service is listed here or has a good review does not mean that I endorse or approve of the program or of any of its contents. All the other standard disclaimers also apply.
Free Audio, Sound, Music and Digitized Voice Libraries
- APEG

APEG is an audio/video add-on for the Allegro game programming library (see the Free Games Programming Libraries and Source Code page for more information on Allegro) that allows your program to play MPEG-1 and Ogg streams in the same way it plays FLIC files.
- New Audio Components for Delphi
New Audio Components, or NewAC, supports the playing of audio files of a variety of formats, including wav, Ogg Vorbis, FLAC, Monkey Audio, WavPack, MP3, and WMA. Sound files need not be external, but can be embedded in a program's resources. Other features include the ability to acquire audio data from input devices like microphones or CDs, the facility to encode audio into the supported formats, mixing, concatenation, cutting and insertion of audio streams, audio resampling, etc. The code may be used for both open source and commercial use.
- TurboPower Async Professional
If you need to add speech to your programs, or enable it to process speech input, TurboPower's Async Professional provides you an easy access to Microsoft's Speech API (SAPI) allowing you to integrate voice/speech recognition and speech synthesis in your programs. It also handles the sending and receiving (as well as viewing and printing) of faxes (and converts BMP, DCX, PCX and TIF files automatically), alphanumeric and text (GSM/SMS) paging, high speed file transfers (including the major file transfer protocols like Zmodem and FTP), IP telephony (audio and video, Voice Over IP or VOIP), Internet communications (Winsock access), supports ISDN modems, RS-232 and RS-485 standards, and includes an XML-based modem database. And so on. Like most of the TurboPower tools, this open source toolkit may be used with Delphi and Borland C++ Builder and ActiveX environments like Microsoft Visual C++ and Visual Basic.
- PortAudio
This is an open source cross-platform audio I/O library. Using this library purportedly allows your sound source code to be portable across Windows, Macintosh, Unix (OSS), SGI and BeOS. The API allows you to record and play sound. Linux support is currently in BETA.
- libsndfile
This is a C library that allows you to read and write sampled sound such as using the Windows WAV format, the Apple/SGI AIFF format, Dec AU format, RAW headerless PCM files, etc. It is released under the GNU Lesser General Public License. The library can be compiled and used on Windows, Linux, Macintosh, and "just about any Unix".
- BASS Sound System
BASS provides developers with a set of powerful yet easy to use sample, stream (eg MP3, WAV, custom generated), MOD music (XM, IT, S3M, MOD, MTM), MO3 music (MP3 compressed MODs) and audio CD playback functions. It also supports 3D positioning of samples, streams and MOD music with support for Aureal's A3D and Creative Lab's EAX (Environmental Audio eXtensions). It requires DirectX (version 3 or above) and uses DirectSound and DirectSound3D hardware accelerated drivers and MMX CPUs. API for C, C++, Delphi, Visual Basic, and TMT Pascal are provided. Note that it is free for freeware but you have to pay if you're developing shareware or commercial applications. Only Windows 9x/NT/2k platforms (ie, Win32) are supported.
- Soundlib3 Sound Library
SoundLib 3 is an object oriented library for mixing and playing sound files on Win32 systems. You can use Delphi, Lazarus or Microsoft Visual C++. It handles WAV, OGG, FLAC, MOD/NST/WOW, S3M und XM files, outputs via Output: DirectX and WaveOut, features 3D positioning of sound sources and the Doppler effect, allows switching of interface, sound cards and playback format on the fly, outputs 8, 16 and 24 bits in mono, stereo, surround (Dolby Pro Logic and Dolby Pro Logic II compatible) and multichannel, etc. Note that this library is only free if the program using it is also free. (That is, your program must be freeware.)
- OpenAL: Open Source Audio Library
OpenAL, the Open Audio Library, purports to be a "joint effort to create an open, vendor-neutral, cross-platform API for interactive, primarily spatialized audio." Members include Creative Labs and Loki Entertainment Software.
- Open Source Audio Library Project
The Open Source Audio Library Project (OSALP) is a library with a set of C++ classes that handles audio functions. It is multiplatform. It currently supports the MP3, WAV, au, aiff, aifc (etc) formats. It also has several worker classes: audio sample rate converter, audio pitch change, audio test source, audio editing, audio timer recording, audio VU meter and spectrum display, audio mixing, reading and writing audio data to devices or files. Source code is available, and the project is in the initial stages.
- SMIX Programming Library
The SMIX is a sound programming library allows your program to play up to 8 simultaneous sound, mixed in real time, on any Sound Blaster (or compatible) card. Although it is free, they request "a contribution" if you use it for commercial purposes. Versions are available for Turbo Pascal (real mode), Borland C (real mode), Watcom C (DOS/4GW protected mode), and TMT Pascal protected mode. The site also provides links to third party ports for Microsoft C, Quick C, Microsoft Visual C, and Borland Pascal 16 bit protected mode.
- SBVOX Programming Library
SBVOX is a sound programming library that allows you to play VOC digitized voice files in your programs via Creative Labs' CT-VOICE driver. The Turbo Pascal source code is available.
- SBDSP Programming Library
To quote from their website, SBDSP is a sound programming library that "plays VOC digitized voice files directly on a Sound Blaster or compatible sound card without using Creative Labs CT-VOICE driver." The full source code, in Turbo Pascal, is available. The library is no longer supported.
- VDMSound
This item should probably not be listed on this page since it's not a programming library or the like. However, if you develop or maintain DOS games that need to run in a DOS box on Windows NT, 2000, XP, you might find this soundcard emulator useful. It emulates an MPU-401 interface (for MIDI), a SoundBlaster compatible soundcard (SB16, SBPro 2, SB2, SBPro, etc) and a standard game-port. The beauty of this emulator is that independent of the user's audio hardware; it works with any soundcard and even on systems that do not have a soundcard. The emulator is free, released under the GNU General Public License and comes with source code.
- TMidiGen
This Delphi and C++ Builder component allows you to create MIDI sound effects and note sequences in your programs. It generates the MIDI data in memory, and thus does not require external files or resources. It has 175 instruments, Advanced Pitch Blend, Modulation, Sustain, Chorus, Reverb effects, volume and pan adjustments, etc. It appears to be free (although the website makes no mention of the licence under which it is released; let me know if you have information about this). Update: this library is no longer updated. The link leads to an archived page and not all the downloads may be available.
Related Pages
- How to Point a Domain Name to Your Website (Or What to Do After Buying Your Domain Name)
- Free Drawing and Painting Software, Image and Photo Editing Programs
- Free Numerical, Mathematical, Statistics Libraries and Source Code
- Free Online C++ Documentation
- Frequently Recommended Windows Programming Books
- Free Spell Checker Libraries, Source Code, Controls, Components
- Create a Customized Feedback Form for your site (free)
- Which Web Host Do You Recommend? (FAQ)
Can't Find What You're Looking For?
Newest Pages
- How to Create Bulleted Lists (Unordered Lists) for Your Web Page with KompoZer
- Free Royalty Free Music and Sounds
- How to Point Multiple Domain Names to One Website: And How to Avoid Search Engine Problems When Doing So
- Free Programmer's Fonts
- The Decline and Fall of Internet Explorer 6: Implications for Webmasters
- How to Point a Domain Name to Your Website (Or What to Do After Buying Your Domain Name)
- Should You Choose a Linux or a Windows Web Hosting Package? Is There Such a Thing as a Mac Web Host?
- How to Create a Bulleted List (Unordered List) for Your Website in Dreamweaver
- Free Font Manager Software
- What Does It Mean to Park a Domain Name? Domain Name Parking Explained
- How to Add a CAPTCHA Test to Your Feedback Form Script: Reducing Spam in Your Contact Form
Popular Pages
- How to Create/Start Your Own Website: The Beginner's A-Z Guide
- How to Register Your Own Domain Name - how to get your own domain name
- How to Create a Website with Dreamweaver CS4 (Dreamweaver Tutorial)
- How to Create a Bootable Windows XP Setup CD/DVD on a Preinstalled Windows System
- Free Partitioning Software - Copy, Create, Move, Resize, Convert, Undelete Partitions
- Free Data Recovery, File and Partition Recovery, Undelete and Unformat Software
- How to Create an Emergency Windows Rescue CD
- Free DVD Authoring and Creation Software
- Free CD and DVD Burners and Copying Software
- Free Hard Disk Backup and Restore, Hard Disk Image and Cloning Utilities
How to Link to This Page
It will appear on your page as:
Free Audio, Sound, Music and Digitized Voice Libraries and Source Code
