Indietro

Writing Scores for Gesture-Based and Virtual Reality Instruments

Di Enrico Benato 03/11/2026

Abstract

This contribution explores methods to write musical scores with instruments involving gestures, movements and spatial-based interactions. In recent years, new interfaces for musical expression have become a field of research which involves traditional, augmented and virtual instruments. Therefore, nowadays musical systems process motion data from body and space to serve as musical interfaces based on gestures, movements, accelerations and machine learning based gestures identification. In this context, writing musical scores for gesture-based instruments becomes a topic with unlimited possibilities. From hand-written notations, to Virtual reality (VR) videos and interactive scores, when realising new instruments, it becomes possible to open new doors for musical notation. For this purpose, many contributions have been written. As an illustration, few but relevant examples articles and books are Collaborative Musical Expression Through Interactive VR Scores1, New Digital Musical Instruments: Control and Interactions Beyond the Keyboard2, Musical Scores for Virtual Reality Headsets3, which demonstrates what these new interfaces can do, and how notation can evolve for these systems. Writing scores for these emerging musical interfaces becomes crucial to explore and extend gesture and space-based possibilities, and this can allow to extend improvisational and guided scores, intersections of fixed indications and freedom of combinations and expressions. In this contribution, there will be illustrated examples on how to write spatial-based notations, followed by conventional diagrams adopted by software engineers, in order to describe electronic instruments in a conventional way. For this demonstration, it will be taken as an example a VR instrument personally designed called Corpus XYZ, a three-dimensional cube producing concatenative synthesis based on positions and gestures in space.

Keywords: Sound and music signal processing – Hardware/software systems – Musical Complex Systems – Musical Applications of Artificial Intelligence and Machine Learning – Aesthetics of computer and interactive music – Computing in sound art practices – Analysis and interpretation of electroacoustic and computer music repertoire – Extended, Distributed and Posthuman Agency in Composing and Performing -Modelling musical gesture -New interfaces for musical expression – Musical applications of VR, XR and the Metaverse

1 Intro

The proposed notation methods, written for augmented reality and gesture-based instruments, researches the use of space as a form of musical expression. The musical notation explores the balance between a predetermined form and improvisation, based on indications from provided rhythms and gestures. In this context, the performer researches expressive forms through interactions with three-dimensional instruments, related to a real space. The musical expression interfaces allow to represent movements and positions in timbre parameters, transforming gestures into sound synthesis. For this purpose, Artificial Intelligence and Machine Learning can be applied in the form of Machine Vision, thereby becoming an assistive algorithm, allowing the intersection of virtual and real elements. This system researches posthuman agency modeling in New Interfaces for Musical Expression. The resulting score is based on the research of timbre interactions: the proposed materials meet in an electroacoustic space in which sounds can interact through different articulations. The performance requires the interpreters to listen actively during the performance. The knowledge of the instrument and the assigned sounds becomes the key for building timbral and rhythms, contributing to a musical dialogue between timbres and space.

2 Unified Modeling Language

Nowadays, digital luthiery excel for its unlimited potentials possible with mapping4. For this reason, it becomes essential to define virtual instruments in all of their aspects. This purpose is possible using the Unified Modeling Language5 (UML). The proposed method is a standardized, general-purpose graphical language used in software engineering to visualize, specify, construct, and document the software and hardware systems. Similarly to a programming language, UML serves as a visual blueprint that allows developers and stakeholders to communicate a system’s design and architecture clearly. Version 2.5.1, maintained by the Object Management Group (OMG), categorizes diagrams into two main types: structural diagrams, which define the static organization of the system, such as Class or Component diagrams, and behavioral diagrams, which describe the dynamic logic and interactions over time, such as Use Case, Activity, or Sequence diagrams. By providing a common vocabulary, UML helps teams manage the complexity of large software projects and ensures that the conceptual design aligns with the final implementation, thereby allowing them to write electroacoustic music scores involving specific instrument configurations.

3 Practical Example

