Already done this before:
Although this uses the old giant TypeScript file method so it’s harder to use in a game.
Also please search the forum before you ask, thanks
If you have a MIDI file of it already, you can also use the instructions I posted to convert it and use the new method as well in the last post I made in this thread.