Open the digital sound production software program on the computer. Select a new file for a new project and save it accordingly.
Choose the instruments you want to use for the keygen music. As the music designer, you have creative freedom to make the music sound however you want. You can add drum beats, electronic keyboard sounds, flute notes or other instruments for your keygen music.
Record the music in the program as you design it. For instance, if you first get the drum beat down, you can record it and play it in the background as you experiment with other instruments or sound effects. Customize the tempo of the music as you work with it. Record the instruments one at a time. Save the file periodically so that you don't risk losing what you've worked on so far.
Open the software developer program that you're using for building the keygen. Add the new instance of the audio file that you saved into the instructions of the keygen. Depending on the type of software developer program you're using, you might have to type in something such as "public function" followed by the link to the audio file.
Add the playback function, which tells the music when to start playing. You may need to type in something like "^Starting" as the action for the keygen. You will also need a function for stopping the music, so put those instructions into the keygen where you see fit.