Sound: Difference between revisions

From Unreal Tournament 2004 MiA Wiki
Holyspam (talk | contribs)
Holyspam (talk | contribs)
No edit summary
Line 12: Line 12:
* '''Configurable decoders & backends''' – Select output backends (e.g., WASAPI, PulseAudio, PipeWire) and decoder behavior
* '''Configurable decoders & backends''' – Select output backends (e.g., WASAPI, PulseAudio, PipeWire) and decoder behavior


==== '''Configuration file''' ====
=== '''Configuration file''' ===
Audio behavior can be customized through files containing settings for different use cases (e.g., competitive HRTF headphones, high-quality surround, low-latency setup).
Audio behavior can be customized through files containing settings for different use cases (e.g., competitive HRTF headphones, high-quality surround, low-latency setup).


Line 23: Line 23:
* <code>period_size</code> and <code>periods</code> (latency tuning)
* <code>period_size</code> and <code>periods</code> (latency tuning)


===== For Windows =====
==== For Windows ====


====== Per-user ======
===== Per-user =====
   C:\Users\%USERNAME%\AppData\Roaming\alsoft.ini
   C:\Users\%USERNAME%\AppData\Roaming\alsoft.ini


====== Game-specific ======
===== Game-specific =====
   C:\UT2004\System\alsoft.ini
   C:\UT2004\System\alsoft.ini


====== Presets ======
===== Presets =====
Stereo speakers
Stereo speakers


Line 38: Line 38:
Stereo headphones with HRTF enabled
Stereo headphones with HRTF enabled


===== For Linux =====
==== For Linux ====


====== System-wide ======
===== System-wide =====
  /etc/xdg/alsoft.conf
  /etc/xdg/alsoft.conf


====== Per-user ======
===== Per-user =====
  ~/.config/alsoft.conf
  ~/.config/alsoft.conf


====== Game-specific ======
===== Game-specific =====
  $HOME/.ut2004/System/alsoft.conf
  $HOME/.ut2004/System/alsoft.conf


====== Presets ======
===== Presets =====
Stereo speakers
Stereo speakers



Revision as of 17:45, 20 February 2026

OpenAL Soft

Patch 3374 for Unreal Tournament 2004 replaces the legacy DirectSound-based OpenAL with OpenAL Soft, modernizing the game’s audio backend for improved compatibility, stability, and 3D positional sound on current systems.

Audio Features & Options

  • HRTF support – Enhanced 3D positional audio for headphones
  • Selectable HRTF modes – Enable/disable and profile selection
  • Playback device selection – Choose specific output devices
  • Stereo / 5.1 / 7.1 support – Improved surround handling
  • Sample rate & resampler settings – Quality/performance tuning
  • Ambisonics support – B-Format decoding for advanced spatial audio workflows
  • Configurable decoders & backends – Select output backends (e.g., WASAPI, PulseAudio, PipeWire) and decoder behavior

Configuration file

Audio behavior can be customized through files containing settings for different use cases (e.g., competitive HRTF headphones, high-quality surround, low-latency setup).

You can place the file next to the game executable and OpenAL Soft will override the system or user config Common adjustable options include:

  • hrtf = true/false
  • frequency = <sample rate>
  • channels = stereo / 5.1 / 7.1
  • resampler = <type>
  • period_size and periods (latency tuning)

For Windows

Per-user
 C:\Users\%USERNAME%\AppData\Roaming\alsoft.ini
Game-specific
 C:\UT2004\System\alsoft.ini
Presets

Stereo speakers

Stereo headphones

Stereo headphones with HRTF enabled

For Linux

System-wide
/etc/xdg/alsoft.conf
Per-user
~/.config/alsoft.conf
Game-specific
$HOME/.ut2004/System/alsoft.conf
Presets

Stereo speakers

Stereo headphones

Stereo headphones with HRTF enabled