PSOrvia

← Features

Real time and time code

An audio path without locks or memory requests, plus SMPTE time code as a label, as MIDI time code and as an audio signal.

Framework HostingQuality

Abstract graphic: a timeline with number fields 00:00:00:00, green on dark

Nothing may wait in the audio thread. That is why the time-critical parts of PSOrvia manage without locks and without memory requests. Guest processes and worker threads can run at real-time priority (Linux: SCHED_FIFO or rtkit, macOS: Mach's time-constraint policy); worker threads can be pinned to processor cores.

For shows with pictures, lights or a backing band there is SMPTE time code at 24, 25, 29.97 (drop-frame) and 30 frames per second. It is calculated as a time value, sent and read as MIDI time code in quarter frames, and generated and decoded as an audio signal (linear time code). MIDI Show Control commands (start and stop with a cue number) come on top.

The parts are backed by tests, for example the count across the first full minute in drop-frame mode and the assembling of quarter frames.

Related