Hello, I just extracted music from the game Stronghold, but all music files have .raw file extension. Any ideas how to convert them into regular audio file formats?
Here is the example: http://rgho.st/6pfkHsf2j
The Forum is up for sale: XeNTaX Forum looking for new owner
How to convert .raw audio files?
Re: How to convert .raw audio files?
What is the best audio format for these files? .wav?peter2005 wrote:it's seems to be 16bit PCM, Stereo ,44KHz raw audio, any audio editor like Audacity can convert it to wav or other more convenient format
I am not sure if .mp3 cut some quality.
- peter2005
- advanced
- Posts: 42
- Joined: Fri Mar 25, 2016 8:26 am
- Location: None
- Has thanked: 1 time
- Been thanked: 9 times
Re: How to convert .raw audio files?
If you want exact quality as in a game and don't mind file having 10mb just save it as wave, otherwise if the size matters and/or you want to listen to it from a mp3 stick, pick mp3.
use google for more info
use google for more info
Re: How to convert .raw audio files?
I don'y dare to bother you more, you helped me enough...
But, if I import .raw files to Audacity with this settings: 16-bit PCM, Little-endian, 2 channels, 44100 Hz - the music plays like two time faster than expected, why is that?
But, if I import .raw files to Audacity with this settings: 16-bit PCM, Little-endian, 2 channels, 44100 Hz - the music plays like two time faster than expected, why is that?
- peter2005
- advanced
- Posts: 42
- Joined: Fri Mar 25, 2016 8:26 am
- Location: None
- Has thanked: 1 time
- Been thanked: 9 times
Re: How to convert .raw audio files?
I do not know how original sounds, try to change sample rate to 22050, but to me it sounds too slow..but who knowsoux wrote:I don'y dare to bother you more, you helped me enough...
But, if I import .raw files to Audacity with this settings: 16-bit PCM, Little-endian, 2 channels, 44100 Hz - the music plays like two time faster than expected, why is that?
Re: How to convert .raw audio files?
Thank you, it works...peter2005 wrote:I do not know how original sounds, try to change sample rate to 22050, but to me it sounds too slow..but who knowsoux wrote:I don'y dare to bother you more, you helped me enough...
But, if I import .raw files to Audacity with this settings: 16-bit PCM, Little-endian, 2 channels, 44100 Hz - the music plays like two time faster than expected, why is that?
But, how to determine the true frequency of the music? 22050 sounds good, but I am not sure if it is true frequency of this music.
- peter2005
- advanced
- Posts: 42
- Joined: Fri Mar 25, 2016 8:26 am
- Location: None
- Has thanked: 1 time
- Been thanked: 9 times
Re: How to convert .raw audio files?
Problem is that the .raw file is headerless wav file .i.e there are no information how it should be played. Both 44100 and 22050 are standard most likely used bitrates(you can try also 32000).oux wrote:Thank you, it works...peter2005 wrote:I do not know how original sounds, try to change sample rate to 22050, but to me it sounds too slow..but who knowsoux wrote:I don'y dare to bother you more, you helped me enough...
But, if I import .raw files to Audacity with this settings: 16-bit PCM, Little-endian, 2 channels, 44100 Hz - the music plays like two time faster than expected, why is that?
But, how to determine the true frequency of the music? 22050 sounds good, but I am not sure if it is true frequency of this music.
You would have to reverse engineer the game to determine the true frequency for sure, or try to find already extracted tracks from the game somewhere on the internet.
Re: How to convert .raw audio files?
keep in mind source files might not be stereo, so importing it to stereo tracks would make it play twice as fast but the same or similar pitches to the ones you hear in game. if it sounds off in both speed and pitch, you have the wrong sample rate.
commonly used ones include:
48000hz 44100hz 41000hz 36000hz 32000hz 28000hz 22050hz 18000hz 16000hz 11025hz 8000hz 6000hz.
though I have encountered files at strange rates like 40095hz adpcm in a file in rage, or 14000hz in turok 2 on n64.
commonly used ones include:
48000hz 44100hz 41000hz 36000hz 32000hz 28000hz 22050hz 18000hz 16000hz 11025hz 8000hz 6000hz.
though I have encountered files at strange rates like 40095hz adpcm in a file in rage, or 14000hz in turok 2 on n64.
