Benchmarking LLM Code Generation for Audio Programming with Visual Dataflow Languages

Benchmarking LLM Code Generation for Audio Programming with Visual Dataflow Languages

arXiv:2409.00856v1 Announce Type: new Abstract: Node-based programming languages are more and more widespread in media arts coding domains. These languages are designed to be accessible to customers with restricted coding expertise, permitting them to attain inventive output with out an in depth programming background. Using LLM-based code era to additional decrease the barrier to inventive output is an thrilling alternative. However, the very best technique for code era for visible node-based programming languages continues to be an open query. In specific, such languages have a number of ranges of illustration in textual content, every of which can be used for code era. In this work, we discover the efficiency of LLM code era in audio programming duties in visible programming languages at a number of ranges of illustration. We discover code era via metaprogramming code representations for these languages (i.e., coding the language utilizing a distinct high-level text-based programming language), in addition to via direct node era with JSON. We consider code generated on this means for 2 visible languages for audio programming on a benchmark set of coding issues. We measure each correctness and complexity of the generated code. We discover that metaprogramming leads to extra semantically appropriate generated code, on condition that the code is well-formed (i.e., is syntactically appropriate and runs). We additionally discover that prompting for richer metaprogramming utilizing randomness and loops led to extra advanced code.

HI-FI News

by way of cs.SE updates on arXiv.org https://ift.tt/95HGAhR

September 4, 2024 at 03:33PM