Abstract
This paper presents Tidal-MerzA, a novel system designed for collaborativeperformances between humans and a machine agent in the context of live coding,specifically focusing on the generation of musical patterns. Tidal-MerzA fusestwo foundational models: ALCAA (Affective Live Coding Autonomous Agent) andTidal Fuzz, a computational framework. By integrating affective modelling withcomputational generation, this system leverages reinforcement learningtechniques to dynamically adapt music composition parameters within theTidalCycles framework, ensuring both affective qualities to the patterns andsyntactical correctness. The development of Tidal-MerzA introduces two distinctagents: one focusing on the generation of mini-notation strings for musicalexpression, and another on the alignment of music with targeted affectivestates through reinforcement learning. This approach enhances the adaptabilityand creative potential of live coding practices and allows exploration ofhuman-machine creative interactions. Tidal-MerzA advances the field ofcomputational music generation, presenting a novel methodology forincorporating artificial intelligence into artistic practices.