Programming LV2 Music Production Plugins From Scratch - 11 Programming Realtime Audio

Опубликовано: 18 Август 2026
на канале: BMusic
722
31

The basic concept of realtime audio we need for programming audio processing and sound generating plugins. Also showing the pitfalls for programming realtime audio plugins.

Topics:
What is realtime?
Principle of audio signal routing
Realtime guarantee
Violating realtime
Not realtime-safe:
User interactions
Web access
Other I/O
Files, devices, pipes, sockets, system calls, ...
Heap memory allocation and deallocation
`malloc`, `calloc`, `free`, `new`, `delete`, ...
C++ strings, streams, exceptions, STL containers (except `std::array`), ...
Process / thread locks
LV2 realtime thread (`connect_port`, `run`)
Preview: LV2 worker extension

Resources: https://github.com/sjaehn/lv2tutorial