Ads keep us online. Without them, we wouldn't exist. We don't have paywalls or sell mods - we never will. But every month we have large bills and running ads is our only way to cover them. Please consider unblocking us. Thank you from GameBanana <3

ADX Making/Editing Tutorial

A Tutorial for Sonic Adventure 2

No ads for members. Membership is 100% free. Sign up!

How to create ADX loops


1. What you'll Need

Before you can do anything you'll at least need an audio editing program, Gold Wave or Audacity should do fine. Use either one you like! Then you'll need the ADX Encoder. Another useful program for everyday use is Format Factory. You can use it to convert songs to WAV in bulk! Documentation is included with the ADX Tools in the "docs folder".

1.1. Downloads

Download Gold Wave (Click here)

Download Audacity (Click here)

ADX Tools For Linux (Click here)

ADX Tools for Windows (Click here)

Download Puyo Tools (Click here)

Download Format Factory (Click here - This one is optional)

2. Setting it up

Depending on which one you choose, there may be additional setup requirements. Read the section relevant to your audio editor of choice. The basics should be the same, but if additional software is included in the downloads, you likely got it from Softonic, a site known for virus riddled software. Don't be cheap, you can already get them for free. Download them from their legit websites, not some third party trash!

2.1. Setting up Gold Wave

Download the latest version from the website, or if you are using a older OS (XP, Vista, 7 x86), download a legacy version. For plugins, go here.




The Gold Wave installation will go a lot faster than the Audacity one, as all you have to do is click "Finish", and BOOM, it's installed!
 
The Audio window and buttons are separate windows, kinda strange if you're used to Audacity like me. - Darkspines147

Before doing anything, make sure you change the default Hours:Minutes:Seconds:Milliseconds to Samples.


It's near the bottom of the list, and you'll need this to get a seamless loop later, so write the numbers down when you think you have a good loop, a tool to test the loop is included with the ADX Encoder, called ADX Player, but things like Winamp work too, if you have the plugin for it. It's "in_vgmstream.dll", and you can get it from "test.zip" on the GitHub provided.

If the loop isn't seamless, don't lose hope, keep trying! See Section 3: How to make Loops with ADX Encoder for examples.


Close up of the menu for easier reading.

2.2. Setting up Audacity

Download the latest version from the website, or if you are using a older OS (98, ME, 2000, XP, Vista), download a legacy version.


To start things off, set the program to your native language, or a language you're comfortable with!


The installation process...

… is a bit more lengthy than Gold Wave.





Once all of that's done hit install and...

Just click "Finish", and you're ready to go!


Before doing anything, make sure you change the default Hours:Minutes:Seconds:Milliseconds to Samples. *note: Since this is my preferred program, it's already been changed to samples in this picture - Darkspines147.


It's in the middle list, and you'll need this to get a seamless loop later, so write the numbers down when you think you have a good loop, a tool to test the loop is included with the ADX Encoder, called ADX Player, but things like Winamp work too, if you have the plugin for it. It's "in_vgmstream.dll", and you can get it from "test.zip" on the GitHub provided.

If the loop isn't seamless, don't lose hope, keep trying! See Section 3: How to make Loops with ADX Encoder for examples.


Close up of the menu for easier reading.

2.3. Additional Setup (Audacity)

For Audacity to import/export MP3 music, you need the LAME MP3 encoder Plugin. It goes in the Plugins folder. for more plugins, go here.

3. How to make Loops with ADX Encoder

Songs in the video below


In the Lead (City Escape 1 - c_escap1.adx) [measured by samples]
loop begin - 3617847
loop end - 6718777

In the Lead alt (City Escape 1 - c_escap3.adx) [measured by samples] - This is the one used in the Loop test video.
loop begin - 1699752
loop end - 4798580

Dangerous Ground (City Escape - c_escap2.adx) [measured by samples]
loop begin - 431872
loop end - 4093390

These numbers are important to make looping ADX music, not every song in SA2 loops, but the vast majority do, so you'll need a keen ear for this.

Headphone users beware, you're in for a scare!



This is a old tutorial video that came with the ADX Tools available above, OS is German, but there is no talking, it's purely visual learning. It does what it needs to do.







3.1. Breakdown of ADX Encoder Functions


(1) Output Directory

Specifies a directory to output encoded data. Default is the root directory of the C drive.
Drag and drop a folder from Windows Explorer, or specify using the Set Output Directory button.

(2) Encoding Targets

A list to specify files to be encoded (encode target files).
Drag and drop a folder from Windows Explorer, or specify using the Set Output Directory button.
Column information shown on the list is as follows:


(3) Formats

Selects ADX data format to be encoded: Either ADX or AHX.

(4) AHX Bit Allocation Pattern

 Encoding parameter settings for AHX format.
 "Preset" are patterns of parameter settings precedingly set, and "User Setting" is optional parameter settings by users.
This item won't be active when ADX format is selected.

(5) Keycode

