Benchmarking LLM Code Generation for Audio Programming with Visual Dataflow Languages
William Zhang, Maria Leon, Ryan Xu, Adrian Cardenas, Amelia Wissink,, Hanna Martin, Maya Srikanth, Kaya Dorogi, Christian Valadez, Pedro Perez,, Citlalli Grijalva, Corey Zhang, Mark Santolucito

TL;DR
This paper evaluates how large language models generate code for audio programming in visual dataflow languages, comparing different representation levels and methods to improve correctness and complexity of generated code.
Contribution
It systematically compares code generation at multiple levels of representation for visual audio programming languages using LLMs, highlighting the effectiveness of metaprogramming approaches.
Findings
Metaprogramming yields more semantically correct code.
Richer prompts with randomness and loops increase code complexity.
Code correctness depends on well-formedness of generated code.
Abstract
Node-based programming languages are increasingly popular in media arts coding domains. These languages are designed to be accessible to users with limited coding experience, allowing them to achieve creative output without an extensive programming background. Using LLM-based code generation to further lower the barrier to creative output is an exciting opportunity. However, the best strategy for code generation for visual node-based programming languages is still an open question. In particular, such languages have multiple levels of representation in text, each of which may be used for code generation. In this work, we explore the performance of LLM code generation in audio programming tasks in visual programming languages at multiple levels of representation. We explore code generation through metaprogramming code representations for these languages (i.e., coding the language using a…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsBIM and Construction Integration · Music Technology and Sound Studies · Manufacturing Process and Optimization
MethodsSparse Evolutionary Training
