Reformat readme as markdown.
[rtaudio-cdist.git] / README.md
1 # RtAudio
2
3 A set of C++ classes that provide a common API for realtime audio input/output across Linux (native ALSA, JACK, PulseAudio and OSS), Macintosh OS X (CoreAudio and JACK), and Windows (DirectSound, ASIO and WASAPI) operating systems.
4
5 By Gary P. Scavone, 2001-2017 (and many other developers!)
6
7 This distribution of RtAudio contains the following:
8
9 - doc:      RtAudio documentation (see doc/html/index.html)
10 - tests:    example RtAudio programs
11 - include:  header and source files necessary for ASIO, DS & OSS compilation
12 - tests/Windows: Visual C++ .net test program workspace and projects
13
14 ## Overview
15
16 RtAudio is a set of C++ classes that provides a common API (Application Programming Interface) for realtime audio input/output across Linux (native ALSA, JACK, PulseAudio and OSS), Macintosh OS X and Windows (DirectSound, ASIO and WASAPI) operating systems.  RtAudio significantly simplifies the process of interacting with computer audio hardware.  It was designed with the following objectives:
17
18   - object-oriented C++ design
19   - simple, common API across all supported platforms
20   - only one source and one header file for easy inclusion in programming projects
21   - allow simultaneous multi-api support
22   - support dynamic connection of devices
23   - provide extensive audio device parameter control
24   - allow audio device capability probing
25   - automatic internal conversion for data format, channel number compensation, (de)interleaving, and byte-swapping
26
27 RtAudio incorporates the concept of audio streams, which represent audio output (playback) and/or input (recording).  Available audio devices and their capabilities can be enumerated and then specified when opening a stream.  Where applicable, multiple API support can be compiled and a particular API specified when creating an RtAudio instance.  See the \ref apinotes section for information specific to each of the supported audio APIs.
28
29 ## Further Reading
30
31 For complete documentation on RtAudio, see the doc directory of the distribution or surf to http://www.music.mcgill.ca/~gary/rtaudio/.
32
33
34 ## Legal and ethical:
35
36 The RtAudio license is similar to the MIT License.
37
38     RtAudio: a set of realtime audio i/o C++ classes
39     Copyright (c) 2001-2017 Gary P. Scavone
40
41     Permission is hereby granted, free of charge, to any person
42     obtaining a copy of this software and associated documentation files
43     (the "Software"), to deal in the Software without restriction,
44     including without limitation the rights to use, copy, modify, merge,
45     publish, distribute, sublicense, and/or sell copies of the Software,
46     and to permit persons to whom the Software is furnished to do so,
47     subject to the following conditions:
48
49     The above copyright notice and this permission notice shall be
50     included in all copies or substantial portions of the Software.
51
52     Any person wishing to distribute modifications to the Software is
53     asked to send the modifications to the original developer so that
54     they can be incorporated into the canonical version.  This is,
55     however, not a binding provision of this license.
56
57     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
58     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
59     MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
60     IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR
61     ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
62     CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
63     WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.