"Keycode" is a string for encoding ADX via the command line.
*You won't really need this, as far as I know this is only relevant if you use the command line:

The included ADX Encoder documentation goes into greater detail on how to use this if you want to.

(6) Encode

Starts encoding for the files listed in the encode target list.

(7) Set Output Directory

Opens a window to select the output directory. 
The selected directory will be set as the output directory.

(8) Select File

Opens a window to select encode target files.
The selected files are added to the encode target file list.

(9) Delete File

Deletes the selected file from the encode target list

(10) Delete All Files

Deletes all the files listed on the encoder target list.

(11) Set Loop

Perform loop setting.
Select a file for loop setting and click this button. 
Then the loop setting window is open.





(12) Playback File

Plays the selected file within the encode target list using an external application.

4. How to make AHX (Voice files) With ADX Encoder & Puyo Tools



Sonic Adventure 2 Battle's event_adx_e.afs and event_adx.afs are where most of the voices are stored, an AFS archive contains AHX files, For SA2B, they are 22kHz Monoaural sound. If you’d like to add higher quality sounds and voices, you certainly can. In Sonic Adventure 2's case: AHX DOES NOT accept stereo sound files!


For SA2B, This should be disabled, "AHX DC Compatible" is for Dreamcast only.
For Dreamcast games, the AHX must be set to the original voice file’s quality- 22050KHz mono. If it’s not set to this frequency, this will crash the DC game. Essentially, importing high quality sounds into DC games won’t work at all; new AHX files must be of the same quality as the original files.

Todos

Add shots of PuyoTools Explain some of these graphs in better detail Add instructions on how to use Audacity High Priority Add instructions on how to use Goldwave High Priority
Sign up to access this!
  • RaphaelDrewBoltman avatar
    RaphaelDrewBoltman username pic Joined 2y ago
    SH Manager ShTH Manager
    in the studio.
    272 points Ranked 52361st
    13 medals 1 rare
    • Achieved Game Manager clearance Medal icon
    • One month a member Medal icon
    • 6 months a member Medal icon
    • 1 year a member Medal icon
    • Became a Studio Leader Medal icon
    • Returned 100 times Medal icon
    access_time 21d
    great tutorial!! i never thought that were another ADX Encoder tool for ADX/SofDec supported games. i personally use AtomENCD and i made a tutorial where i explain how to use it too. here's the link if you want to take a look and being inspired by how to use not only the program but other information that can probably help you. ^-^
    • Thanks x 1
    music artist avatar
    Mantra
    music artist
    URL to post:
  • PumpKing1248 avatar
    PumpKing1248 Joined 6mo ago
    Offline
    78 points Ranked 50520th
    8 medals 1 rare
    • Returned 1000 times Medal icon
    • Returned 100 times Medal icon
    • One month a member Medal icon
    • Submission featured Medal icon
    • 1 post awarded Exemplary Feedback Medal icon
    • 6 months a member Medal icon
    access_time 21d
    i like how this is explained :)
    Uwu avatar
    Mantra
    Uwu
    URL to post:

Embed

Share banner
Image URL
HTML embed code
BB embed code
Markdown embed code

Credits

Key Authors
Darkspines147 avatar
Darkspines147 username pic Joined 2y ago
Offline
1,092 points Ranked 24133rd
11 medals 1 rare
  • Returned 1000 times Medal icon
  • Returned 100 times Medal icon
  • One month a member Medal icon
  • 6 months a member Medal icon
  • Submitted 1 Tool Medal icon
  • Thanked 5 submitters Medal icon
-[DEXTERITY]- avatar Marx Team Flag
Affiliation
Marx Team
-[DEXTERITY]- username pic Joined 2y ago
Offline
Marx Team Flag Affiliation: Marx Team
700 points Ranked 43190th
15 medals 2 rare
  • Returned 1000 times Medal icon
  • Thanked 50 submitters Medal icon
  • Submitted 1 Tool Medal icon
  • One month a member Medal icon
  • Submission featured Medal icon
  • Returned 100 times Medal icon
Special Thanks
CRI MiddleWare Co., LTD.
Developers of ADX Encoder

Submitter

Darkspines147 avatar
Darkspines147 username pic Joined 2y ago
Absent
1,092 points Ranked 24133rd
11 medals 1 rare
  • Returned 1000 times Medal icon
  • Returned 100 times Medal icon
  • One month a member Medal icon
  • 6 months a member Medal icon
  • Submitted 1 Tool Medal icon
  • Thanked 5 submitters Medal icon
Darkspines147 avatar
Darkspines147

Creator
Sign up to access this!
Sign up to access this!
Sign up to access this!

Game

Sign up to access this!

Category

Details

Difficulty Level
Advanced

Attributes

Share

  • Share on Reddit
  • Share on Twitter
  • Share on Facebook
  • Today's Pick
    Featured on Feb 9 2020
  • 3
  • 1.1k
  • 3
  • 21d
  • 10d

More from Submitter

More Other/Misc Tutorials