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-timeLogger::rtqueues and drain threads, andrt_snprintf),Thread(an OS thread with a requested scheduling class),Dispatcher, threading utilities (RCU,LockFreeQueue), and small helpers — everything underinclude/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: linkingtanh::Corepulls in Apache-2.0 code only, so permissively licensed projects (e.g. anira) can depend on it. These files carry anSPDX-License-Identifier: Apache-2.0header; the license text is inLICENSE-APACHE-2.0.AGPL-3.0 — all other components (
state,dsp,resonator,modulation,audio-io) and files (seeLICENSE).