Here’s a chart that shows the most common music implementation methods that are commonly used in games.
It’s a good idea to begin with a detailed plan before starting to compose and implement music. These methods help define the structure and constraints of the music design, and can be considered “modules” that are either combined or used independently, depending on the requirements. They also facilitate faster and more concrete communication between collaborators.
I hope you find this helpful for your game projects when designing music!