mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-27 22:42:57 +00:00
- split up the advanced sound menu because it became a bit too confusing with all the different MIDI players' options lumped together.
There is now a separate MIDI player options menu which is a list of submenus, one for each player (except for OPNMIDI which does not have any options yet.
This commit is contained in:
parent
49ab99a383
commit
4e8588815b
2 changed files with 90 additions and 30 deletions
|
@ -2143,6 +2143,7 @@ SNDMNU_OPENAL = "OpenAL options";
|
||||||
SNDMNU_RESTART = "Restart sound";
|
SNDMNU_RESTART = "Restart sound";
|
||||||
SNDMNU_ADVANCED = "Advanced options";
|
SNDMNU_ADVANCED = "Advanced options";
|
||||||
SNDMNU_MODREPLAYER = "Module replayer options";
|
SNDMNU_MODREPLAYER = "Module replayer options";
|
||||||
|
SNDMNU_MIDIPLAYER = "Midi player options";
|
||||||
|
|
||||||
// OpenAL Options
|
// OpenAL Options
|
||||||
OPENALMNU_TITLE = "OPENAL OPTIONS";
|
OPENALMNU_TITLE = "OPENAL OPTIONS";
|
||||||
|
@ -2167,14 +2168,22 @@ ADVSNDMNU_FLUIDSYNTH = "FluidSynth";
|
||||||
ADVSNDMNU_FLUIDPATCHSET = "Patch set";
|
ADVSNDMNU_FLUIDPATCHSET = "Patch set";
|
||||||
ADVSNDMNU_FLUIDGAIN = "Gain";
|
ADVSNDMNU_FLUIDGAIN = "Gain";
|
||||||
ADVSNDMNU_REVERB = "Reverb";
|
ADVSNDMNU_REVERB = "Reverb";
|
||||||
|
ADVSNDMNU_REVERB_LEVEL = "Reverb Level";
|
||||||
ADVSNDMNU_CHORUS = "Chorus";
|
ADVSNDMNU_CHORUS = "Chorus";
|
||||||
ADVSNDMNU_TIMIDITY = "Timidity++";
|
ADVSNDMNU_TIMIDITY = "Timidity++";
|
||||||
|
ADVSNDMNU_ADLMIDI = "ADLMidi";
|
||||||
|
ADVSNDMNU_OPNMIDI = "OPNMidi";
|
||||||
ADVSNDMNU_TIMIDITYEXE = "Path for executable";
|
ADVSNDMNU_TIMIDITYEXE = "Path for executable";
|
||||||
ADVSNDMNU_TIMIDITYCONFIG = "Timidity config file";
|
ADVSNDMNU_TIMIDITYCONFIG = "Timidity config file";
|
||||||
ADVSNDMNU_TIMIDITYVOLUME = "Relative volume";
|
ADVSNDMNU_TIMIDITYVOLUME = "Relative volume";
|
||||||
ADVSNDMNU_WILDMIDI = "WildMidi";
|
ADVSNDMNU_WILDMIDI = "WildMidi";
|
||||||
ADVSNDMNU_WILDMIDICONFIG = "WildMidi config file";
|
ADVSNDMNU_WILDMIDICONFIG = "WildMidi config file";
|
||||||
ADVSNDMNU_SELCONFIG = "Select configuration";
|
ADVSNDMNU_SELCONFIG = "Select configuration";
|
||||||
|
ADVSNDMNU_GLOBAL = "Global";
|
||||||
|
ADVSNDMNU_FREEVERB = "Freeverb";
|
||||||
|
ADVSNDMNU_GLOBAL_FREEVERB = "Global Freeverb";
|
||||||
|
ADVSNDMNU_ADVRESAMPLING = "Advanced Resampling";
|
||||||
|
ADVSNDMNU_OPLBANK = "OPL Bank";
|
||||||
|
|
||||||
// Module Replayer Options
|
// Module Replayer Options
|
||||||
MODMNU_TITLE = "MODULE REPLAYER OPTIONS";
|
MODMNU_TITLE = "MODULE REPLAYER OPTIONS";
|
||||||
|
|
|
@ -1630,6 +1630,7 @@ OptionMenu SoundOptions protected
|
||||||
|
|
||||||
StaticText " "
|
StaticText " "
|
||||||
Submenu "$SNDMNU_ADVANCED", "AdvSoundOptions"
|
Submenu "$SNDMNU_ADVANCED", "AdvSoundOptions"
|
||||||
|
Submenu "$SNDMNU_MIDIPLAYER", "MidiPlayerOptions"
|
||||||
Submenu "$SNDMNU_MODREPLAYER", "ModReplayerOptions"
|
Submenu "$SNDMNU_MODREPLAYER", "ModReplayerOptions"
|
||||||
StaticText " "
|
StaticText " "
|
||||||
Submenu "$OPTMNU_REVERB", "ReverbEdit"
|
Submenu "$OPTMNU_REVERB", "ReverbEdit"
|
||||||
|
@ -1664,36 +1665,6 @@ OptionMenu AdvSoundOptions protected
|
||||||
Title "$ADVSNDMNU_TITLE"
|
Title "$ADVSNDMNU_TITLE"
|
||||||
Option "$ADVSNDMNU_SAMPLERATE", "snd_samplerate", "SampleRates"
|
Option "$ADVSNDMNU_SAMPLERATE", "snd_samplerate", "SampleRates"
|
||||||
Option "$ADVSNDMNU_HRTF", "snd_hrtf", "AutoOffOn"
|
Option "$ADVSNDMNU_HRTF", "snd_hrtf", "AutoOffOn"
|
||||||
StaticText " "
|
|
||||||
StaticText "$ADVSNDMNU_OPLSYNTHESIS", 1
|
|
||||||
Slider "$ADVSNDMNU_OPLNUMCHIPS", "opl_numchips", 1, 8, 1, 0
|
|
||||||
Option "$ADVSNDMNU_OPLFULLPAN", "opl_fullpan", "OnOff"
|
|
||||||
Option "$ADVSNDMNU_OPLCORES", "opl_core", "OplCores"
|
|
||||||
StaticText " "
|
|
||||||
StaticText "$ADVSNDMNU_GUSEMULATION", 1
|
|
||||||
LabeledSubMenu "$ADVSNDMNU_SELCONFIG", "midi_config", "GusConfigMenu"
|
|
||||||
Slider "$ADVSNDMNU_MIDIVOICES", "midi_voices", 16, 256, 4, 0
|
|
||||||
Option "$ADVSNDMNU_DMXGUS", "midi_dmxgus", "OnOff"
|
|
||||||
Option "$ADVSNDMNU_GUSMEMSIZE", "gus_memsize", "GusMemory"
|
|
||||||
StaticText " "
|
|
||||||
StaticText "$ADVSNDMNU_FLUIDSYNTH", 1
|
|
||||||
LabeledSubMenu "$ADVSNDMNU_SELCONFIG", "fluid_patchset", "FluidPatchsetMenu"
|
|
||||||
Slider "$ADVSNDMNU_FLUIDGAIN", "fluid_gain", 0, 10, 0.5, 1
|
|
||||||
Option "$ADVSNDMNU_REVERB", "fluid_reverb", "OnOff"
|
|
||||||
Option "$ADVSNDMNU_CHORUS", "fluid_chorus", "OnOff"
|
|
||||||
Slider "$ADVSNDMNU_MIDIVOICES", "fluid_voices", 16, 4096, 16, 0
|
|
||||||
// Leaving out the more advanced stuff for now.
|
|
||||||
StaticText " "
|
|
||||||
StaticText "$ADVSNDMNU_TIMIDITY", 1
|
|
||||||
|
|
||||||
LabeledSubMenu "$ADVSNDMNU_SELCONFIG", "timidity_config", "TimidityConfigMenu"
|
|
||||||
// This one needs reworking
|
|
||||||
//Option "$ADVSNDMNU_REVERB", "timidity_reverb", "OnOff"
|
|
||||||
Option "$ADVSNDMNU_CHORUS", "timidity_chorus", "OnOff"
|
|
||||||
StaticText " "
|
|
||||||
StaticText "$ADVSNDMNU_WILDMIDI", 1
|
|
||||||
LabeledSubMenu "$ADVSNDMNU_SELCONFIG", "wildmidi_config", "WildMidiConfigMenu"
|
|
||||||
Option "$ADVSNDMNU_REVERB", "wildmidi_reverb", "OnOff"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
OptionMenu GusConfigMenu protected
|
OptionMenu GusConfigMenu protected
|
||||||
|
@ -1750,6 +1721,7 @@ OptionValue ModVolumeRamps
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
OptionMenu ModReplayerOptions protected
|
OptionMenu ModReplayerOptions protected
|
||||||
{
|
{
|
||||||
Title "$MODMNU_TITLE"
|
Title "$MODMNU_TITLE"
|
||||||
|
@ -1764,6 +1736,85 @@ OptionMenu ModReplayerOptions protected
|
||||||
// the foo_dumb preferences in foobar2000.
|
// the foo_dumb preferences in foobar2000.
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*=======================================
|
||||||
|
*
|
||||||
|
* MIDI player
|
||||||
|
*
|
||||||
|
*=======================================*/
|
||||||
|
|
||||||
|
OptionValue TimidityReverb
|
||||||
|
{
|
||||||
|
0, "$OPTVAL_OFF"
|
||||||
|
1, "$OPTVAL_STANDARD"
|
||||||
|
2, "$ADVSNDMNU_GLOBAL"
|
||||||
|
3, "$ADVSNDMNU_FREEVERB"
|
||||||
|
4, "$ADVSNDMNU_GLOBAL_FREEVERB"
|
||||||
|
}
|
||||||
|
|
||||||
|
OptionMenu MidiPlayerOptions protected
|
||||||
|
{
|
||||||
|
Title "$SNDMNU_MIDIPLAYER"
|
||||||
|
Submenu "$ADVSNDMNU_FLUIDSYNTH", "FluidsynthOptions", 0, 1
|
||||||
|
Submenu "$ADVSNDMNU_TIMIDITY", "TimidityOptions", 0, 1
|
||||||
|
Submenu "$ADVSNDMNU_GUSEMULATION", "GUSOptions", 0, 1
|
||||||
|
Submenu "$ADVSNDMNU_WILDMIDI", "WildMidiOptions", 0, 1
|
||||||
|
Submenu "$ADVSNDMNU_OPLSYNTHESIS", "OPLOptions", 0, 1
|
||||||
|
Submenu "$ADVSNDMNU_ADLMIDI", "ADLOptions", 0, 1
|
||||||
|
}
|
||||||
|
|
||||||
|
OptionMenu FluidsynthOptions protected
|
||||||
|
{
|
||||||
|
Title "$ADVSNDMNU_FLUIDSYNTH"
|
||||||
|
LabeledSubMenu "$ADVSNDMNU_SELCONFIG", "fluid_patchset", "FluidPatchsetMenu"
|
||||||
|
Slider "$ADVSNDMNU_FLUIDGAIN", "fluid_gain", 0, 10, 0.5, 1
|
||||||
|
Option "$ADVSNDMNU_REVERB", "fluid_reverb", "OnOff"
|
||||||
|
Option "$ADVSNDMNU_CHORUS", "fluid_chorus", "OnOff"
|
||||||
|
Slider "$ADVSNDMNU_MIDIVOICES", "fluid_voices", 16, 4096, 16, 0
|
||||||
|
// other CVARs need to be revieved for usefulness
|
||||||
|
}
|
||||||
|
|
||||||
|
OptionMenu TimidityOptions protected
|
||||||
|
{
|
||||||
|
Title "$ADVSNDMNU_TIMIDITY"
|
||||||
|
LabeledSubMenu "$ADVSNDMNU_SELCONFIG", "timidity_config", "TimidityConfigMenu"
|
||||||
|
Option "$ADVSNDMNU_REVERB", "timidity_reverb", "TimidityReverb"
|
||||||
|
Slider "$ADVSNDMNU_REVERB_LEVEL", "timidity_reverb_level", 9, 127, 1, 0
|
||||||
|
Option "$ADVSNDMNU_CHORUS", "timidity_chorus", "OnOff"
|
||||||
|
// other CVARs need to be revieved for usefulness
|
||||||
|
}
|
||||||
|
|
||||||
|
OptionMenu GUSOptions protected
|
||||||
|
{
|
||||||
|
Title "$ADVSNDMNU_GUSEMULATION"
|
||||||
|
LabeledSubMenu "$ADVSNDMNU_SELCONFIG", "midi_config", "GusConfigMenu"
|
||||||
|
Slider "$ADVSNDMNU_MIDIVOICES", "midi_voices", 16, 256, 4, 0
|
||||||
|
Option "$ADVSNDMNU_DMXGUS", "midi_dmxgus", "OnOff"
|
||||||
|
Option "$ADVSNDMNU_GUSMEMSIZE", "gus_memsize", "GusMemory"
|
||||||
|
}
|
||||||
|
|
||||||
|
OptionMenu WildMidiOptions protected
|
||||||
|
{
|
||||||
|
Title "$ADVSNDMNU_WILDMIDI"
|
||||||
|
LabeledSubMenu "$ADVSNDMNU_SELCONFIG", "wildmidi_config", "WildMidiConfigMenu"
|
||||||
|
Option "$ADVSNDMNU_REVERB", "wildmidi_reverb", "OnOff"
|
||||||
|
Option "$ADVSNDMNU_ADVRESAMPLING", "wildmidi_enhanced_resampling", "OnOff"
|
||||||
|
}
|
||||||
|
|
||||||
|
OptionMenu OPLOptions protected
|
||||||
|
{
|
||||||
|
Title "$ADVSNDMNU_OPLSYNTHESIS"
|
||||||
|
Option "$ADVSNDMNU_OPLCORES", "opl_core", "OplCores"
|
||||||
|
Slider "$ADVSNDMNU_OPLNUMCHIPS", "opl_numchips", 1, 8, 1, 0
|
||||||
|
Option "$ADVSNDMNU_OPLFULLPAN", "opl_fullpan", "OnOff"
|
||||||
|
}
|
||||||
|
|
||||||
|
OptionMenu ADLOptions protected
|
||||||
|
{
|
||||||
|
Title "$ADVSNDMNU_ADLMIDI"
|
||||||
|
StaticText "$ADVSNDMNU_OPLBANK", 1
|
||||||
|
// todo: fill in from internal data
|
||||||
|
}
|
||||||
|
|
||||||
/*=======================================
|
/*=======================================
|
||||||
*
|
*
|
||||||
* Change Renderer Menu
|
* Change Renderer Menu
|
||||||
|
|
Loading…
Reference in a new issue