Nothing Special   »   [go: up one dir, main page]

skip to main content
10.1145/3677996.3678295acmconferencesArticle/Chapter ViewAbstractPublication PagesicfpConference Proceedingsconference-collections
demonstration

Demo: A Geometric Approach to Generate Musical Rhythmic Patterns in Haskell

Published: 02 September 2024 Publication History

Abstract

We present work-in-progress on RTG, a domain specific language embedded in Haskell designed to explore the affordances of geometry as a means to generate and manipulate rhythmic patterns in live coded music. Examples of how simple geometry is capable of producing interesting rhythms are shown to support our use of binary lists as a pattern representation. We introduce Erlangen’s Program notion of geometry as encoded in groups, using such structure as the focus of a combinator interface based on an archetypal RhythmicPattern type implemented using a type class. Examples of the interface usage are provided. Future work targets the definition of Group instances for the rhythmic pattern types such that the group laws are fulfilled and its operations lift to the interface in a musically coherent and engaging way.

References

[1]
Heinrich Apfelmus. 2019. Demo: Functors and Music. In Proceedings of the 7th ACM SIGPLAN International Workshop on Functional Art, Music, Modeling, and Design. ACM, Berlin Germany. 52–55. isbn:978-1-4503-6811-7 https://doi.org/10.1145/3331543.3342582
[2]
Eric F. Clarke. 1999. Rhythm and Timing in Music. In The Psychology of Music (Second Edition), Diana Deutsch (Ed.). Academic Press, San Diego. 473–500. isbn:978-0-12-213564-4 https://doi.org/10.1016/B978-012213564-4/50014-7
[3]
Micho Durdevich. 2017. Music of Quantum Circles. In The Musical-Mathematical Mind: Patterns and Transformations, Gabriel Pareyon, Silvia Pina-Romero, Octavio A. Agustín-Aquino, and Emilio Lluis-Puebla (Eds.). Springer International Publishing, Cham. 99–110. isbn:978-3-319-47336-9 978-3-319-47337-6 https://doi.org/10.1007/978-3-319-47337-6
[4]
Conal Elliott. 2009. Push-Pull Functional Reactive Programming. In Proceedings of the 2nd ACM SIGPLAN Symposium on Haskell (Haskell ’09). Association for Computing Machinery, New York, NY, USA. 25–36. isbn:978-1-60558-508-6 https://doi.org/10.1145/1596638.1596643
[5]
Xavier Góngora. 2023. Rhythm, Time and Geometry. In Algorithmic Pattern Salon. Then Try This. https://doi.org/10.21428/108765d1.e65cd604
[6]
2015. Sophus Lie and Felix Klein: The Erlangen Program and Its Impact in Mathematics and Physics, Lizhen Ji and Athanase Papadopoulos (Eds.) (IRMA Lectures in Mathematics and Theoretical Physics). European Mathematical Society, Zürich. isbn:978-3-03719-148-4 lccn:QA443.5 .S67 2015
[7]
Felix Klein. 1983. A Comparative Review of Recent Researches in Geometry. Bulletin of the New York Mathematical Society, 2, 10 (1983), July, 215–249. issn:2638-938X, 2638-9398
[8]
Alex McLean. 2014. Making Programming Languages to Dance to: Live Coding with Tidal. In Proceedings of the 2nd ACM SIGPLAN International Workshop on Functional Art, Music, Modeling & Design (FARM ’14). Association for Computing Machinery, New York, NY, USA. 63–70. isbn:978-1-4503-3039-8 https://doi.org/10.1145/2633638.2633647
[9]
Alex McLean. 2020. Algorithmic Pattern. In Proceedings of the International Conference on New Interfaces for Musical Expression. Birmingham City University, Birmingham, UK. 265–270. https://doi.org/10.5281/zenodo.4813352
[10]
Orestis Melkonian, Iris Yuping Ren, Wouter Swierstra, and Anja Volk. 2019. What Constitutes a Musical Pattern? In Proceedings of the 7th ACM SIGPLAN International Workshop on Functional Art, Music, Modeling, and Design. ACM, Berlin Germany. 95–105. isbn:978-1-4503-6811-7 https://doi.org/10.1145/3331543.3342587
[11]
John Stillwell. 1998. Numbers and Geometry. Springer, New York, NY. isbn:978-1-4612-6867-3 978-1-4612-0687-3 https://doi.org/10.1007/978-1-4612-0687-3
[12]
Godfried Toussaint. 2005. The Euclidean Algorithm Generates Traditional Musical Rhythms. In Renaissance Banff: Mathematics, Music, Art, Culture : Conference Proceedings 2005, Reza Sarhangi and Robert V. Moody (Eds.). Bridges Conference, Southwestern College, Winfield, Kansas. 47–56. isbn:0-9665201-6-5
[13]
Godfried T Toussaint. 2020. The Geometry of Musical Rhythm: What Makes a "Good" Rhythm Good? (second edition ed.). CRC Press, Boca Raton London New York. isbn:978-0-8153-7097-0 978-0-8153-5038-5
[14]
I. M. Yaglom. 1988. Felix Klein and Sophus Lie: Evolution of the Idea of Symmetry in the Nineteenth Century. Birkhäuser, Boston. isbn:978-0-8176-3316-5 lccn:QA443.5 .I1813 1988

Index Terms

  1. Demo: A Geometric Approach to Generate Musical Rhythmic Patterns in Haskell
        Index terms have been assigned to the content through auto-classification.

        Recommendations

        Comments

        Please enable JavaScript to view thecomments powered by Disqus.

        Information & Contributors

        Information

        Published In

        cover image ACM Conferences
        FARM 2024: Proceedings of the 12th ACM SIGPLAN International Workshop on Functional Art, Music, Modelling, and Design
        September 2024
        75 pages
        ISBN:9798400710995
        DOI:10.1145/3677996
        • General Chair:
        • Mae Milano,
        • Program Chair:
        • Stephen Taylor
        Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for third-party components of this work must be honored. For all other uses, contact the owner/author(s).

        Sponsors

        Publisher

        Association for Computing Machinery

        New York, NY, United States

        Publication History

        Published: 02 September 2024

        Permissions

        Request permissions for this article.

        Check for updates

        Author Tags

        1. Erlangen program
        2. functional programming
        3. geometry
        4. group theory
        5. live coding
        6. music
        7. pattern
        8. rhythm

        Qualifiers

        • Demonstration

        Conference

        FARM '24
        Sponsor:

        Acceptance Rates

        Overall Acceptance Rate 19 of 23 submissions, 83%

        Upcoming Conference

        ICFP '25
        ACM SIGPLAN International Conference on Functional Programming
        October 12 - 18, 2025
        Singapore , Singapore

        Contributors

        Other Metrics

        Bibliometrics & Citations

        Bibliometrics

        Article Metrics

        • 0
          Total Citations
        • 29
          Total Downloads
        • Downloads (Last 12 months)29
        • Downloads (Last 6 weeks)6
        Reflects downloads up to 12 Nov 2024

        Other Metrics

        Citations

        View Options

        Get Access

        Login options

        View options

        PDF

        View or Download as a PDF file.

        PDF

        eReader

        View online with eReader.

        eReader

        Media

        Figures

        Other

        Tables

        Share

        Share

        Share this Publication link

        Share on social media