ihhub / fheroes2

fheroes2 is a recreation of Heroes of Might and Magic II game engine.
https://ihhub.github.io/fheroes2/
GNU General Public License v2.0
2.75k stars 379 forks source link

Update "MIDI-music-explanation" wiki page #6622

Open ihhub opened 1 year ago

ihhub commented 1 year ago

Preliminary checks

Describe the problem requiring a solution

https://github.com/ihhub/fheroes2/wiki/MIDI-music-explanation wiki page is not up to date and incorrect information about instruments used in the game.

Describe the possible solution

We should update this wiki page in order to provide this information for composers. Run the engine in debug mode with enable debug flags DBG_ENGINE to see the instruments being used for every song.

Additional info

No response

oleg-derevenetz commented 1 year ago

A list of all the instruments used in HoMM2 MIDI tracks (without linking to a specific track) can be obtained here:

https://github.com/ihhub/fheroes2/blob/master/android/app/src/main/assets/timidity.cfg

At the time I removed samples for unused instruments from fheroes2 soundfont and Android TiMidity GUS patch set to save space. However, I didn't touch the drum kits, because in drum kits each instrument has only one sample, and they are usually quite small.