A Lazy Real-Time System Architecture For Interactive Music - Archive ouverte HAL Access content directly
Conference Papers Year : 2012

A Lazy Real-Time System Architecture For Interactive Music

David Janin


Designing a system that is both real-time and interactive, features that are commonly encountered in computational music, is a challenging task. It becomes even more difficult if we require the designed system to be not only reliable and maintainable, but also generic in the underlying interactive scores that are to be followed. In this paper, we aim at defining such a generic architecture. Our proposal is based on a lazy real-time kernel that handles, somehow in a reactive way, both scheduled synchronous events and unpredictable asynchronous inputs. This reactive approach contrasts with standard real- time architectures where the real time kernel is built upon an active periodic loop. As a result, we do obtain a real-time architecture that is robust w.r.t. occasional time drifts. More precisely, whenever forced out of time (say with an external pause) the running system (upon resume) auto-stabilizes back on time as if no time drift had ever occur. More specifically oriented towards music, we also encode, at the architecture level a clear distinction between symbolic time (beats) and real-time (seconds), each being related with the other via a possibly evolving tempo. Despite its simplicity, our proposal induces several architecture layers : real-time, mixed and symbolic, that have clear and distinct functional specifications. In particular, the symbolic musical control layer can just be seen as an abstract interpreter of symbolic interactive scores. In a research context where the notion of interactive scores itself still needs to be better understood, this is a rather good news.
Fichier principal
Vignette du fichier
RR-1460-12.pdf (437.15 Ko) Télécharger le fichier
Origin Files produced by the author(s)

Dates and versions

hal-00676202 , version 1 (03-03-2012)
hal-00676202 , version 2 (13-04-2012)


  • HAL Id : hal-00676202 , version 2


David Janin. A Lazy Real-Time System Architecture For Interactive Music. JIM 2012, May 2012, Mons, Belgium. pp.133-139. ⟨hal-00676202v2⟩


147 View
124 Download


Gmail Mastodon Facebook X LinkedIn More