dmusic icon indicating copy to clipboard operation
dmusic copied to clipboard

Wave based segment support

Open MelissaAutumn opened this issue 9 months ago • 1 comments

Hey there!

I've been poking away at the music files from No One Lives Forever 2, and instead of re-inventing the wheel I was wondering if supporting wave list-based segment files are in-scope for this project?

I have a mostly complete 010editor template for these files based on some DirectX9 DirectMusic documentation, and started implementation on dmusic. https://gist.github.com/MelissaAutumn/0a46df3e76f95713e6f07fec36f15703#file-sgt-bt https://archive.org/details/ms-directmusic-9.0-docs

These seem pretty different from midi-based segments as they do not contain patterns, they're pretty much just the waveforms placed on the music timeline with some metadata saying how long a wave should play. (See DMUS_IO_WAVE_ITEM_HEADER)

Which seems a little odd because now dmusic wouldn't really be doing much more than passing the wave files back as timed in the segment file. So just wanted to check before I send PRs upstream in the future.

MelissaAutumn avatar Mar 09 '25 23:03 MelissaAutumn

Hi! If it's part of DirectMusic, it is in scope :)

lmichaelis avatar Mar 10 '25 07:03 lmichaelis