Preprint Article Version 1 Preserved in Portico This version is not peer-reviewed

Playing Algorithms: Finite State Machines with Datapath in Music-Domain Visual Languages

Version 1 : Received: 8 March 2023 / Approved: 9 March 2023 / Online: 9 March 2023 (14:13:14 CET)

How to cite: Tavares, T.; Fornari, J.E. Playing Algorithms: Finite State Machines with Datapath in Music-Domain Visual Languages. Preprints 2023, 2023030182. https://doi.org/10.20944/preprints202303.0182.v1 Tavares, T.; Fornari, J.E. Playing Algorithms: Finite State Machines with Datapath in Music-Domain Visual Languages. Preprints 2023, 2023030182. https://doi.org/10.20944/preprints202303.0182.v1

Abstract

Music-domain visual programming languages (VPLs) have shown to be Turing complete. However, the common lack of built-in flow control structures can obstruct using VPLs implementing general-purpose algorithms, which harms the direct use of algorithms and algorithm theory in art creation processes using VPLs. In this article, we show how to systematically implement general-purpose algorithms in music-domain visual languages by using the Finite State Machines with Datapath computation model. The results expose a finite state machine and a set of internal state variables that walk paths whose speed can be controlled using a metronome ticks and whose path depends on the initial conditions of the algorithm. These elements can be further mapped to music elements according to the musician's intentions. We demonstrate this technique by implementing Euclid's Greatest Common Divider algorithm and using it to control high-level music elements in an implementation of Terry Riley's In C, and to control audio synthesis parameters in a FM synthesizer.

Keywords

Algorithmic Composition; Finite State Machine with Datapath; Pure Data; Max/MSP; Paradigm Shift; Sound Synthesis Control

Subject

Arts and Humanities, Music

Comments (0)

We encourage comments and feedback from a broad range of readers. See criteria for comments and our Diversity statement.

Leave a public comment
Send a private comment to the author(s)
* All users must log in before leaving a comment
Views 0
Downloads 0
Comments 0
Metrics 0


×
Alerts
Notify me about updates to this article or when a peer-reviewed version is published.
We use cookies on our website to ensure you get the best experience.
Read more about our cookies here.