WRAIFF, a tiny audiofile writing utility in C.
Version 0.24, december 30, 2019.
Latest version available at: https://ecomaan.nl/c/wraiff
Copyright (c) 2004, 2005, 2006, 2009, 2014, 2019 - Pieter Suurmond
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.
Any person wishing to distribute modifications to the Software is
requested to send the modifications to the original developer so that
they can be incorporated into the canonical version.
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.
Users with a graphical user interface on their compilers (IDEs) can simply drop
the two .c files (demo.c and wraiff.c) in a standard ISO/ANSI C-project. It
should compile and run without errors or warnings on all computers.
wraiff-0.24.tar.gz Contents of this directory (except the audio-
files) tarred and gzipped for easier download.
demo.c Example program that uses WRAIFF objects.
wraiff.h Headerfile specifying the WRAIFF C API.
wraiff.c Implementation.
Makefile UNIX users may use this to compile (and run demo).
1-channel.aiff Audiofiles written by the demo program.
2-channel.aiff
4-channel.aiff
Thanks to Eduard Aylon, Maarten de Boer and Siebe Domeijer.
An equivalent C++ library resides at: https://ecomaan.nl/cpp/wraiffpp/
To read AIFF files, take a look at: https://ecomaan.nl/c/rdaiff/