RtAudio
More info
- Creator
- Gary P. Scavone
- Type
- Library (C++)
- Source
- github.com/thestk/rtaudio
A small C++ library offering one audio API on top of ASIO, WASAPI, Core Audio, ALSA, JACK and PulseAudio.
RtAudio grew out of STK, the Synthesis ToolKit that Perry Cook and Gary Scavone built for music research in the 1990s. Scavone, now at McGill University, split the audio I/O off into its own library in the early 2000s. It is essentially one header and one source file: open a stream, hand over a callback, and fill buffers, whatever operating system happens to be underneath.
Where PortAudio is written in C and has grown into a larger project, RtAudio is deliberately narrow and object-oriented. Its sibling RtMidi does the same job for MIDI. End users rarely see it, but it sits under ChucK and a long tail of research tools that need low latency without writing five driver layers themselves.