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

Re: multiple audio sources; controlling volume independently



yes, that's the way to do it under alsa. Just keep a backup of a
working .asoundrc at all times that you can restore from the
shell if things go bad.

>>>>> "C" == C M Brannon <cmbrannon@xxxxxxxxxxx> writes:
    C> "T. V. Raman" <raman@xxxxxxxxxxx> 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.
    C> 
    C> Yes, I hacked .asoundrc.  Just seeing if I was doing the
    C> right thing, I.E., asking if this was how everyone else
    C> did it.
    C> 
    C> For the curious, here's my .asoundrc:
    C> 
    C> ----- .asoundrc ----- pcm.softvol { type softvol slave {
    C> pcm "cards.pcm.default" } control { name 'musicvol' card 0
    C> } } -----END----- (modified from ALSA wiki)
    C> 
    C> 
    C> Then, I have the following in ~/.mplayer/config:
    C> 
    C> ao=alsa:device=softvol
    C> 
    C> In .emacs: (setq emms-player-list '(emms-player-mplayer))
    C> 
    C> All works well, it seems.  amixer set musicvol X # Sets
    C> music volume, independently of the synth.
    C> 
    C> -- Chris
    C> 
    C> -----------------------------------------------------------------------------
    C> To unsubscribe from the emacspeak list or change your
    C> address on the emacspeak list send mail to
    C> "emacspeak-request@xxxxxxxxxxx" with a subject of
    C> "unsubscribe" or "help"

-- 
Best Regards,
--raman

      
Email:  raman@xxxxxxxxxxx
WWW:    http://emacspeak.sf.net/raman/
AIM:    emacspeak       GTalk: tv.raman.tv@xxxxxxxxxxx
PGP:    http://emacspeak.sf.net/raman/raman-almaden.asc
Google: tv+raman 
IRC:    irc://irc.freenode.net/#emacs

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



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

priestdo@xxxxxxxxxxx No Soliciting!

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

Emacspeak Files | Emacspeak Blog