IPB

Welcome Guest ( Log In | Register )


 
Reply to this topicStart new topic
> 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
Clazzy
post Oct 21 2007, 02:46 AM
Post #2


Karma Police
Group Icon

Group: Global Moderators
Posts: 375
Joined: 2-October 06
From: Algae Colony On Mars (UK)
Member No.: 7
Alliance: Nod
Favorite game: Tiberian Dawn



I think having stereo sound would be a big step up too, if possible. It's one of the bigger issues with .aud along with the low sample rate.


--------------------
QUOTE
And you run and you run to catch up with the sun but it's sinking, racing around to come up behind you again... - Pink Floyd
Go to the top of the page
 
: | +Quote Post
Crimsonum
post Oct 21 2007, 06:13 AM
Post #3


Tick Tank
Group Icon

Group: Members
Posts: 672
Joined: 21-October 06
From: Finland
Member No.: 32
Alliance: Nod
Favorite game: Tiberian Sun



Indeed. Although I rofled when I tested this, stereo sound files would be pretty much awesome ohmy.gif
Go to the top of the page
 
: | +Quote Post
SeekSomethingNew
post Oct 21 2007, 10:22 AM
Post #4

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
Crimsonum
post Oct 21 2007, 12:52 PM
Post #5


Tick Tank
Group Icon

Group: Members
Posts: 672
Joined: 21-October 06
From: Finland
Member No.: 32
Alliance: Nod
Favorite game: Tiberian Sun



HELL YEAH! You rock, TSHyper!
Go to the top of the page
 
: | +Quote Post

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: 14th May 2025 - 01:04 AM


XGhozt.com