Puppy Volume Mixer. Updated Mar 3, 2007
This is good, keep them comming, the more I have the easier it will be to have a (now for real) fully functional mixer.
Why another mixer? Well, I searched up and down for Mixers, GTK based mixers in particular, and for whatever reason they are either quite ugly with a lot of functionality or nice looking with very limited functionality. There were even the ugly looking with very functionality.
I am sure that whatever I come up with will not support 100% of Alsa's functionality, it will just be a volume level mixer not a full mixer but it will allow users with a broader range of audio devices to control them.
Why another mixer? Well, I searched up and down for Mixers, GTK based mixers in particular, and for whatever reason they are either quite ugly with a lot of functionality or nice looking with very limited functionality. There were even the ugly looking with very functionality.
I am sure that whatever I come up with will not support 100% of Alsa's functionality, it will just be a volume level mixer not a full mixer but it will allow users with a broader range of audio devices to control them.
[url]http://rarsa.blogspot.com[/url] Covering my eclectic thoughts
[url]http://www.kwlug.org/blog/48[/url] Covering my Linux How-to
[url]http://www.kwlug.org/blog/48[/url] Covering my Linux How-to
-
- Posts: 286
- Joined: Tue 16 Aug 2005, 03:47
- Location: Appalachian Mountains
rarsa, I haven't given it any kind of test but at least I figured out how to use it. I had assumed it would replace the single slider bar that pops up when you left-click the speaker icon. I finally found the Puppy sound mixer in the multimedia menu.
Speaking of that slider bar, it doesn't always go away when I'm done with it and move the cursor. Anyone know why?
Speaking of that slider bar, it doesn't always go away when I'm done with it and move the cursor. Anyone know why?
[url=http://www.murga-linux.com/puppy/viewtopic.php?t=69321][color=blue]Puppy Help 101 - an interactive tutorial for Lupu 5.25[/color][/url]
If you use the most recent tray mini-volume, it shows a menu on right click from where you can select "mixer" which will open the mixer.Flash wrote:I had assumed it would replace the single slider bar that pops up when you left-click the speaker icon.
Yes, the mouse must move over the open slider. The slider closes 0.5 seconds after the mouse leaves it.Flash wrote:Speaking of that slider bar, it doesn't always go away when I'm done with it and move the cursor. Anyone know why?
[url]http://rarsa.blogspot.com[/url] Covering my eclectic thoughts
[url]http://www.kwlug.org/blog/48[/url] Covering my Linux How-to
[url]http://www.kwlug.org/blog/48[/url] Covering my Linux How-to
Pvolume mixer
Dear rarsa,
I did get pvolume to work on my machine but have the following observations.
(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.
(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.
(c)The mixer app, at least on on my machine (xorg at 1028x768 TTL), starts off at about horiz. pixel 950, which may be part of the reason I wrote earlier that the app wasn't working. It may be that I simply didn't see it materialize on the screen. I think an initial placement parameter, say 100h, 100v for most users, might be a good idea in a future release.
In any case, thanks and nice work.
With kind regards,
vovchik
I did get pvolume to work on my machine but have the following observations.
(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.
(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.
(c)The mixer app, at least on on my machine (xorg at 1028x768 TTL), starts off at about horiz. pixel 950, which may be part of the reason I wrote earlier that the app wasn't working. It may be that I simply didn't see it materialize on the screen. I think an initial placement parameter, say 100h, 100v for most users, might be a good idea in a future release.
In any case, thanks and nice work.
With kind regards,
vovchik
Re: Pvolume mixer
Please read up in this thread. About 16 or 17 posts before this one.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.
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:(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.
I don't specify the position. It is responsibility of the WM to position it.vovchik wrote:(c)The mixer app, ...starts off at about horiz. pixel 950
[url]http://rarsa.blogspot.com[/url] Covering my eclectic thoughts
[url]http://www.kwlug.org/blog/48[/url] Covering my Linux How-to
[url]http://www.kwlug.org/blog/48[/url] Covering my Linux How-to
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.
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.
That's one of the reasons I added the configuration window.vovchik wrote:That would make for a very unwieldy mixer (if there were no separate configuration dialog to disable most of them)
No problem with the way I coded it. The code is the same whether there are 10 or 100 controls.vovchik wrote:and require a large array for their storage. Your code, as it now stands, is simple, elegant and straghtforward.
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
[url]http://www.kwlug.org/blog/48[/url] Covering my Linux How-to
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
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
[url]http://www.kwlug.org/blog/48[/url] Covering my Linux How-to
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
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