As a demonstration, an illustration of the construction of an Augmented Reality (AR) interface will be shown, connected to a virtual synthesizer software. The proposed instrument, Corpus XYZ, is a three-dimensional synthesizer where space represents the organization of timbral positions through psychoacoustic and mathematical parameters. The following classifications allow for differential evaluations between sounds based on pitch, volume, and timbral variation through spectral analysis. There are several methods of acoustic timbre classification, which can be used to research timbral trajectories and positions in multidimensional spaces. In this context, Corpus XYZ features the interface of a 3D cube, in which the Cartesian axes correspond to the sounds of an audio file, previously analyzed and divided into transients. The results of the analyses are repositioned within the cube via coordinates, reordered through McAdams’ space theory6, where the x-axis corresponds to the centroid, y-axis to the spectral flux or variation over time, and z-axis represents the duration of the transients. By pressing the trigger of either of the two controllers within the area, the instrument is activated, producing timbres relative to a proximity vector of the sounds allocated in the virtual space, with a crossfade area between all points determined by the user. The various divided timbres are allocated samples with respect to the three-dimensional proximity vector. Consecutively, the mix from the samplers enters a granulator that writes the audio into an array and divides it into polyphonic instances with random delays ranging between 0 and 100 milliseconds. The sounds can be grouped according to aesthetic choices—for example, arrays formed by families of similar sounds, such as synthesizers, materials like glass or metal, or other more abstract groupings into different instances of a polyphonic looping sampler, and their output becomes the overall mix.

Fig.1 Corpus XYZ space representation. In this example, traditional instrument sounds are placed in a space based on their acoustic properties. 

 

Below is illustrated the flow chart of the audio analysis process. The Flow Chart is an essential diagram to illustrate the software structure in all of its processes. In this example the order of execution is specified by arrows. The shape of the block defines if it’s a data input or a process, respectively trapezoid or rectangles. The software is contained between circular shapes defining the start and the end of the processes.

Fig. 2 Flux Diagram of the analysed audio array

 

The flow chart of the synthesis algorithm for vector psychoacoustic classification is illustrated below.

 

Fig. 3 Flow chart of vector synthesis for Corpus XYZ

The Control Flow Diagram below illustrates the execution order of the data acquisition and synthesis processes, highlighting the temporal sequence from top to bottom. Each horizontal line represents a process, while the vertical axis represents time.

 

Fig. 4 Corpus XYZ Control flow Diagram 

 

The Interaction Diagram illustrates the connection between the virtual interface and the audio synthesis. Rectangles with sharp corners represent input data, based on the interactions provided by the instrument through the headset. Rectangles with rounded corners represent software and processes. The diamond represents the system’s behavioral possibilities, based on logical conditions. In the following interaction diagrams, it will be associated the VR interface to the synthesis engine software, parts of Corpus XYZ instrument.

 

Fig. 5 Corpus XYZ Interaction Diagram 

 

4 Spatial-based notations

Throughout a live electronic piece, instruments can possess specific gestures7. For the purpose of establishing specifications for these movements, it is recommended to document them in the form of videos, illustrations and any symbol which can help in understanding the action exposed. Below it is shown the shape of a cube, with arrows indicating the direction of the gesture to execute. The following image is created with a dedicated 3D modeling software, thereby becoming an essential tool to describe and shaping three-dimensional interactions, allowing to produce shapes, human-based rigs figures and animations.

 

Fig. 6 Corpus XYZ Gesture interactions

In the next example, it will be illustrated a VR joystick, which plays the role of an additional expressive control, exposing part of its parameters for sound spatialisation, namely multichannel positioning. The joysticks included in the VR headset allow for the measurement of the controllers’ orientation through angular velocity, thanks to the implementation of a gyroscope. Consequently, the positioning of the sources produced by the instruments is related to the horizontal (x) and vertical (y) axes of rotation. Specifically, the x-axis controls the position of the instrument’s sound, where the maximum horizontal orientation of the hand toward the right corresponds to the extreme right position of the multichannel system, and vice versa for the left side. Thanks to this correlation, the horizontal orientation of the hand allows the sound to move through a virtual spatialization across all intermediate positions between the channels, from right to left. Finally, the y-axis corresponds to the focal point (spread) of the sound distributed across all sources. The described connection implies the focusing of the sound diffusion into a single speaker or a restricted point when the hand is in a horizontal position. Therefore, by orienting the hand upward, the sound is distributed uniformly to the right and left of the multichannel system. In conclusion, the illustrated mapping describes the expressive controls related to spatialization, which will freely follow, according to the performer’s choices, the rhythmic indications of the score.

