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
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
- 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.
- 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).
- TToneGen
TToneGen is a Delphi and C++ Builder component that lets your application create waveform sound effects. It generates the WAV waveforms in memory. It supports amplitude modulation, full AHDSR envelope shaping to alter the dynamics of the selected waveform, handles a frequency range from 20Hz to 20kHz, 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).
- 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.
- Soundlib2 Sound Library
SoundLib 2 is a library for mixing and playing sound files under Borland Pascal 7 and the Free Pascal Compiler with 32 bits DPMI on a SoundBlaster or compatible. It currently supports WAV, VOC, RAW, MOD, S3M and XM files. The library does automatic sample rate conversion, sample interpolation, has 32 bit mixing routines with support for a maximum of 256 channels, and support for Dolby Pro Logic. It comes with a Borland Pascal help-file and some demo files.
- 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.
Related Pages
- Free 3D Content Creation Tools, 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
- Free Personal Information Manager (PIM), Organizer and Desktop Calendar Software
- How to Create Good Filenames for Your Web Pages
- Free RAM Memory Diagnostics (Software Utilities)
- How to Create a Thumbnail that When Clicked Opens a Larger Version of the Picture in Dreamweaver
- Free Internet/Network Bandwidth Monitors and Meters
- How to Secure Your WordPress Blog
- How to Improve the Accessibility of Your Website
- What is HTML, CSS, JavaScript, PHP and Perl? Do I Need to Learn Them to Create a Website?
- How Much Does It Cost to Set Up a Website?
- How to Slipstream Windows XP Service Pack 3 to Create an Integrated XP Setup Disk with SP 3
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
- Dreamweaver Tutorial: How to Create a Website with Dreamweaver CS3
- 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
