You are not logged in.

#1 2009-02-21 13:36:37

zaggynl
Member
Registered: 2008-04-16
Posts: 29

volume in firefox/vlc/audacity very high, in mpd very low

In all apps except mpd I have to lower volume (with slider in said app) to 5% else it's very loud, in MPD I can put it at 100% and the volume is very low.

[zaggynl@6750 ~]$ sudo lsmod
Module                  Size  Used by
ipv6                  260084  14 
fuse                   53020  6 
ext2                   66184  1 
ctxfi                  65044  2 
snd_pcm                70020  3 ctxfi
snd_timer              21384  1 snd_pcm
ppp_generic            25116  0 
snd                    50852  5 ctxfi,snd_pcm,snd_timer
ppdev                   9348  0 
nvidia               7221112  26 
soundcore               8160  1 snd
snd_page_alloc         10120  1 snd_pcm
iTCO_wdt               12836  0 
sg                     26804  0 
lp                     11108  0 
i2c_i801               10896  0 
parport_pc             37700  1 
parport                33004  3 ppdev,lp,parport_pc
iTCO_vendor_support     4996  1 iTCO_wdt
usb_storage            95552  1 
intel_agp              27836  0 
serio_raw               7172  0 
i2c_core               22804  2 nvidia,i2c_i801
psmouse                55828  0 
usbhid                 36640  0 
hid                    40704  1 usbhid
agpgart                31572  2 nvidia,intel_agp
evdev                  11296  8 
thermal                17180  0 
processor              41388  1 thermal
fan                     6276  0 
button                  7824  0 
battery                12036  0 
ac                      6020  0 
dm_mod                 54216  0 
loop                   16012  0 
slhc                    7552  1 ppp_generic
r8169                  33924  0 
mii                     6528  1 r8169
rtc_cmos               12332  0 
rtc_core               17564  1 rtc_cmos
rtc_lib                 4480  1 rtc_core
ext3                  127112  2 
jbd                    46996  1 ext3
mbcache                 8708  2 ext2,ext3
sr_mod                 16708  0 
cdrom                  35360  1 sr_mod
sd_mod                 26904  10 
uhci_hcd               24592  0 
ehci_hcd               36876  0 
usbcore               136848  5 usb_storage,usbhid,uhci_hcd,ehci_hcd
ahci                   30988  7 
libata                158112  1 ahci
scsi_mod              102164  5 sg,usb_storage,sr_mod,sd_mod,libata

Alsamixer Master, PCM and Wav sliders at 65%

[zaggynl@6750 ~]$ mpd --version
mpd (MPD: Music Player Daemon) 0.14.1

/etc/mpd.conf:
music_directory       "~/music"
playlist_directory    "~/Playlists"
db_file               "~/.mpd/db"
log_file              "~/.mpd/log"
error_file            "~/.mpd/error"
pid_file              "~/.mpd/mpd.pid"
state_file            "~/.mpd/mpdstate"
user                  "zaggynl"
bind_to_address       "127.0.0.1"
port                  "6600"
mixer_type            "alsa"
mixer_device          "default"
mixer_control         "MPD"
#connection_timeout   "60"
#max_playlist_length  "16384"
#filesystem_charset   "ISO-8859-1"
#id3v1_encoding       "ISO-8859-1"
replaygain            "album"
volume_normalization  "no"
replaygain_preamp     "5

/etc/rc.conf:

#
# /etc/rc.conf - Main Configuration for Arch Linux
#

# -----------------------------------------------------------------------
# LOCALIZATION
# -----------------------------------------------------------------------
#
# LOCALE: available languages can be listed with the 'locale -a' command
# HARDWARECLOCK: set to "UTC" or "localtime"
# USEDIRECTISA: use direct I/O requests instead of /dev/rtc for hwclock
# TIMEZONE: timezones are found in /usr/share/zoneinfo
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
# CONSOLEMAP: found in /usr/share/kbd/consoletrans
# USECOLOR: use ANSI color sequences in startup messages
# 
LOCALE="en_US.utf8"
HARDWARECLOCK="localtime"
USEDIRECTISA="no"
TIMEZONE="Europe/Amsterdam"
KEYMAP="us"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"

