Skip to content
Christian Pérez-Llamas edited this page Jun 27, 2020 · 19 revisions

Welcome to the hero-studio wiki!

UI development

Real-time multi-threading processing

Interesting videos about real-time audio processing with lock-free data structures and no allocations:

Concurrent programming:

Lock-free data structures:

Immutable data structures:

Memory pools:

Realtime threads

Measuring time within the real-time thread:

  • JUCE and Tracktion seem not to care about calling the OS in the real-time context:
  • There are two alternatives I can think of:
    • Counting CPU cycles
    • Measuring time in another real-time thread with a much lower latency from that of the audio callback one, where an atomic value get incremented periodically, so the audio callback can use it to measure time. For example, for CPU usage measurement, it could be 1/100th of the audio callback latency, so I would get 1% precision.

Workflow model

MIDI

Backends

Useful information

Interval trees

Clone this wiki locally