IPB

Welcome Guest ( Log In | Register )


> Audio Sample Rate - Test Please...
SeekSomethingNew
post Oct 19 2007, 07:10 PM
Post #1

Stealth Tank
Group Icon

Group: Members
Posts: 1,025
Joined: 31-October 06
Member No.: 208
Alliance: GDI
Favorite game: Tiberian Sun



Well, earlier today i came across the DSAudio function in the Game.exe, and noticed some operands that looked like the Audio Sample Rate, namely the rate at what it plays the AUD. If you know Audio, you know that higher the rate, better the quality, so i changed this from 22050 to 44100 and it... well... Ill let you test for your selfs, i want to make sure its not just me tongue.gif

If this works right, this means higher quality music and effects for TS mods, so i need someone who can write C++ or whatever to make a WAV/MP3 to AUD conversation tool that makes or changes the rate to 44100.

TSHyper


--------------------
Go to the top of the page
 
: | +Quote Post
 
Start new topic
Replies
SeekSomethingNew
post Oct 21 2007, 10:22 AM
Post #2

Stealth Tank
Group Icon

Group: Members
Posts: 1,025
Joined: 31-October 06
Member No.: 208
Alliance: GDI
Favorite game: Tiberian Sun



Indeed Clazzy, I have found the Sample Rate, so thats quality done... I round the Resolution too, so 32bit Resolution AUD's are now possible.

Stereo, hmm... i would say that would be near, ill take a closer look at it today.

Also on a side note, i found the code for the -16 and -Win arguments. I have found out what it does if it is in a Desktop Window and the colour depth is 32bit, but i cant find out where is checks that, if i can, ill disable it hmm.gif

EDIT: Well Clazzy... I got your Stereo setting... i think dance.gif

Just so you know, TS uses this...

Sample Rate: 22050
Resolution: 16
Channel: Mono

Now, with my little hacks...

Sample Rate:44100
Resolution: 32
Channel: Stereo

MP3 Quality anyone? biggrin.gif

This post has been edited by TSHyper: Oct 21 2007, 12:06 PM


--------------------
Go to the top of the page
 
: | +Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 29th May 2025 - 09:49 AM


XGhozt.com