This is a library I've made to support some of my audio related projects. It's currently used in my PhaseVocoder project and my AudioAnalysisTool project. Feel free to use this library in your own projects. It's licensed under the permissable MIT license.
AudioData - A class allowing for easy transportation and access of digital audio data.
ThreadSafeAudioFile - Provides threadsafe reading and writing of wave audio files.
Utilities - Basic utilities supporting application development.
WaveFile - Simple classes for reading and writing wave audio files.
Doxygen documentation can easily be generated by simply running Doxygen using the config file located in the Doxygen directory.
Unit Test Coverage
Unit test coverage is extensive. You'll notice every component within the source directory has a UT directory which contains unit tests. These automatically build and run as part of the build process.
Building this project requires CMake version 3.0 or later.
Building this project requires a C++14 compliant compiler. This project is routinely built in my continous integration system which uses MS Visual Studio 2017, GCC 5.3.1 and Apple LLVM version 7.3.0 (clang 703.0.31).
GoogleTest is currently the only external dependency. You do not need to clone or install this manually. The GoogleTest GitHub repo will be cloned automatically when CMake runs.
Steps for Building
Clone this repo.
Create a new directory at the parallel level as the cloned repo. This directory will hold the project files CMake creates.
cd into this new directory.
From the command line, run cmake -G YourDesiredGeneratorType ../AudioLib/Source
Run make or open the project file in an IDE and build.
The Automation/CI directory contains scripts that can be used with Jenkins to setup continuous integration in Linux, MacOS and Windows. For more information on how to setup Jenkins to use these scripts please see this document.
The MIT License applies to this software and its supporting documentation:
Copyright (c) 2017-2018 - Terence M. Darwen - tmdarwen.com
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.