audio configuration - independent volume control

596 views
Skip to first unread message

brohmes

unread,
Jan 2, 2011, 10:03:12 AM1/2/11
to mupen64plus
I'd like to be able to lower the volume specifically for mupen64plus
1.99.4, rather than my entire system (for some reason my N64 roms are
MUCH louder than anything else).

I've edited the jttl_audio.conf file in my ~/.config/mupen64plus
folder to use:

"VOLUME_CONTROL_TYPE 1" and

"VOLUME_DEFAULT 50"

But this makes no noticeable change to the volume level. If I adjust
the volume while playing a rom, the entire system volume is changed.
It seems to me like the changes I made in the jttl_audio.conf file
aren't being used. From a bit of googling, it sounds like the
standard audio in mupen64plus incorporated the jttl_audio plugin in
the latest version, but I may be mistaken on this.

What do I need to do to get mupen's volume independent from overall
system volume?

Thanks

Richard Goedeken

unread,
Jan 2, 2011, 10:38:51 AM1/2/11
to mupen...@googlegroups.com
For the new architecture (1.99.x), there is only one config file. It should
be at: ~/.config/mupen64plus/mupen64plus.cfg. The 'jttl_audio.conf' file is
no longer used.

Richard

brohmes

unread,
Jan 2, 2011, 3:29:20 PM1/2/11
to mupen64plus
I tried copying those 2 lines from the jttl_audio.conf file into
~/.config/mupen64plus/mupen64plus.cfg. I tried placing them in the
[Core] section, and also tried creating an [Audio] section. But the
volume still starts at 100%, and it's still master volume being
changed in game.

Is there a different format for these commands now? Or are they no
longer supported at all?

Thanks again

Richard Goedeken

unread,
Jan 2, 2011, 8:25:56 PM1/2/11
to mupen...@googlegroups.com
The names may have changed a little bit. You should run the emulator once
(with a rom) with the '--saveoptions' command-line parameter. It will
re-write all of the config file settings, so your config file should then have
the correct [Audio-SDL] (and other) sections. The values in my config file
look like this:

[Audio-SDL]
# Frequency which is used if rom doesn't want to change it
DEFAULT_FREQUENCY = 33600
# Swaps left and right channels
SWAP_CHANNELS = False
# Size of primary buffer in output samples. This is where audio is loaded
# after it's extracted from n64's memory.
PRIMARY_BUFFER_SIZE = 16384
# Fullness level target for Primary audio buffer, in equivalent output samples
PRIMARY_BUFFER_TARGET = 10240
# Size of secondary buffer in output samples. This is SDL's hardware buffer.
SECONDARY_BUFFER_SIZE = 2048
# Audio resampling algorithm. 1 = unfiltered, 2 = SINC resampling (Best
# Quality, requires libsamplerate)
RESAMPLE = 1
# Volume control type: 1 = SDL (only affects Mupen64Plus output) 2 = OSS
# mixer (adjusts master PC volume)
VOLUME_CONTROL_TYPE = 2
# Percentage change each time the volume is increased or decreased
VOLUME_ADJUST = 5
# Default volume when a game is started.Only used if VOLUME_CONTROL_TYPE is 1
VOLUME_DEFAULT = 80

Richard

brohmes

unread,
Jan 5, 2011, 11:06:35 AM1/5/11
to mupen64plus
Perfect. Ran with that option and it created the relevant section in
the cfg file. Modified the volume type and it's now working as
expected.

Thanks!

On Jan 2, 8:25 pm, Richard Goedeken <Rich...@fascinationsoftware.com>
wrote:
Reply all
Reply to author
Forward
0 new messages