Originally Posted by
DragonsLover
- Before the name, you should have two 00 bytes and right before, you should have the file size (represented in orange in the quote above). The size bytes are small endian, which means they're read backwards. In the example above, it should be 49 7A, which, in decimal, means 18810 bytes. Check if the file size is the same as the one you've noted earlier and brings the correction if necessary. Do NOT write in INSERT mode.
- If you move the hex cursor to the right, you should meet four 00 bytes after the file name, four random bytes, four extra 00 bytes and then you'll reach the sampling rate thing. Here, multiply the duration of the sound you noted earlier by 44100 and this should give you a number. Change this number in hexadecimal and revert it in small endian. Write down that value by replacing the old one in the SDT file where the cursor is. Then save the file.