A Future Pilot

Recreating The Sith Trooper Voice Effect

5 posts in this topic

In order to make my recent addition to my Sith Trooper Texture Restoration mod, I had to convert a standard Sith voice to a Sith Trooper voice. After a lot of trial and error, I've managed to make it sound pretty spot on. (If any of you audiophiles out there have any suggestions for improvements, let me know!) Also thanks to DarthParametric for a couple of batch scripts that we'll be using in this tutorial.

 

Tools you'll need:

  • Audacity (The audio editing software we'll be using)
  • dd (This is a direct download link. dd is a Unix tool for reading/writing files/disks)
  • The batch files attached to this post

Setup:

  • Create two folders, one for the input (original) files, and one for the output (new) files
  • Save dd from the link above, and the convert.bat file attached to this post in the input folder
  • Save the addheader.bat, and header.bin files attached to this post to the output folder

 

First, you need the audio file(s) you want to apply the effect to. In this tutorial we're going to be using a Sith voice file from the Korriban Acadamy, but this should work with any voice file (even ones you record yourself). Drag the .wav files from the streamwaves folder of KOTOR into the input folder (The files I'm using are in streamwaves/m35aa/sith13).

The audio files that KOTOR uses are mp3 files with a wav header, so before we can do anything with them, we need to convert them to plain mp3 files. To do this, just double-click on convert.bat and let it run. When it finishes, you'll have .mp3 versions of each sound file.

Now we're going to apply the Sith Trooper effect. We're going to automate some of it to make it easier, but sadly, we can't automate all of it. To automate it we will create a chain of effects which we can then easily apply to each file.

Steps 1-6 creates the chain, and only need to be done once. Steps 7-12 need to be done for every audio file you wish to apply the effect to.

1. Open up one of the .mp3 files in Audacity, then go to File -> Chains -> Edit Chains:
Tut1.png.7578928cb1551d9e8eb2bd5b59777bf0.png

 

A new window will appear. In the bottom left click "add" then give the chain a title like "Sith Trooper Voice Effect".

2. Next click on Insert, and select "Repeat". Click "Edit Parameters" and change the number of repeats to 2:
Tut2.png.00b0388f8a73ce1e7864af45079aa653.png

 

3. Hit OK on both windows, and you should see it added to the chain. Next we're going to add Equalization. Select Insert again, then select Equalization, end edit Parameters. In the Select Curve dropdown, select AM Radio:
Tut3.png.cb58caa19d5a207a99a7137d87419ce5.png

 

Make sure the other settings are as in the screenshot, then hit OK.

4. Select Insert again, and select High Pass Filter. Edit Parameters and set frequency to 750Hz and rolloff to 48db:
Tut4.png.0309232d4453944f69095bf24d040259.png

 

5. Hit OK, hit Insert again, select Bass and Treble, and hit Edit Parameters. Set bass to 20, treble to 1, Volume to 0, and make sure "Link volume and tone" is unchecked:
Tut5.png.674b861342e9dd528a5a1a89b17b308c.png

 

6. Now, (this is the last effect!) hit OK, select Insert, select Compressor, and hit Edit Parameters. We'll use the defaults, but make sure they match the screenshot:
Tut6.png.1413b59955e016ffbd2e552e4af190fb.png

 

Now, we've finished creating the chain, we need to apply it to the audio file.

7. Select File -> Chains -> Apply Chains, select the chain you just made, and select "Apply to Current Project":
Tut7.png.6dc962056db62a955c128bd2939f58a3.png

Tut8.png.f84876577ee52545472ea238bf205926.png

 

This will apply the effect, and cause the audio to be repeated three times. We do this because the Compressor effect can cause issues at the start and end of the audio, so we're just going to use the one in the middle that hasn't been affected.

You may want to zoom out for the following steps. To do so, hold down Ctrl and scroll the mouse wheel.

By default the entire audio file is selected, so click in the blank space to deselect, before selecting sections to delete.

8. Mouse over the end of the audio, and you will see a yellow line to indicate that you're at the very tip:
Tut9.png.e4d0f3258c3c6bef76e38d07f6c9bb2c.png

Now click and drag to the left until you see another yellow line, then let go (You will now have the third repeat selected):
Tut10.png.07505c3aa2908f6ea9a7ee34bf1aec5b.png

 

9. Hit the delete key on your keyboard to remove the third repeat. Now we're going to do the same with the first repeat. Mouse over the beginning till you see the yellow line:
Tut11.png.290d56470cfab3e08ae3261e1aa42677.png

Click and drag till you see the other yellow line:
Tut12.png.b00f9448c857831dd80ec85d21333c47.png

Let go of the mouse button and hit delete. You'll now have your finished audio file:
Tut13.png.cfc702b32050ee303be11d2bd03df403.png

 

Now we're going to export the file. We'll export it as MP3, and then add a WAV header just like the original files (I've seen reports that plain uncompressed WAV files will work, but I wasn't able to get it working, so I had to do it this way).

10. Select File -> Export -> Export as MP3:
Tut14.png.ba5c28c56acd64a04e29d2e3db4fa2f0.png

 

11. Now set Bitrate to Preset, Quality to standard, variable speed to standard, and check "Force export to mono":
Tut15.png.748479dfc453fde31ca145b3a4c26f00.png

 

12. Save the file to the output folder. Then repeat steps 7-12 for every file you want to apply the effect to.

 

13. Once you have all of the files you want to add the effect to in the output folder, run the addheader.bat file. This will output .wav files that can be put into the game! You can either put them in the Override folder, or back into the streamwave folder you got them from!

 

Let me know if you have any questions or comments!

convert.bat

addheader.bat

header.bin

  • Light Side Points 1

Share this post


Link to post
Share on other sites
4 hours ago, Sith Holocron said:

This tutorial wasn't to your liking, huh?

Lol I actually hadn't seen it. But that is the Stormtrooper sound, which is different from the Sith Trooper sound in KOTOR, so I think it's fine to have them both exist ;)

  • Light Side Points 1

Share this post


Link to post
Share on other sites
9 hours ago, A Future Pilot said:

These two tools are amazing! They efficiently reduced the size of a packaged .WAV's [which later be converted to .MP3s] files for about 50% - 60%! I mean, it is obvious they're not as efficient as the Miles Sound System but facing the fact that Miles' is no longer "available", these tools are the best to be having- right now! Thanks! :cheers:

Share this post


Link to post
Share on other sites
On 7/7/2018 at 12:37 AM, ebmar said:

These two tools are amazing! They efficiently reduced the size of a packaged .WAV's [which later be converted to .MP3s] files for about 50% - 60%! I mean, it is obvious they're not as efficient as the Miles Sound System but facing the fact that Miles' is no longer "available", these tools are the best to be having- right now! Thanks! :cheers:

Well DarthParametric is to thank for the .bat file. The header.bin is just the first 58 bytes of one of the basegame .wav files :)

  • Light Side Points 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now