Nothing Special   »   [go: up one dir, main page]

skip to main content
10.5555/2555754.2555755acmconferencesArticle/Chapter ViewAbstractPublication PagesesweekConference Proceedingsconference-collections
research-article

A synchronous embedding of Antescofo, a domain-specific language for interactive mixed music

Published: 29 September 2013 Publication History

Abstract

Antescofo is recently developed software for musical score following and mixed music: it automatically, and in real-time, synchronizes electronic instruments with a musician playing on a classical instrument. Therefore, it faces some of the same major challenges as embedded systems.
The system provides a programming language used by composers to specify musical pieces that mix interacting electronic and classical instruments. This language is developed with and for musicians and it continues to evolve according to their needs. Yet its semantics has only recently been formally defined. This paper presents a synchronous semantics for the core language of Antescofo and an alternative implementation based on an embedding inside an existing synchronous language, namely ReactiveML. The semantics reduces to a few rules, is mathematically precise and leads to an interpretor of only a few hundred lines. The efficiency of this interpretor compares well with that of the actual implementation: on all musical pieces we have tested, response times have been less than the reaction time of the human ear. Moreover, this embedding permitted the prototyping of several new programming constructs, some of which are described in this paper.

References

[1]
A. Benveniste, P. Caspi, S. Edwards, N. Halbwachs, P. Le Guernic, and R. De Simone. The synchronous languages 12 years later. Proceedings of the IEEE, 91(1):64--83, 2003.
[2]
G. Berry and G. Gonthier. The Esterel synchronous programming language, design, semantics, implementation. Science of Computer Programming, 19(2):87--152, 1992.
[3]
A. Cont. Antescofo: Anticipatory synchronization and control of interactive parameters in computer music. In International Computer Music Conference, 2008.
[4]
J. Echeveste. Modeling Steve Reich's Piano Phase with the new version of Antescofo. Personal communication, April 2013.
[5]
J. Echeveste, A. Cont, J.-L. Giavitto, and F. Jacquemard. Operational semantics of a domain specific language for real time musician-computer interaction. Journal of Discrete Event Dynamic Systems, 2013.
[6]
J. Echeveste, A. Cont, F. Jacquemard, and J.-L. Giavitto. Formalisation des relations temporelles entre une partition et une performance musicale dans un contexte d'accompagnement automatique. In Modélisation des systèmes réactifs, volume JESA45:1-3, pages 109--124, Novembre 2011.
[7]
C. Elliott and P. Hudak. Functional reactive animation. In ACM SIGPLAN Notices, volume 32, pages 263--273, 1997.
[8]
H. Fastl and E. Zwicker. Psychoacoustics: Facts and models, volume 22. Springer, 2006.
[9]
L. Gérard, A. Guatto, C. Pasteur, and M. Pouzet. A modular memory optimization for synchronous data-flow languages. In Languages, Compilers and Tools for Embedded Systems, June 12-13 2012.
[10]
L. Mandel and F. Plateau. Interactive programming of reactive systems. In Proceedings of Model-driven High-level Programming of Embedded Systems, 2008.
[11]
L. Mandel and M. Pouzet. ReactiveML: a reactive extension to ML. In Proceedings of the International Conference on Principles and Practice of Declarative Programming, 2005.
[12]
J. McCartney. Rethinking the computer music language: Supercollider. Computer Music Journal, 26(4):61--68, 2002.
[13]
M. Puckette. Combining event and signal processing in the max graphical programming environment. Computer music journal, 15:68--77, 1991.
[14]
G. Wang and P. Cook. Chuck: a programming language for on-the-fly, real-time audio synthesis and multimedia. In Proceedings of the international conference on Multimedia, pages 812--815. ACM, 2004.
[15]
J. Zou, S. Matic, E. A. Lee, T. H. Feng, and P. Derler. Execution strategies for PTIDES, a programming model for distributed embedded systems. In Real-Time and Embedded Technology and Applications Symposium, 2009. 15th IEEE, pages 77--86, 2009.

Cited By

View all
  • (2015)ReactiveML, ten years laterProceedings of the 17th International Symposium on Principles and Practice of Declarative Programming10.1145/2790449.2790509(6-17)Online publication date: 14-Jul-2015

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image ACM Conferences
EMSOFT '13: Proceedings of the Eleventh ACM International Conference on Embedded Software
September 2013
300 pages
ISBN:9781479914432

Sponsors

Publisher

IEEE Press

Publication History

Published: 29 September 2013

Check for updates

Author Tags

  1. error handling and synchronization strategies
  2. language embedding
  3. mixed music
  4. synchronous programming

Qualifiers

  • Research-article

Conference

ESWEEK'13
ESWEEK'13: Ninth Embedded System Week
September 29 - October 4, 2013
Quebec, Montreal, Canada

Acceptance Rates

EMSOFT '13 Paper Acceptance Rate 27 of 97 submissions, 28%;
Overall Acceptance Rate 60 of 203 submissions, 30%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)1
  • Downloads (Last 6 weeks)0
Reflects downloads up to 12 Nov 2024

Other Metrics

Citations

Cited By

View all
  • (2015)ReactiveML, ten years laterProceedings of the 17th International Symposium on Principles and Practice of Declarative Programming10.1145/2790449.2790509(6-17)Online publication date: 14-Jul-2015

View Options

Get Access

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media