Thematic Synthesis: Rethinking Generative Music with Compositional Understanding in Game and Software Development