Retrofitting a Virtual Instrument DSL with Programming Abstractions
KSP is an imperative DSL in music production that enables realistic modelling of musical instruments in real-time using Kontakt as a runtime environment. Once a niche topic for hobbyists, the field has since professionalized, with Kontakt becoming an industry standard. Its scripting language, however, has not evolved much, lacking modern functional and data abstractions while remaining closed-source. This paper proposes transformations that introduce modularity and basic abstraction principles to KSP. This entails functions with parameters and return values, recursive data types, and the implementation of lexical scope to replace the current global variable management. The transformations have been implemented in a preprocessing compiler framework–preceding the actual KSP interpreter–to an extend, that allows for the new syntax elements to be used in real-world KSP scripts.
Thu 3 JulDisplayed time zone: Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna change
14:00 - 15:45 | |||
14:00 35mTalk | Integrating Static Optimization and Dynamic Nature in JavaScript GPCE DOI Media Attached | ||
14:35 35mTalk | P4DDG: data-dependent grammars for packet specification and parsing in P4 GPCE Tommaso Pacciani University of Amsterdam, Damian Frölich University of Amsterdam, L. Thomas van Binsbergen University of Amsterdam, Chrysa Papagianni University of Amsterdam Link to publication DOI Pre-print | ||
15:10 35mTalk | Retrofitting a Virtual Instrument DSL with Programming Abstractions GPCE |