Live Coding Towards Computational Creativity

Alex McLean, Geraint A. WigginsIccc 2010

Abstract

This paper investigates the practice of live coding—the real-time improvisation of music and visual art through programming—as a foundational framework for developing autonomous computational creativity. By analyzing a qualitative survey of expert practitioners within the TOPLAP community, the study explores how high-level abstractions and immediate feedback loops facilitate a unique creative process. The findings suggest that the methodologies used by human live coders provide a blueprint for designing software agents capable of genuine artistic agency rather than mere execution.

Introduction: The Authorship Dilemma in Generative Art

A central challenge in digital art is the "confusion of authorship." When a computer generates a complex melody or visual, the distinction between the programmer’s creativity and the software’s output often becomes blurred. Traditional generative art frequently suffers from a "stuttered" creative process: the artist writes code, executes it, observes the result, and then restarts the cycle. This disconnect limits the potential for fluid, spontaneous creation.

Live coding addresses this barrier by allowing the artist to modify the underlying rules of the system while it is running. This paper seeks to understand how human practitioners navigate these formal systems to achieve "transformational creativity," with the ultimate goal of leveraging these insights to build creative software agents capable of performing alongside or independently of human artists.

Methodology

The researchers conducted a qualitative study involving 32 expert members of TOPLAP, the preeminent global community for live coding. These participants represented the six most prominent live coding environments. To ensure unbiased responses, the term "creativity" was intentionally omitted from the initial survey materials.

The study utilized the Creative Systems Framework (CSF) as a theoretical lens to analyze responses across three primary dimensions:

  1. Language Customization: The extent to which coders modify their tools.
  2. Code vs. Result: The relationship between the source code and the resulting aesthetic output.
  3. Future Outlook: The perceived potential for computational agents to achieve human-level performance.

Key Insights and Conceptual Frameworks

Code as Artistic Style

Rather than viewing code as a mere set of instructions, 56.7% of respondents identified their code as a description of their personal artistic style. This suggests that for a creative AI to be successful, it must move beyond generating specific outputs and instead develop a consistent stylistic "DNA" within its codebase.

Language Evolution and Abstraction

Live coding is characterized by a high degree of tool-building. The survey revealed that 69% of respondents created their own functional libraries, and 17% designed entirely new programming languages. This indicates that a truly creative software agent would require the capacity to evolve its own vocabulary and conceptual space. Furthermore, live coding forces artists to work at a level of abstraction removed from the immediate sound or pixel, a "deferred time" composition style that aligns with how computational agents must operate.

Spontaneity and the Impulsive Choice

Despite the perception of coding as a purely cerebral activity, practitioners emphasized the importance of impulsive, risky choices. The high-velocity nature of live performance fosters spontaneity, allowing artists to change their conceptual framework on the fly. This "transformational creativity" is a critical benchmark for future AI agents.

Results and Future Outlook

The Path to AI Integration

There is significant optimism regarding the integration of AI in live coding environments. Over 90% of respondents supported the development of features designed to provide "artistic inspiration" to human coders. This suggests a transition toward collaborative human-AI performances.

The Turing Test for Code

Opinions on whether a computer agent could ever be indistinguishable from a human live coder were divided. While 34.6% of participants believed this was impossible, 50% argued that such a feat is either currently possible or will be within the next five years. Additionally, 40.7% of respondents claimed that live code can already "modify itself in an artistically valued manner," highlighting a growing acceptance of autonomous software agency.

Limitations and Conclusion

While the study is limited by its sample size of 32 respondents, it provides a representative snapshot of a highly specialized community. The authors propose the establishment of a new field: the "musicology of live coding." By deconstructing the code behind successful improvisations, researchers can identify the correlations between formal language expressions and musical forms. Mapping these relationships is the essential stepping stone for moving from human-led performances to truly creative software agents that understand the aesthetic and emotional impact of the code they generate.

Summary updated

BibTeX
@inproceedings{mclean2010live,
  author = {Alex McLean and Geraint A. Wiggins},
  title = {{Live Coding Towards Computational Creativity}},
  booktitle = {Iccc},
  year = {2010},
}
Figure