Targeting Multiple Creative Coding Environments Efficiently with Modern C++

Alex Harker, Owen Green

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Across the musical creative coding community, a number of creative coding environments are in use that support compiled extensions via C APIs. Because these APIs are quite different, innovative extensions rarely end up diffusing through the whole community. This contributes to undesirable siloing, loss of potential musical innovation, and community fragmentation. Whilst there have been some limited prior efforts to make it easier to produce portable code, there is currently no general solution to this problem. Here we explore the potential of addressing this problem in the context of modern C++. We describe the requirements for portability between the Max, pd, and SuperCollider environments along with modern C++ constructs that can be used to fulfil these requirements. To make this concrete, we then describe two relatively mature medium-scale projects, FrameLib and FluCoMa, detailing how the codebases for these projects make use of C++ to produce portable exten sions, balancing different sets of priorities. The hope is that sharing and documenting these techniques helps to demystify the potential of modern C++ as a powerful resource for making useful and shareable computing resources benefitting the wider musical creative coding community.
Original languageEnglish
Title of host publicationProceedings - 50th International Computer Music Conference
Subtitle of host publicationCuriosity, Play, Innovation, ICMC 2025
EditorsAnthony Paul De Ritis, John Mallia, Victor Zappi, Akito van Troyer, Amber Vistein
PublisherInternational Computer Music Association
Pages192-199
Number of pages8
ISBN (Electronic)9781951748005
ISBN (Print)9798331329792
Publication statusPublished - 6 Aug 2025
EventInternational Computer Music Conference: 50th Anniversary - Boston , United States
Duration: 8 Jun 202514 Jun 2025
Conference number: 50
https://icmc2025.sites.northeastern.edu

Publication series

NameInternational Computer Music Conference, ICMC Proceedings
PublisherInternational Computer Music Association
ISSN (Print)2223-3881

Conference

ConferenceInternational Computer Music Conference
Abbreviated titleICMC
Country/TerritoryUnited States
CityBoston
Period8/06/2514/06/25
Internet address

Fingerprint

Dive into the research topics of 'Targeting Multiple Creative Coding Environments Efficiently with Modern C++'. Together they form a unique fingerprint.
  • Fluid Corpus Manipulation Toolbox

    Tremblay, P. A. (Developer), Green, O. (Developer), Roma, G. (Developer), Bradbury, J. (Developer), Moore, T. (Developer), Hart, J. (Developer) & Harker, A. (Developer), 7 Jul 2022

    Research output: Non-textual formSoftware

    Open Access
  • FrameLib: Audio DSP using frames of arbitrary length and timing

    Harker, A., 2017, 2017 ICMC/EMW - 43rd International Computer Music Conference and the 6th International Electronic Music Week. Shanghai: Shanghai Conservatory of Music, Vol. 2. p. 271-278 8 p.

    Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Cite this