Fig. 7 Joysticks spatial gestures interactions

Overall, the proposed illustrations demonstrate specific cases for instruments designed for movements in the space, thereby consolidating possible expressions on images.

5 Improvisation possibilities and combinations in musical tables

In the field of electronic music, it is possible to describe a score with tables of execution, blending traditional and modern notations, designing a balance between freedom of expression, strict rules and possible combinations, within the described essential provided materials. In the illustration below, tables of musical parameters are defined. First, it is possible to choose between two rhythmic figures and gestures from the header specifications. Second, the table defines within columns dynamics, prescriptions of whether to perform gestures or not, sound preset number identifier, and finally when to record and play a section of the performance with a looper.

Fig. 7 Performer Tables

In the next figure, it is demonstrated the method to perform gesture improvisations from the header figures. In this context, it is defined to perform the illustrated gestures, with a specified length based on the rhythmic figure. For instance, performing a circular movement in a 4/4 length in 60 bpm, corresponding to 4 seconds. If certain gestures are not cyclic—meaning the starting point does not coincide with the ending point—it is necessary to transition “instantaneously” to the starting point of the next gesture upon completion of the current one. In the case of an illustration of an area inside of the cube, move your hand freely within the indicated areas, performing gestures defined by specific rhythmic figures.

 

Fig. 8 Table of possibilities for guided improvisation

6 Conclusions

Overall, this contribution has addressed challenges in contemporary digital luthiery and interactive composition: the development of a systematic methodology to formally document, score, and replicate performances involving Virtual, Augmented and Augmented Reality Musical Instruments. By shifting the design paradigm toward spatial instruments, interfaces such as Corpus XYZ unlock a multi-dimensional creative space where geometry, psychoacoustic analysis, and performer agency are deeply intertwined. The notation system proposed in this text intends to bridge the gap between technical engineering and artistic performance. On one hand, the integration of Unified Modeling Language (UML 2.5.1) diagrams—including Flux, Control Flow, and Interaction diagrams—provides a rigorous, industry-standard visual blueprint. This ensures that the complex internal logic of the digital instrument, from transient analysis to polyphonic granular synthesis, is documented in a universally accessible and unambiguous language for software engineers and future developers. Ultimately, the standardization strategies demonstrated through Corpus XYZ prove that combining software engineering modeling tools with kinetic 3D visualizations can guarantee the philological preservation and historical reproducibility of interactive digital music. As music technology continues to merge with the metaverse, gesture-based and extended reality frameworks, these methodologies lay a foundation toward a universal, unified notation system for the posthuman musical ecosystem.

 

Bibliography

 

1 Mclean A., Ng K., & Wiggins G. , 2010, Collaborative Musical Expression Through Interactive VR Scores, Proceedings of the International Conference on New Interfaces for Musical Expression, Sydney.

 

2 Miranda E. R., & Wanderley M. M. , 2006, New Digital Musical Instruments: Control and Interaction Beyond the Keyboard, A-R Editions, Middleton.

 

3 Berndt A., 2018, Musical Scores for Virtual Reality Headsets, Proceedings of the International Computer Music Conference, Daegu.

 

4 Jensenius A. R., & Lyons M. J. (Eds.), 2017, A NIME Reader: Fifteen Years of New Interfaces for Musical Expression, Springer, Cham.

 

5 Object Management Group (OMG), 2019, Unified Modeling Language (OMG UML) Specification Version 2.5.1, OMG, Needham.

6 McAdams S., Smith B., & Winsberg S., 2005, Acoustic correlates of timbre space dimensions: A confirmatory study using synthetic tones, Institut de Recherche et Coordination Acoustique/Musique (STMS-IRCAM-CNRS).

7 Wanderley M. M., & Depalle P., 2004, Gestural Control of Sound Synthesis, Proceedings of the IEEE, Vol. 92, No. 4, New York.