psxdmh is my PlayStation Doom Music Hack — a command line tool to extract music and sound effects from the PlayStation versions of the Doom and Final Doom games. Pre-built executables are available for Mac and Windows, along with a collection of the Doom music generated by psxdmh.
The source code for psxdmh is available under the GPL v3 license. This means you can have a look at how psxdmh works, produce a modified version, or use parts of it in your own project.