Abstract:
This article presents MuSiTeX, a Domain-Specific Language (DSL) designed to simplify music composition and address the frustrations composers experience with traditional notation software. Aimed at musicians, educators, and developers, the study connects music theory with programming through an accessible text-based approach that enhances both workflow efficiency and creative flexibility. MuSiTeX builds on familiar musical concepts, allowing composers to write music without wrestling with technical MIDI complexities. The implementation includes tools that convert commands into both MIDI files and sheet music, with helpful error guidance for users. The outcomes show this approach significantly reduces time spent on technical tasks, makes composition more accessible to non-programmers, and fosters valuable collaboration between music and computer science field. Further refinement of the language and exploration of its applications in music production and education remain ongoing.