DridiSara123 wrote: ↑July 27th, 2024, 11:50 pm
Ok, thank you for your response. Is there another simpler method for changing the music in PoP1 SNES? Preferably without having to mess around with a hex editor
It is the only way as of now, as there is no music tool for Prince of Persia SNES.
Still, it is not too difficult to do it via hex editing because the format in which is written is pretty similar to MML, where you can write sequences for each channel, choose an instrument, echo values (though they don't work due to a bug, but there is a fix that can be done), the tempo, panning, write the octave, note pitch and value, as well as FIR filters and generate noise.
You can go even further and edit the instrument by changing the sample, ADSR values, tremolo and pitch envelopes, the type and time to start the pitch envelope, as well as cents/pitch correction.
There is a topic I did years ago looking for answers on how to write music for the SNES port, and eventually did a document gathering the existing dissassembly by David, experimentations and findings both on my own and aided by a SNESLab discord fella, who also discovered the mentioned echo bug and did a fix for it.
Here it is the topic in question, at the very bottom is the latest version of the documentation (perhaps in the future I might include how to add custom samples, both sound effects and for instruments):
viewtopic.php?f=122&t=4277&start=30