The development of libmosaic-sound: a library for sound design and an extension for the Mosaicode Programming Environment

  • Luan Gonçalves Federal University of São João del-Rei
  • Flávio Luiz Schiavoni Federal University of São João del-Rei


Music has been influenced by digital technology over the last few decades. With the computer, the musical composition could trespass the use of acoustic instruments demanding to musicians and composers a sort of computer programming skills for the development of musical applications. In order to simplify the development of musical applications, several tools and musical programming languages arose bringing some facilities to lay-musicians on computer programming to use the computer to make music. This work presents the development of a Visual Programming Language (VPL) for audio applications in the Mosaicode programming environment, simplifying sound design and making the synthesis and manipulation of audio more accessible to digital artists. It is also presented the implementation of libmosaic-sound library for the specific domain of Music Computing, which supported the VPL development.

Palavras-chave: Digital Sound Processing, Music, Society and Technology, Software Systems and Languages for Sound and Music


Paul E. Haeberli. Conman: A visual programming language for interactive graphics. SIGGRAPH Comput. Graph., 1988.

Daniel D Hils. Visual languages and computing survey: Data flow visual programming languages. Journal of Visual Languages & Computing, 1992.

R. C. Gronback. Eclipse Modeling Project: A Domain-Specific Language (DSL) Toolkit. Addison-Wesley, 2009.

Marjan Mernik, Jan Heering, and Anthony M Sloane. When and how to develop domain-specific languages. ACM computing surveys (CSUR), 2005.

Arie Van Deursen and Paul Klint. Domain-specific language design requires feature descriptions. CIT. Journal of computing and information technology, 2002.

Flávio Luiz Schiavoni and Luan Luiz Gonçalves. From virtual reality to digital arts with mosaicode. In 2017 19th Symposium on Virtual and Augmented Reality (SVR), pages 200–206, Curitiba - PR - Brazil, Nov 2017.

Flávio Luiz Schiavoni, Luan Luiz Gonçalves, and André Lucas Nascimento Gomes. Web audio application development with mosaicode. In Proceedings of the 16th Brazilian Symposium on Computer Music, pages 107–114, São Paulo - SP - Brazil, 2017.

Casey Reas and Ben Fry. Processing: a programming handbook for visual designers and artists. Mit Press, 2007. 17th Brazilian Symposium on Computer Music - SBCM 2019

Miller S Puckette et al. Pure data. In ICMC, 1997.

Peter Brinkmann, Peter Kirn, Richard Lawler, Chris McCormick, Martin Roth, and Hans-Christoph Steiner. Embedding pure data with libpd. In Proceedings of the Pure Data Convention. Citeseer, 2011.

Matthew Wright, Richard Dudas, Sami Khoury, Raymond Wang, and David Zicarelli. Supporting the sound description interchange format in the max/msp environment. In ICMC, 1999.

Antonio Camurri, Shuji Hashimoto, Matteo Ricchetti, Andrea Ricci, Kenji Suzuki, Riccardo Trocca, and Gualtiero Volpe. Eyesweb: Toward gesture and affect recognition in interactive dance and music systems. Computer Music Journal, 2000.

Antonio Camurri, Paolo Coletta, Giovanna Varni, and Simone Ghisio. Developing multimodal interactive systems with eyesweb xmi. In Proceedings of the 7th International Conference on New Interfaces for Musical Expression, NIME ’07, pages 305–308, New York, NY, USA, 2007. ACM.

Bill Manaris, Blake Stevens, and Andrew R Brown. Jythonmusic: An environment for teaching algorithmic music composition, dynamic coding and musical performativity. Journal of Music, Technology & Education, 9(1):33–56, 2016.

Yann Orlarey, Dominique Fober, and Stéphane Letz. Faust: an efficient functional approach to dsp programming. New Computational Paradigms for Computer Music, 290:14, 2009.

Z. Jiang, R.W. Allred, and J.R. Hochschild. Multi-rate digital filter for audio sample-rate conversion, 2002.

Flávio Luiz Schiavoni, Antonio José Homsi Goulart, and Marcelo Queiroz. Apis para o desenvolvimento de aplicações de áudio. Seminário Música Ciência Tecnologia, 2012.

Lars Ole Andersen. Program analysis and specialization for the C programming language. PhD thesis, University of Cophenhagen, 1994.

Mark Nelson and Belinda Thom. A survey of real-time midi performance. In Proceedings of the 2004 conference on New interfaces for musical expression, pages 35–38. National University of Singapore, 2004.

Charles Roberts, Graham Wakefield, and Matthew Wright. The web browser as synthesizer and interface. In NIME. Citeseer, 2013.

Udo Zolzer. DAFX: Digital Audio Effects. Wiley Publishing, 2nd edition, 2011.

Marc H Sosnick and William T Hsu. Implementing a finite difference-based real-time sound synthesizer using gpus. In NIME, pages 264–267, 2011.
Como Citar

Selecione um Formato
GONÇALVES, Luan; SCHIAVONI, Flávio Luiz. The development of libmosaic-sound: a library for sound design and an extension for the Mosaicode Programming Environment. In: SIMPÓSIO BRASILEIRO DE COMPUTAÇÃO MUSICAL (SBCM), 17. , 2019, São João del-Rei. Anais [...]. Porto Alegre: Sociedade Brasileira de Computação, 2019 . p. 99-105. DOI: