Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Metaltech Battledrome *.HMP / Manually change playback speed #40

Open
Jenetrix opened this issue May 9, 2024 · 8 comments
Labels
enhancement New feature or request

Comments

@Jenetrix
Copy link

Jenetrix commented May 9, 2024

Metaltech Battledrome *.HMP files playback incorrectly, at roughly 2x the normal speed, in foo_midi compared to their Metaltech Earthsiege *.HMP counterparts. libADLMIDI also does not have the ES Expansion or BD soundbanks which are distinct compared to the stock ES one.

foo_midi 2.10.0.0, LibADLMIDI

see also: Wohlstand/libADLMIDI#279

@stuerp stuerp added the enhancement New feature or request label May 11, 2024
@stuerp
Copy link
Owner

stuerp commented May 18, 2024

Without a copy of the files it is hard to fix this.

@stuerp stuerp added the question Further information is requested label May 18, 2024
@Jenetrix
Copy link
Author

ES Banks.zip
ES Music.zip
the games themselves have been freeware since 2015 so ill attach some examples here. contains *.hmp examples for all 3 as well as the sound banks.

@stuerp stuerp removed the question Further information is requested label May 18, 2024
@stuerp
Copy link
Owner

stuerp commented May 18, 2024

ES Banks.zip ES Music.zip the games themselves have been freeware since 2015 so ill attach some examples here. contains *.hmp examples for all 3 as well as the sound banks.

Thx. It seems the HMP/HMI don't have tempo information in them? Doubling the default tempo seems to fix the problem. I'll leave it like that for now.

https://github.com/stuerp/foo_midi/releases/tag/v2.11.0.0-alpha6

@Mohamed00
Copy link

Hi, this change caused issues with several HMP/HMI soundtracks. With this change, the soundtracks for games such as Descent, Descent 2 and Abuse now play at the wrong tempo. Here are some example files.
HMP.zip
References for how these tracks are supposed to sound.
Descent - game01.hmp
Descent - Game02.hmp
Descent 2 - Game01.hmp
Abuse - ABUSE01.HMI

@stuerp
Copy link
Owner

stuerp commented May 19, 2024

foo_midi adds a hard-coded tempo track before converting the sequence. Any tempo information coming after that should overrule the default.

Is there a way, that you know of, to determine the 'correct' tempo?

If there is none letting the user override the default seems to be the only solution.

@stuerp
Copy link
Owner

stuerp commented May 19, 2024

@Jenetrix ,

The default tempo for HMI/HMP sequences can be configured in alpha7.

@Jenetrix
Copy link
Author

Setting tempo to 80 and setting the Bank to HMI (Earthsiege) gets it most of the way there. The Battledrome and ES Expansion tracks still sound slightly off due to using the incorrect bank as those are not options.

@stuerp
Copy link
Owner

stuerp commented May 19, 2024

Is there a more recent version that supports the banks? I'd rather not patch the code myself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants