[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: multiple audio sources; controlling volume independently



"T. V. Raman" <raman@users.sf.net> writes:

> not sure what you're asking. Play with the softvol device, it
> amounts to hacking the .asoundrc.
>
> Be careful when you do that, messing up will  lose all sound.

Yes, I hacked .asoundrc.  Just seeing if I was doing the right thing, I.E.,
asking if this was how everyone else did it.

For the curious, here's my .asoundrc:

----- .asoundrc -----
pcm.softvol {
    type            softvol
    slave {
        pcm         "cards.pcm.default"
    }
    control {
        name        'musicvol'
        card        0
    }
}
-----END----- (modified from ALSA wiki)


Then, I have the following in ~/.mplayer/config:

ao=alsa:device=softvol

In .emacs: (setq emms-player-list '(emms-player-mplayer))

All works well, it seems.
amixer set musicvol X # Sets music volume, independently of the synth.

-- Chris

-----------------------------------------------------------------------------
To unsubscribe from the emacspeak list or change your address on the
emacspeak list send mail to "emacspeak-request@cs.vassar.edu" with a
subject of "unsubscribe" or "help"



If you have questions about this archive or had problems using it, please send mail to:

priestdo@cs.vassar.edu No Soliciting!

Emacspeak List Archive | 2007 | 2006 | 2005 | 2004 | 2003 | 2002 | 2001 | 2000 | 1999 | 1998 | Pre 1998

Emacspeak Files | Emacspeak Blog | Search the archive