Choose a programming language.
Obtain a compiler and development enviroment.
Read the documentation.
Read some books.
Write the software.
Debug the software.
Compile software to exe.
There are plenty of examples ans tutorials on the web about playing audio files in java/visual basic 6/visual basic dot.net/visual C etc