# -----------------------------------------------------------------------
# HARDWARE
# -----------------------------------------------------------------------
#
# MOD_AUTOLOAD: Allow autoloading of modules at boot and when needed
# MOD_BLACKLIST: Prevent udev from loading these modules
# MODULES: Modules to load at boot-up. Prefix with a ! to blacklist.
#
# NOTE: Use of 'MOD_BLACKLIST' is deprecated. Please use ! in the MODULES array.
#
MOD_AUTOLOAD="yes"
#MOD_BLACKLIST=() #deprecated
MODULES=(r8169 slhc !pcspkr !snd_pcsp loop dm-mod !oss !snd_seq_oss !snd_pcm_oss !snd_mixer_oss)

# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"

# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
#
HOSTNAME="6750"
# Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available interfaces.
# 
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
#   - prefix an entry in INTERFACES with a ! to disable it
#   - no hyphens in your interface names - Bash doesn't like it
# 
# DHCP:     Set your interface to "dhcp" (eth0="dhcp")
# Wireless: See network profiles below
# 
eth0="eth0 192.168.2.124 netmask 255.255.255.0 broadcast 192.168.2.255"
INTERFACES=(eth0)

# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
#   - prefix an entry in ROUTES with a ! to disable it
#
gateway="default gw 192.168.2.1"
ROUTES=(gateway)

# Enable these network profiles at boot-up.  These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
#   - set to 'menu' to present a menu during boot-up (dialog package required)
#   - prefix an entry with a ! to disable it
# 
# Network profiles are found in /etc/network.d
#
# This now requires the netcfg package
# 
#NETWORKS=(main)

# -----------------------------------------------------------------------
# DAEMONS
# -----------------------------------------------------------------------
#
# Daemons to start at boot-up (in this order)
#   - prefix a daemon with a ! to disable it
#   - prefix a daemon with a @ to start it up in the background
#
DAEMONS=(syslog-ng hal network alsa @sshd @netfs @crond @ntpd @hellanzb @mpd)

Last edited by zaggynl (2009-02-21 13:45:50)

Offline

#2 2009-02-21 13:53:16

userlander
Member
Registered: 2008-08-23
Posts: 413

Re: volume in firefox/vlc/audacity very high, in mpd very low

Try changing mixer_control to PCM.

Offline

#3 2009-02-21 14:23:52

zaggynl
Member
Registered: 2008-04-16
Posts: 29

Re: volume in firefox/vlc/audacity very high, in mpd very low

That allows me to increase the volume but also increases volume for youtube vids. VLC stays the same.

Offline

#4 2009-02-21 16:30:20

zaggynl
Member
Registered: 2008-04-16
Posts: 29

Re: volume in firefox/vlc/audacity very high, in mpd very low

Fixed by adding the following:

audio_output {
       type                    "alsa"
       name                    "My ALSA Device"
       device                  "hw:0,0"        # optional
       format                  "44100:16:2"    # optional
}

complete conf:

 music_directory       "~/music"
 playlist_directory    "~/Playlists"
 db_file               "~/.mpd/db"
 log_file              "~/.mpd/log"
 error_file            "~/.mpd/error"
 pid_file              "~/.mpd/mpd.pid"
 state_file            "~/.mpd/mpdstate"
 user                  "zaggynl"
 bind_to_address       "127.0.0.1"
 port                  "6600"
 mixer_type            "alsa"
 mixer_device          "mpdvol"
 mixer_control         "MPD"
#connection_timeout   "60"
 max_playlist_length  "40000"
 #filesystem_charset   "ISO-8859-1"
 #id3v1_encoding       "ISO-8859-1"
 #replaygain            "album"
 volume_normalization  "no"
 #replaygain_preamp     "5"

audio_output {
       type                    "alsa"
       name                    "My ALSA Device"
       device                  "hw:0,0"        # optional
       format                  "44100:16:2"    # optional
}

Offline

Board footer

Powered by FluxBB