Puppy Volume Mixer. Updated Mar 3, 2007

Stuff that has yet to be sorted into a category.
Message
Author
User avatar
rarsa
Posts: 3053
Joined: Sun 29 May 2005, 20:30
Location: Kitchener, Ontario, Canada
Contact:

Re: Pvolume mixer

#46 Post by rarsa »

vovchik wrote:(a) it controls my alsa Audigy 2ZS just fine, but 13 options aren't really enough. I'll try to tweak the code a bit to inlcude a toggle for analog on/off, since I had that problem for about a week and was getting no sound out of the Audigy until I toggled that setting in the alsa console mixer.
Please read up in this thread. About 16 or 17 posts before this one.
vovchik wrote:(b) Pvolume opens up a small 8x8cm grey window, in addition to the mixer window. Is there any way to turn that annoyance off? There must be some tktcl initialization setting setting.
My guess is that you are using puppy 2.15CE or did the wrong MIME association for TCL applications. That screen is not a problem with the script but the way you are executing it (or the puppy you are using). WhoDo, already fixed Puppy for the next version of 2.15.
vovchik wrote:(c)The mixer app, ...starts off at about horiz. pixel 950
I don't specify the position. It is responsibility of the WM to position it.
[url]http://rarsa.blogspot.com[/url] Covering my eclectic thoughts
[url]http://www.kwlug.org/blog/48[/url] Covering my Linux How-to

User avatar
vovchik
Posts: 1507
Joined: Tue 24 Oct 2006, 00:02
Location: Ukraine

#47 Post by vovchik »

Thanks rarsa,

I fixed the mysterious grey window problem. You were right. My ROX run default was set to "wish" and not "tclsh" as a result of some earlier fiddling on my part. As for direct Alsa mixer support, that would be great. I read the previous posts you mentioned and am looking forward to it, if, that is, you ever find the time. One problem I see right off the bat is that some sound cards have a ridiculously large number of controls and toggles (such as mine). That would make for a very unwieldy mixer (if there were no separate configuration dialog to disable most of them) and require a large array for their storage. Your code, as it now stands, is simple, elegant and straghtforward.

With kind regards,
vovchik

PS.To get sound out of my card I had to run the following:

amixer set 'Audigy Analog/Digital Output Jack' unmute

and it took me some time to figure that one out...and that it was muted by default.

User avatar
rarsa
Posts: 3053
Joined: Sun 29 May 2005, 20:30
Location: Kitchener, Ontario, Canada
Contact:

#48 Post by rarsa »

vovchik wrote:That would make for a very unwieldy mixer (if there were no separate configuration dialog to disable most of them)
That's one of the reasons I added the configuration window. ;)
vovchik wrote:and require a large array for their storage. Your code, as it now stands, is simple, elegant and straghtforward.
No problem with the way I coded it. The code is the same whether there are 10 or 100 controls.

Thanks for the kind words, though.
[url]http://rarsa.blogspot.com[/url] Covering my eclectic thoughts
[url]http://www.kwlug.org/blog/48[/url] Covering my Linux How-to

User avatar
jason.b.c
Posts: 755
Joined: Wed 08 Feb 2006, 05:32
Location: Marshfield,MO
Contact:

#49 Post by jason.b.c »

I take it this thing dosen't work with the XFCE.pup , Seeing as i have installed it and never got it going , or showing up anywhere...
Puppy is Awesome..!!!!
[url=http://www.puppylinux.com/][img]http://www.browserloadofcoolness.com/sig.png[/img][/url]

User avatar
rarsa
Posts: 3053
Joined: Sun 29 May 2005, 20:30
Location: Kitchener, Ontario, Canada
Contact:

#50 Post by rarsa »

Puppy volume mixer is a standard application, It does not depend on the Window Manager.

I don't know what kind of setup you have so I don't know why it is not showing in your Multimedia menu but you can execute it from the command line

Code: Select all

pvolume-mixer.tcl
[url]http://rarsa.blogspot.com[/url] Covering my eclectic thoughts
[url]http://www.kwlug.org/blog/48[/url] Covering my Linux How-to

User avatar
pakt
Posts: 1157
Joined: Sat 04 Jun 2005, 16:54
Location: Sweden

#51 Post by pakt »

Nice work rarsa :)

I've been reading the forum sporadically and missed this thread until now. Here's my amixer output.

Paul

P.S. Just a comment on 'speakers' vs 'headphones': The setvol 0 (SOUND_MIXER_VOLUME) device works with my laptop's speakers but not the headphone jack where I have my external speakers connected. Only device 4 & 10 have any effect (PCM & ALTPCM), as you have noticed on one of your PCs.

The same is true with your mixer and Zmixer's master volume control. However, when I install Xtmix, the master volume DOES control BOTH outputs! I wonder why one mixer controls both and another doesn't... It would be nice if the volumeapplet could control my external speakers ;)
Attachments
amixer.tar.gz
(747 Bytes) Downloaded 448 times
Methinks Raspberry Pi were ideal for runnin' Puppy Linux

Post Reply