NTCCRT: A concurrent constraint framework for soft-real time music interaction
Writing music interaction systems is not easy because their concurrent processes usually access shared resources in a non-deterministic order, often leading to unpredictable behavior. Using Pure Data (Pure Data) and Max/MSP, it is possible to program concurrency; however, it is difficult to synchron...
- Autores:
-
Toro, Mauricio
Rueda, Camilo
Agón, Carlos
Assayag, Gérard
- Tipo de recurso:
- Fecha de publicación:
- 2015
- Institución:
- Universidad EAFIT
- Repositorio:
- Repositorio EAFIT
- Idioma:
- eng
- OAI Identifier:
- oai:repository.eafit.edu.co:10784/7943
- Acceso en línea:
- http://hdl.handle.net/10784/7943
- Palabra clave:
- Concurrent Constraint Programming (ccp)
Soft Real-Time
Machine Improvisation
Signal Processing
Music Interaction
Computer Music
Process Calculi
- Rights
- License
- Acceso abierto
Summary: | Writing music interaction systems is not easy because their concurrent processes usually access shared resources in a non-deterministic order, often leading to unpredictable behavior. Using Pure Data (Pure Data) and Max/MSP, it is possible to program concurrency; however, it is difficult to synchronize processes based on multiple criteria. Process calculi such as the Non-deterministic Timed Concurrent Constraint (ntcc) calculus, overcome that problem by representing, declaratively, the synchronization of multiple criteria as constraints. In this article, we propose the framework Ntccrt, as a new alternative to manage concurrency in Pure Data and Max/MSP. Ntccrt is a real-time capable interpreter for ntcc. Using Ntccrt binary plugins in Pure Data, we executed models for machine improvisation and signal processing. We also analyzed two case studies: one of a machine improvisation system and one of a signal processing system. We found out that performance of both case studies is compatible with soft real-time music interaction; it means, a musician can interact with Ntccrt without noticeable delays during the interaction. |
---|