From Urban Terror 4.2.013, dmaHD is part of the main build. Since I now make part of the FrozenSand team, I will make changes directly to the main build; here, I will keep the help for dmaHD and the other features.
dmaHD sound system features:
- Advanced 3D-Hybrid-HRTF function with Bauer Delay and Spatialization.
- Low/High frequency band pass filtering and extraction for increased effects.
- 3 different mixers to chose from all mixing at a maximum of 44.1KHz
- Automatic memory management! (No need for CVAR's)
- Low CPU usage!
- Logarithmic attenuation in different mediums!
- Speed-of-sound mapping with Doppler in air and water!
- Weapon sounds are more pronounced.
- Faithful to original listening distance of default Quake 3 sound.
- Increases sound quality of original sounds with cubic/Hermite 4-point spline interpolation.
- Compatible with Dolby surround decoders.
- Select sound card output on Windows.
For best listening experience use good quality headphones with good bass response.
Other features:
- High resolution RAW mouse support plus up to 8 button support for Windows. Use in_mouse "2" to enable (see below)
- Mouse tilt-wheel support for Windows Vista and above (tilt-wheel in XP is unsupported)
- High resolution timer support for Windows for finer/better timing/response.
- Change sound card output via new s_dev CVAR for Windows only.
- Optional force run on single CPU core for Windows.
- Optional set higher process priority for Windows.
Following are the CVARS for these features:
/dmaHD_enable
This will enable (1) or disable (0) dmaHD.
Default: "1"
/dmaHD_interpolation
This will set the type of sound re-sampling interpolation used.
0 = No interpolation
1 = Linear interpolation
2 = 4-point Cubic spline interpolation
3 = 4-point Hermite spline interpolation
(This option needs a total game restart after change)
Default: "3"
/dmaHD_mixer
This will set the active mixer:
10 = Hybrid-HRTF [3D] (recommended)
11 = Hybrid-HRTF [2D]
20 = dmaEX2
21 = dmaEX2 [No reverberation]
30 = dmaEX
(This option changes mixers on the fly)
Default: "10"
/s_info
This is a command; Run this by itself to show current sound information.
The following are some other CVARS that affect dmaHD. Please set them as specified:
/s_khz [Windows]
Set to "44" for best sound quality. It is not recommended to lower it to "22" or "11" which should only be done if there are severe FPS drops.
(This option needs a total game restart after change)
Recommended: "44"
Since the release of 7th July 2013, this CVAR is ignored and 44KHz is always used for the dmaHD engine.
/s_sdlSpeed [Linux/MAC]
Set to "44100" for best sound quality. It is not recommended to lower it to "22050" or "11025" which should only be done if there are severe FPS drops.
(This option needs a total game restart after change)
Recommended: "44100"
Since the release of 7th July 2013, this CVAR is ignored and 44KHz is always used for the dmaHD engine.
/s_mixahead
This is for fine-tuning the mixer. It will mix ahead the number of seconds specified.
The more you increase the better the sound but it will increase latency which you do not want.
(This option needs a total game restart after change)
Default: "0.2" [recommended 0.5 or above]
/s_dev
This is used to select the sound card output on Windows. Set this CVAR to a sub-string of the name of the output sound card and it will try to match the sound card. If found, it will use that sound output. If not found, it will use primary driver. Matching is case-sensitive.
(This option needs a total game restart after change)
Default: ""
/s_devlist
This is not a CVAR but a command. When called, it will list the output device names for use with the s_dev CVAR. This is only supported on Windows.
RAW mouse information (Windows only):
New CVAR option:
/in_mouse
Set to "2" to enable RAW mouse input (Windows Only)
(This option needs a total game restart after change)
Default: "1"
New mouse button mappings:
- Mouse tilt-wheel left button maps to MWHEELLEFT
- Mouse tilt-wheel right button maps to MWHEELRIGHT
- Mouse button 5 maps to MOUSE5
- Mouse button 6 maps to AUX1
- Mouse button 7 maps to AUX2
- Mouse button 8 maps to AUX3
Force run on single CPU core/Process priority (Windows only):
Due to the nature of the Quake 3 engine, running on a single core will sometimes result in faster performance in some cases up to a 50% increase in frame rate.
New CVAR option:
/com_singlecore
Set to "0" to use all CPU cores as normal.
Set to "1" to use force first CPU core.
Set to "2" to use force second CPU core.
Set to "3" to use force third CPU core.
Etc...
If value is greater than "0" and the wanted CPU core is not found, the last valid CPU core will be forced. Only if value is "0" all CPU cores will be free to be used.
(This option needs a total game restart after change)
Default: "2"
New CVAR option:
/com_processpriority
Set to "0" for normal priority.
Set to "1" for above-normal priority.
Set to "2" for high priority.
Default: "0"
Recommended settings (in autoexec.cfg or q3config.cfg):
seta s_khz "44"
seta s_sdlSpeed "44100"
seta dmaHD_enable "1"
seta dmaHD_interpolation "3"
seta dmaHD_mixer "10"
seta s_mixahead "0.5"
seta in_mouse "2"
seta com_singlecore "2"
seta com_processpriority "2"
This post has been edited by p5yc0runn3r: 28 October 2013 - 10:10 PM