Hi:<br>
<br>
I'm attempting to use the volume.sh to control an Audigy2 LS as
mentioned here, but I can't seem to get around the problem with the
space in the control name: "Analog Front". I see the origional
poster asked the same question; unfortunately I don't understand the
responce here:<br>
<br>
mixer device != mixer control<br>
<br>
It seems volume.sh is intent on sorting by spaces, and I don't know any way around it. Any suggestions?<br>
<br>
Thanks!<br>
--Jim<br><br><div><span class="gmail_quote">On 2/19/06, <b class="gmail_sendername">Michael T. Dean</b> <<a href="mailto:mtdean@thirdcontact.com">mtdean@thirdcontact.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 02/19/2006 06:27 PM, Mike wrote:<br>> I have an Audigy2 LS and I'm trying to get myth to control the mixer<br>> channel "Analog Front". I don't have a PCM or a Master. But I do have<br>> this channel which controls the volume.
<br>><br><br>Post-0.19 SVN: <a href="http://svn.mythtv.org/trac/changeset/8929">http://svn.mythtv.org/trac/changeset/8929</a><br><br>0.19 and before (or Post-0.19 SVN for controlling volume of surround<br>channels when your sound card's Master control doesn't): You have the
<br>option of "Mixer controls Master" and "Mixer controls PCM." If you want<br>to control anything else (including Center, Surround, LFE, ...), you'll<br>have to use an external program.<br><br>First, you need to disable the internal volume controls in Myth:
<br><br>Use internal volume controls<br>MythTV can control the PCM and master mixer volume. If you prefer to<br>use an external mixer program, then disable this option.<br><br>So, uncheck that option. Then, set up your system to use an external
<br>program for volume. For example, if you're using LIRC, set your volume<br>buttons like:<br><br>begin<br> prog = irexec<br> button = volume-up<br> config = /path/to/volume.sh up &<br> repeat = 2<br>end<br>begin
<br> prog = irexec<br> button = volume-down<br> config = /path/to/volume.sh down &<br> repeat = 2<br>end<br>begin<br> prog = irexec<br> button = mute<br> config = /path/to/volume.sh mute &<br> config = /path/to/volume.sh unmute &
<br> repeat = 0<br>end<br><br>(The mute button will work as a toggle--muting the sound the first time<br>you press it and unmuting the second time.) Adjust the repeat to give<br>you the speed of volume changes you desire when holding down vol-up or
<br>vol-down. Note, also, that you need to change the button names to<br>whatever you've defined in your lircd.conf and you *must* start irexec<br>(i.e. add "irexec -d" (no quotes) to .xinitrc).<br><br>Make sure you edit the configuration settings in
volume.sh as described<br>in its comments. It assumes that you have amixer and awk and mythtvosd<br>(and ?) in your PATH. If not, you'll need to edit a bit. If you don't<br>want the OSD or if your OSD theme doesn't support the alerts, comment
<br>out the mythtvosd lines (2 or 3 lines per mythtvosd command)<br><br>Note that I played with volume.sh for a while, but I haven't done much<br>with it lately because I still only have 2 speakers, so I haven't had to<br>
finish fixing it up... Oh, and *please* heed the warning in volume.sh<br>and test the amixer command line before running the script (see<br>"VOLUME=" line). Please let me know if you find any issues/problems<br>
using it--or if you find a nicer way of getting an "OSD". :)<br><br>> Is there a way to get it to control a mixer control with a space in it?<br>> I've tried putting 'Analog Front' and "Analog Front" in there but both
<br>> didn't work. I think what its trying to do is control Analog and it<br>> skips everything after the space.<br>><br>mixer device != mixer control<br><br>Mike<br><br><br>_______________________________________________
<br>mythtv-users mailing list<br><a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br><a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
</a><br><br><br><br></blockquote></div><br>