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

Dynamic Programming Algorithms Applied to Musical Counterpoint in Process Composition: An Example Using Henri Pousseur’s Scambi

Version 1 : Received: 29 June 2020 / Approved: 30 June 2020 / Online: 30 June 2020 (08:17:20 CEST)

How to cite: Cochrane, L.J.; Gatherer, D. Dynamic Programming Algorithms Applied to Musical Counterpoint in Process Composition: An Example Using Henri Pousseur’s Scambi. Preprints 2020, 2020060359. https://doi.org/10.20944/preprints202006.0359.v1 Cochrane, L.J.; Gatherer, D. Dynamic Programming Algorithms Applied to Musical Counterpoint in Process Composition: An Example Using Henri Pousseur’s Scambi. Preprints 2020, 2020060359. https://doi.org/10.20944/preprints202006.0359.v1

Abstract

The Needleman-Wunsch process is a classic tool in bioinformatics, being a dynamic programming algorithm that performs a pairwise alignment of two input biological sequences, either protein or nucleic acid. A distance matrix between the tokens used in the sequences is also required as input. The distance matrix is used to generate a positional pairwise similarity matrix between the input sequences, which is in turn used to generate a dynamic programming matrix. The best path through the dynamic programming matrix is navigated using a traceback procedure that maximises similarity, inserting gaps as necessary. Needleman-Wunsch can align both nucleic acids or proteins, which use alphabets of size 4 and 20 tokens respectively. It can also be applied to any other kind of sequence where distance matrices can be specified. Here, we apply it to chains of Pousseur’s Scambi electronic music fragments, of which there are 32, and which Pousseur categorised by their sonic properties, thus permitting the consecutive construction of distance, similarity and dynamic programming matrices. Traceback through the dynamic programming matrix thus produces contrapuntal duet compositions in which two Scambi chains are played in the maximally euphonious manner, providing also an illustration of the principles of biological sequence alignment in sound.

Supplementary and Associated Material

https://dx.doi.org/10.17635/lancaster/researchdata/373: Code and 3 illustrative compositions
https://doi.org/10.17635/lancaster/researchdata/334: Pousseur's original Scambi components

Keywords

Scambi; Bio-Art; Bio-Music; music; counterpoint; process composition; dynamic programming; Needleman-Wunsch algorithm; global alignment

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.