License#

tanh-lib is licensed per component:

  • Apache-2.0 — the core component (tanh::Core): generic containers (Buffer<T>, BufferView, RingBuffer<T>, MemoryBlock<T>), the header-only WAV decoder (read_wav), Logger (including the real-time Logger::rt queues and drain threads, and rt_snprintf), Thread (an OS thread with a requested scheduling class), Dispatcher, threading utilities (RCU, LockFreeQueue), and small helpers — everything under include/tanh/core/, include/tanh/core.h, src/core/, src/core.cpp — plus the binary-data CMake helpers (cmake/tanh/binary-data.cmake, cmake/tanh/bin2cpp.cmake, from tanh-tooling). One target, one license: linking tanh::Core pulls in Apache-2.0 code only, so permissively licensed projects (e.g. anira) can depend on it. These files carry an SPDX-License-Identifier: Apache-2.0 header; the license text is in LICENSE-APACHE-2.0.

  • AGPL-3.0 — all other components (state, dsp, resonator, modulation, audio-io) and files (see LICENSE).