Advanced sound options

From ZDoom Wiki
Jump to navigation Jump to search
Menus: Main menu → Options menu → Sound options
The advanced sound options menu in Doom II.

The advanced sound options menu allows to fine-tune certain sound system settings. Its MENUDEF name is AdvSoundOptions and it can be summoned with the menu_advsound console command.

  • Sample rate (Default/4000 Hz/8000 Hz/11025 Hz/22050 Hz/32000 Hz/44100 Hz/48000 Hz)
snd_samplerate
Chooses which sample rate to use. The default uses the system's default sample rate.

OPL synthesis

  • Number of emulated OPL chips (1—8 by 1 increments)
opl_numchips
This allows to choose the number of virtual OPL chips used in the OPL emulator when rendering MIDI songs. (Raw OPL is still limited to two chips at most.) Using only one chip can make emulation up to twice as fast, but it is not really enough to play Doom's music, and most old sound cards had either two OPL2 chips or one OPL3 chip (which acts like two OPL2 chips).
  • Full MIDI stero panning (On/Off)
opl_fullpan
The OPL emulators in ZDoom support all 127 panning positions allowed by the MIDI standard. However, actual OPL chips only supported mono (OPL2) or had stereo limited to three panning positions (OPL3). This option allows to enable or disable full stereo panning when using OPL emulation.
  • OPL Emulator Core (MAME OPL2/DOSBox OPL3/Java OPL3/Nuked OPL3)
opl_core
This allows to choose which OPL emulator core to use. The MAME core corresponds to a MiniWikipediaLogoIcon.pngYamaha YM3812 (OPL2), while the other cores correspond to MiniWikipediaLogoIcon.pngYamaha YMF262 (OPL3).

libADLMIDI

  • OPL Emulator Core (DOSBox OPL3/Nuked OPL3/Nuked OPL3 v1.7.4/Opal OPL3/Java OPL3)
adl_emulator_id
This allows to choose which libADLMIDI core to use. All cores correspond to MiniWikipediaLogoIcon.pngYamaha YMF262 (OPL3).
  • Run emulator at PCM rate
adl_run_at_pcm_rate
This allows to increase performance of DOSBox core by reducing of running cycles which will also decrease accuracy of the sound (some percussions will be affected).
  • Number of emulated OPL chips (1—32 by 1 increments)
adl_chips_count
This allows to choose the number of virtual OPL chips used in the libADLMIDI when rendering MIDI songs. Using only one chip can make emulation up to twice as fast, but it is not really enough to play Doom's music, and most old sound cards had either two OPL2 chips or one OPL3 chip (which acts like two OPL2 chips).
  • Full MIDI stero panning (On/Off)
adl_fullpan
The libADLMIDI in GZDoom support all 127 panning positions allowed by the MIDI standard. However, actual OPL chips only supported mono (OPL2) or had stereo limited to three panning positions (OPL3). This option allows to enable or disable full stereo panning when using libADLMIDI.
  • Volume model (Auto/Generic/Native OPL3/DMX/Apogee/9x/AIL/HMI)
adl_volume_model
This allows to choose which volume level formula will be used to convert MIDI volume into the scale of OPL3 chip.
  • OPL Bank
adl_bank
This allows to choose one of embedded libADLMIDI's FM banks.
  • Use custom WOPL bank
adl_use_custom_bank
This allows to turn libADLMIDI into use of custom bank file instead of embedded one. Note: If custom bank wasn't choosen or it's where broken, the embedded bank will be used as the fallback.
  • WOPL Bank file
adl_custom_bank
File path to custom WOPL bank will be used by libADLMIDI when custom bank mode is turned on.

libOPNMIDI

  • OPN2 Emulator Core (MAME YM2612/Nuked OPN2/GENS 2.10/Neko Project II Kai/MAME YM2608/PMDWin OPNA)
