Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

How to Hex Edit Audio?

Featured Replies

  • Author
  • Localization

Cameron007, posted Mon Apr 25, 2016 11:15 pm (12859)


I am trying to find the settings (channels, interleave, etc.) for audio files. I am new to hex editing. I am using HxD. Does anyone have any tips? By the way, I apologize if this is in the wrong place.
  • Author
  • Localization

brendan19, posted Tue Apr 26, 2016 4:18 am (12865)


Channels (seems fairly straight forward)
01 - Mono
02 - Stereo
06 - 5.1 Surround
08 - 7.1 Surround

Sample rates in hex

Little Endian
BB80 - 48000
AC44 - 44100
7D00 - 32000
5622 - 22050
2B11 - 11025

Big Endian
80BB - 48000
44AC - 44100
007D - 32000
2256 - 22050
112B - 11025


Interleave can best be explained by doing the following:

Go the the end of a file (should be a block of "00"s) and highlight all of the data from the end until you encounter a second block of "00"s. The first byte after the last "00" on that second block you found is the size of one channel.

Multiply that number by the number of channels the file has to find the interleave/blocksize.
  • Author
  • Localization

Cameron007, posted Tue Apr 26, 2016 8:57 am (12871)


Not all of them have two blocks of 00's. One kind is one 0 short of having a complete block on the bottom. And pardon my ignorance, but which ones are the bytes?
  • Author
  • Localization

brendan19, posted Tue Apr 26, 2016 2:57 pm (12898)


A byte is a single "xx" in a hex editor. Every pair of "AB" or "E9" etc is a single byte.
  • Author
  • Localization

Mygoshi, posted Sun May 01, 2016 2:19 pm (13018)


Cameron, why do you need this (just this question)?
  • Author
  • Localization

Cameron007, posted Sat May 14, 2016 6:06 pm (13372)


Mygoshi wrote:
Cameron, why do you need this (just this question).

In the event there is no already existing script to extract audio, I'd like to know the exact parameters of a file. Specifically, how to know whether it is mono or stereo. You ripped The Incredibles in stereo, but I can only do it in mono.
  • Author
  • Localization

Mygoshi, posted Sun May 15, 2016 3:23 pm (13396)


It's normal, PS2 version has 24Khz mono tracks, GC has 32Khz stereo and XBOX has 48Khz stereo (while PC is same as XBOX).
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.