Issue |
Acta Acust.
Volume 7, 2023
|
|
---|---|---|
Article Number | 58 | |
Number of page(s) | 6 | |
Section | Musical Acoustics | |
DOI | https://doi.org/10.1051/aacus/2023055 | |
Published online | 14 November 2023 |
Technical & Applied Article
How to build a MATLAB demonstrator solving dynamical systems in real-time, with audio output and MIDI control
1
Buffet Crampon, Mantes-la-Ville, France
2
Aix Marseille Univ, CNRS, Centrale Marseille, LMA, Marseille, France
* Corresponding author: tom.colinot@buffetcrampon.com
Received:
21
July
2023
Accepted:
10
October
2023
This paper explains and provides code to synthesize and control, in real-time, the audio signals produced by a dynamical system. The code uses only the Matlab programming language. It can be controlled with an external MIDI (Musical Instrument Data Interface) device, such as a MIDI keyboard or wind controller, or with mouse-operated sliders. In addition to the audio output, the demonstrator computes and displays the amplitude and fundamental frequency of the signal, which is useful to quantify the dynamics of the model. For the sake of this example, it is a type of Van der Pol oscillator, but more complex systems can be handled. The demonstrator holds potential for pedagogical and preliminary research applications, for various topics related to dynamical systems: direct and inverse bifurcations, transient effects such as dynamical bifurcations, artifacts introduced by integration schemes, and above all, the dynamics of self-sustained musical instruments.
Key words: Matlab / Real-time audio / Sound synthesis / Virtual musical instruments / Dynamical systems
© The Author(s), Published by EDP Sciences, 2023
This is an Open Access article distributed under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
Current usage metrics show cumulative count of Article Views (full-text article views including HTML views, PDF and ePub downloads, according to the available data) and Abstracts Views on Vision4Press platform.
Data correspond to usage on the plateform after 2015. The current usage metrics is available 48-96 hours after online publication and is updated daily on week days.
Initial download of the metrics may take a while.