opn_emulator_id
This allows choosing which libOPNMIDI core to use. All cores correspond to MiniWikipediaLogoIcon.pngYamaha YM2612 (OPN2) amd MiniWikipediaLogoIcon.pngYamaha YM2608 (OPNA).
  • Run emulator at PCM rate
opn_run_at_pcm_rate
This allows to increase performance of Mame YM2612 and GENS cores by reducing of running cycles which will also decrease accuracy of the sound (some percussions will be affected).
  • Number of emulated OPN2 chips (1—32 by 1 increments)
opn_chips_count
This allows to choose the number of virtual OPN chips used in the libOPNMIDI when rendering MIDI songs. Using only one chip can make emulation up to twice as fast, but it is not really enough to play Doom's music. Note that each chip gives 6 voices polyphony, therefore it's recommended to use at least two chips to have proper music playing.
  • Full MIDI stereo panning (On/Off)
opn_fullpan
The libOPNMIDI in GZDoom support all 127 panning positions allowed by the MIDI standard. However, actual OPN2 chips only stereo limited to three panning positions. This option allows to enable or disable full stereo panning when using libOPNMIDI.
  • Use custom WOPN bank
opn_use_custom_bank
This allows turning libOPNMIDI into the use of a custom bank file instead of an embedded one. Note: If the custom bank wasn't chosen or it's where broken, the embedded bank will be used as the fallback.
  • WOPN Bank file
opn_custom_bank
File path to custom WOPN bank will be used by libOPNMIDI when custom bank mode is turned on.

GUS Emulation

  • GUS config file (text field)
midi_config
File path to the fallback Gravis Ultrasound or TiMidity configuration file, used if DMXGUS is absent or not parsed.
  • MIDI voices (16—256 by 4 increments)
midi_voices
How many voices are available to the GUS emulator.
  • Read DMXGUS lumps (On/Off)
midi_dmxgus
Whether DMXGUS lumps should be parsed.
  • GUS memory size (Unlimited/256K/512K/768K/1024K)
gus_memsize
Which level of patch remapping should be used. If you want to use patch remapping, be warned that generally, only the 1024K hardware was considered.

FluidSynth

  • Patch set (text field)
fluid_patchset
File paths to the sound fonts used by FluidSynth. These can be either absolute paths, or just the filename if the patch resides in one of the directories listed in the [SoundfontSearch.Directories] section of the ini. The .sf2 extension can be safely omitted. Multiple patches can be specified by delimiting the paths with a ';' on Windows, or a ':' on other platforms.
  • Gain (0—10 by 0.5 increments)
fluid_gain
Which amount of gain is applied to the rendered MIDI sound.
  • Reverb (On/Off)
fluid_reverb
Whether FluidSynth applies MiniWikipediaLogoIcon.pngreverberation to the rendered MIDI sound. This is independent of the in-game reverb environments.
  • MIDI voices (16—4096 by 16 increments)
fluid_voices
How many voices are available simultaneously for playing MIDI instruments. 16 is the minimum required by the MiniWikipediaLogoIcon.pngGeneral MIDI standard.

TiMidity++

  • Path for executable (text field)
timidity_exe
File path to the TiMidity executable.
  • Reverb (On/Off)
timidity_reverb
Whether TiMidity++ applies MiniWikipediaLogoIcon.pngreverberation to the rendered MIDI sound. This is independent of the in-game reverb environments.
  • Chorus (On/Off)
timidity_chorus
Whether TiMidity++ should apply a MiniWikipediaLogoIcon.pngchorus effect to the rendered MIDI sound.
  • Relative volume (0—4 by 0.2 increments)
timidity_mastervolume
Adjusts the volume of the MIDI sound produced by TiMidity++. This is combined with the general music volume.

WilMIDI

  • WildMidi config file (text field)
wildmidi_config
File path to the WildMIDI configuration file.
  • Reverb (On/Off)
wildmidi_reverb
Whether WildMIDI applies MiniWikipediaLogoIcon.pngreverberation to the rendered MIDI sound. This is independent of the in-game reverb environments.