Important information: this site is currently scheduled to go offline indefinitely by end of the year.

Delta Force: Land Warrior SBF - clicks and jumpy volume

Get help on any and all audio formats, or chip in and help others!
Post Reply
SiPlus
ultra-n00b
Posts: 8
Joined: Mon Dec 05, 2011 11:30 am
Location: Russia, Saint Petersburg
Been thanked: 1 time
Contact:

Delta Force: Land Warrior SBF - clicks and jumpy volume

Post by SiPlus »

I wrote a simple program to play sound files from DFLW SBF, but there are clicks repeating at a constant amount of time, and the volume is very jumpy. Does anybody know how to fix that?

The program is in attachment. Requires .NET Framework 2 and DirectX9. Executable is in Delta Force Music Extractor\Delta Force Music Extractor\bin\Release. Currently supports only playback, no saving to WAV file (the save button only exports files selected in right column to program directory), to play select a file in the left column and press Play.
You do not have the required permissions to view the files attached to this post.
Controller
n00b
Posts: 11
Joined: Mon May 25, 2009 1:44 am
Has thanked: 2 times
Been thanked: 1 time

Re: Delta Force: Land Warrior SBF - clicks and jumpy volume

Post by Controller »

Struggling at those files as well...

Assuming the Delta Force 1 data format is identically:
For the clicks, you must parse the data a bit, see the part "// for each segment" here: http://wiki.xentax.com/index.php/SBF0
These are 8 bytes info + 0x1000 bytes wavedata. Skip the 8 bytes info and use the waveform only.

Also, the first 4 bytes of info contains some length information. If you ignore this the sound is fine. However, it appears there are pops/clicks if you merge the audio data together afterwards.
Post Reply