Retrovol 0.13.1 (Volume mixer)

Audio editors, music players, video players, burning software, etc.
Message
Author
User avatar
Pizzasgood
Posts: 6183
Joined: Wed 04 May 2005, 20:28
Location: Knoxville, TN, USA

#76 Post by Pizzasgood »

jemimah wrote:Save me a copy of the version that works in icewm - puppeee doesn't have jwm. :) I do have gtk 2.16 though so maybe it doesn't matter.
That would be this one: retrovol-0.9.1.tar.gz
[size=75]Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib[/size]
[img]http://www.browserloadofcoolness.com/sig.png[/img]

User avatar
jemimah
Posts: 4307
Joined: Wed 26 Aug 2009, 19:56
Location: Tampa, FL
Contact:

#77 Post by jemimah »

Thanks!

The transparency works great, but it seems to think my volume is always muted.

User avatar
Pizzasgood
Posts: 6183
Joined: Wed 04 May 2005, 20:28
Location: Knoxville, TN, USA

#78 Post by Pizzasgood »

That's strange. Have you doublechecked that it's still trying to use the correct sound card and volume controls for everything?
[size=75]Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib[/size]
[img]http://www.browserloadofcoolness.com/sig.png[/img]

User avatar
Pizzasgood
Posts: 6183
Joined: Wed 04 May 2005, 20:28
Location: Knoxville, TN, USA

#79 Post by Pizzasgood »

Version 0.10 uploaded. I couldn't get eggtrayicon to cooperate, so I reverted it to the old working non-transparent one, and added a condition so that if compiled on a system with GTK >= 2.16, it will use GtkStatusIcon instead, which has transparency.

Other changes since 0.8 include an option in the config window to set which soundcard will be controlled (you need to hit apply before the rest of the config window will update to show the sliders from that card) and theoretical support for compiling on Puppy 3.x. Also, the number of controls it can handle has been increased, and it has been set up to filter out non-mixer controls.

On Puppies that have GTK >= 2.16, the -bg option and associated entries in the config window and retrovolrc file will be ignored, because from what I can tell you cannot directly set the color of a GtkStatusIcon. Shouldn't be a problem since in that case, transparency is working and it should therefor pick up the system's tray color. Next time I work on it I'll wrap those bits of the code in the GTK version check as well, so that they don't even appear when GtkStatusIcon is used.

Since it now has a dependence on GTK version, I compiled two different .pet packages - one for Puppy 5.x, which has working transparency, and one for Puppy 4.x, which does not. The Puppy 4 package maintains the /usr/local prefix so that it can be installed over previous packages (which were all compiled for Puppy 4). The Puppy 5 package uses /usr as the prefix so that it can be installed over the Retrovol that it comes with.

I think that's everything I had to say. This is my second time writing this as the power cut after I was basically done with the first iteration. Hopefully I didn't leave anything out.
[size=75]Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib[/size]
[img]http://www.browserloadofcoolness.com/sig.png[/img]

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#80 Post by 01micko »

Thanks for the new retrovol pizzasgood.. it works great in Puppy 5X

Cheers
Puppy Linux Blog - contact me for access

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#81 Post by BarryK »

Yep, it is also in Wary 0.9.8, just released.
[url]https://bkhome.org/news/[/url]

User avatar
jemimah
Posts: 4307
Joined: Wed 26 Aug 2009, 19:56
Location: Tampa, FL
Contact:

#82 Post by jemimah »

Working good now for me too. Thanks!

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#83 Post by bigpup »

Here is a strange problem with Retrovol not showing all the settings
http://www.murga-linux.com/puppy/viewtopic.php?t=67606

User avatar
Pizzasgood
Posts: 6183
Joined: Wed 04 May 2005, 20:28
Location: Knoxville, TN, USA

#84 Post by Pizzasgood »

It looks like it shows all the settings that alsamixer shows, except that alsamixer apparently shows duplicates of the mic boost and front mic boost. The full names are clipped so I don't know what exactly is going on there, but I don't think that is relevant to his problem anyway.

His problem is deeper than retrovol. His first post makes me think maybe he has multiple sound cards. I will post in that thread.
[size=75]Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib[/size]
[img]http://www.browserloadofcoolness.com/sig.png[/img]

gcmartin

#85 Post by gcmartin »

2 items:
  • I run couple systems that have Motherboard (MB) audio as well as a USB keyboard which has a handset built in (look like USB sound to the OSs). Primary audio is via MB
  • I Have been using @Pemasu ICE (based - Wary 5.1.1) and @Puppyluvr PUP539 (based - Puppy 5.25)
Retrovol is the prime audio vehicle.

Your review of audio in these 2 PUPs would help clarify for some.

Thanks in advance.

User avatar
Pizzasgood
Posts: 6183
Joined: Wed 04 May 2005, 20:28
Location: Knoxville, TN, USA

#86 Post by Pizzasgood »

Your review of audio in these 2 PUPs would help clarify for some.
"review of audio"? I don't know what that is supposed to mean. I don't know anything about those puppies either. Frankly the last time I used a desktop Puppy install was about a year ago.

As for "Retrovol is the prime audio vehicle" - Retrovol is not an "audio vehicle", whatever that is. All that Retrovol is, is an interface to let you change the volume settings - like the remote control for a television set, Retrovol plays no part at all in running audio. It just gives you a way to turn down the volume without getting up and walking to the tv (or in this case, breaking out the commandline and using alsamixer or amixer). The software that actually processes the audio is Alsa. So I guess Alsa is what you might call the "prime audio vehicle".

Anyways, if you can formulate a less vague request, perhaps I can help, but I don't really know what you're after right now. :|
[size=75]Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib[/size]
[img]http://www.browserloadofcoolness.com/sig.png[/img]

User avatar
puppyluvr
Posts: 3470
Joined: Sun 06 Jan 2008, 23:14
Location: Chickasha Oklahoma
Contact:

#87 Post by puppyluvr »

:D Hello,
Retrovol works fine...
Kernel 2.6.38.4 (IcePuppy > `006, Lupu-5.39)
Experimental (really highly) builds...
Retrovol works, but boots muted...
Something to do with /dev/audio I think...
Stu90 has posted a fix which gives "woof woof" @ first boot...
Close the Windows, and open your eyes, to a whole new world
I am Lead Dog of the
Puppy Linux Users Group on Facebook
Join us!

Puppy since 2.15CE...

gcmartin

#88 Post by gcmartin »

Pizzasgood wrote: ... Anyways, if you can formulate a less vague request, perhaps I can help, but I don't really know what you're after right now. :|
Thanks @Pizzasgood for that explanation. I was trying to call your attention to an audio issue that has been experienced by the newer kernels being worked on. Seems that community was struggling with a muted problem at boot. I thought that since Retrovol is working very well in these newer kernel distros, that your knowledge would be able to guide around the muted problem that shows in Retrovol upon getting to desktop.Like maybe a missing parameter or something.

Hope that helps clarify.

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#89 Post by bigpup »

A problem where Retrovol disappeared and can not get it back.
http://www.murga-linux.com/puppy/viewtopic.php?t=68365

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#90 Post by disciple »

Hi PG,
I think I found a bug. It is present in v 0.7 (self compiled) and 0.10 (your puppy 4 package):

If I change the balance by scrolling with ctrl or shift, and then scroll upwards, when the first channel gets to the top, the other one keeps going until it gets to the top too. If I then scroll down, they both scroll down together.

If I change the balance and then scroll downwards, when the first channel gets to the bottom, it freezes!

If this bug always occurs, I guess it indicates the balance feature is seldom used ;)
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

User avatar
Pizzasgood
Posts: 6183
Joined: Wed 04 May 2005, 20:28
Location: Knoxville, TN, USA

#91 Post by Pizzasgood »

Yeah, I never monkey with balance unless I'm trying to debug a speaker problem, and then I usually just use the balance knob on my amp.

I'll look into this when I get off work. 'Bout time I put together a PKGBUILD for it as well.
[size=75]Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib[/size]
[img]http://www.browserloadofcoolness.com/sig.png[/img]

User avatar
Pizzasgood
Posts: 6183
Joined: Wed 04 May 2005, 20:28
Location: Knoxville, TN, USA

#92 Post by Pizzasgood »

I just tried replicating it on my end, and it worked fine. Questions:

Are you scrolling on the slider, or on the icon? If slider, is this the in-window one or the tray slider?

Does it freeze whether the left or the right is the first to reach the bottom, or only for one of them?

Does it matter whether you induce the imbalance by scrolling one side up vs. down first?

If you exit retrovol completely and then run it from the commandline, does it output any error messages when it freezes?

Which volume control is it you are manipulating? Do all stereo controls exhibit this behavior for you, or just that one?

Attaching the output of the 'amixer contents' command might also help, if it's somehow related to a goofy audio control.

I assume that scrolling all the way down does not freeze it when the balance is even?

What distros/puppy-versions are you experiencing this in, and does it have any aftermarket changes to alsa or gtk? I was testing on Arch just now. I will try it on some puppies tomorrow (to tired to do more tonight).
[size=75]Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib[/size]
[img]http://www.browserloadofcoolness.com/sig.png[/img]

User avatar
Pizzasgood
Posts: 6183
Joined: Wed 04 May 2005, 20:28
Location: Knoxville, TN, USA

#93 Post by Pizzasgood »

For the record, I just tried it on Puppy 4.3 and 5.2.5, and both worked fine. :|
[size=75]Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib[/size]
[img]http://www.browserloadofcoolness.com/sig.png[/img]

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#94 Post by disciple »

Wow, this is a weird one :shock:
The problem is caused by setting the "slider margins" to 0 and the "Tray Slider Height" to 94 or less.
Pizzasgood wrote:I just tried replicating it on my end, and it worked fine. Questions:

Are you scrolling on the slider, or on the icon? If slider, is this the in-window one or the tray slider?
It happens whether I am scrolling on the trayicon slider, or on the icon, and whether or not the slider or the main window is open. It does not happen when I scroll in the main window (although that's not to say it wouldn't also happen there if I changed my settings to some magic combination).
Does it freeze whether the left or the right is the first to reach the bottom, or only for one of them?
Does it matter whether you induce the imbalance by scrolling one side up vs. down first?
Sorry, I don't know how I came up with that red herring. It has nothing to do with balance - it also happens when the left and right channels are equal.
If you exit retrovol completely and then run it from the commandline, does it output any error messages when it freezes?
No.
Which volume control is it you are manipulating?
Do all stereo controls exhibit this behavior for you, or just that one?
I tested with "master" and "PCM" using my PCI sound card, and with "Master" or whatever the default volume control is using my onboard sound card.
Attaching the output of the 'amixer contents' command might also help, if it's somehow related to a goofy audio control.

Code: Select all

~# amixer contents
numid=7,iface=MIXER,name='Master Mono Playback Switch'
  ; type=BOOLEAN,access=rw------,values=1
  : values=on
numid=8,iface=MIXER,name='Master Mono Playback Volume'
  ; type=INTEGER,access=rw---R--,values=1,min=0,max=31,step=0
  : values=31
  | dBscale-min=-46.50dB,step=1.50dB,mute=0
numid=1,iface=MIXER,name='Master Playback Switch'
  ; type=BOOLEAN,access=rw------,values=1
  : values=on
numid=2,iface=MIXER,name='Master Playback Volume'
  ; type=INTEGER,access=rw---R--,values=2,min=0,max=31,step=0
  : values=31,31
  | dBscale-min=-46.50dB,step=1.50dB,mute=0
numid=30,iface=MIXER,name='3D Control - Switch'
  ; type=BOOLEAN,access=rw------,values=1
  : values=off
numid=33,iface=MIXER,name='3D Control Sigmatel - Depth'
  ; type=INTEGER,access=rw------,values=1,min=0,max=3,step=0
  : values=3
numid=34,iface=MIXER,name='3D Control Sigmatel - Rear Depth'
  ; type=INTEGER,access=rw------,values=1,min=0,max=3,step=0
  : values=3
numid=24,iface=MIXER,name='PCM Playback Switch'
  ; type=BOOLEAN,access=rw------,values=1
  : values=on
numid=25,iface=MIXER,name='PCM Playback Volume'
  ; type=INTEGER,access=rw---R--,values=2,min=0,max=31,step=0
  : values=31,31
  | dBscale-min=-34.50dB,step=1.50dB,mute=0
numid=3,iface=MIXER,name='Surround Playback Switch'
  ; type=BOOLEAN,access=rw------,values=2
  : values=off,off
numid=4,iface=MIXER,name='Surround Playback Volume'
  ; type=INTEGER,access=rw---R--,values=2,min=0,max=31,step=0
  : values=31,31
  | dBscale-min=-46.50dB,step=1.50dB,mute=0
numid=44,iface=MIXER,name='FM Playback Switch'
  ; type=BOOLEAN,access=rw------,values=1
  : values=off
numid=43,iface=MIXER,name='FM Playback Volume'
  ; type=INTEGER,access=rw---R--,values=2,min=0,max=31,step=0
  : values=0,0
  | dBscale-min=-34.50dB,step=1.50dB,mute=0
numid=40,iface=MIXER,name='Wave Playback Switch'
  ; type=BOOLEAN,access=rw------,values=1
  : values=on
numid=39,iface=MIXER,name='Wave Playback Volume'
  ; type=INTEGER,access=rw---R--,values=2,min=0,max=31,step=0
  : values=31,31
  | dBscale-min=-34.50dB,step=1.50dB,mute=0
numid=16,iface=MIXER,name='Line Playback Switch'
  ; type=BOOLEAN,access=rw------,values=1
  : values=off
numid=17,iface=MIXER,name='Line Playback Volume'
  ; type=INTEGER,access=rw---R--,values=2,min=0,max=31,step=0
  : values=31,31
  | dBscale-min=-34.50dB,step=1.50dB,mute=0
numid=18,iface=MIXER,name='CD Playback Switch'
  ; type=BOOLEAN,access=rw------,values=1
  : values=off
numid=19,iface=MIXER,name='CD Playback Volume'
  ; type=INTEGER,access=rw---R--,values=2,min=0,max=31,step=0
  : values=0,0
  | dBscale-min=-34.50dB,step=1.50dB,mute=0
numid=15,iface=MIXER,name='Mic Boost (+20dB)'
  ; type=BOOLEAN,access=rw------,values=1
  : values=off
numid=32,iface=MIXER,name='Mic Select'
  ; type=ENUMERATED,access=rw------,values=1,items=2
  ; Item #0 'Mic1'
  ; Item #1 'Mic2'
  : values=0
numid=13,iface=MIXER,name='Mic Playback Switch'
  ; type=BOOLEAN,access=rw------,values=1
  : values=off
numid=14,iface=MIXER,name='Mic Playback Volume'
  ; type=INTEGER,access=rw---R--,values=1,min=0,max=31,step=0
  : values=0
  | dBscale-min=-34.50dB,step=1.50dB,mute=0
numid=11,iface=MIXER,name='Phone Playback Switch'
  ; type=BOOLEAN,access=rw------,values=1
  : values=off
numid=12,iface=MIXER,name='Phone Playback Volume'
  ; type=INTEGER,access=rw---R--,values=1,min=0,max=31,step=0
  : values=0
  | dBscale-min=-34.50dB,step=1.50dB,mute=0
numid=20,iface=MIXER,name='Video Playback Switch'
  ; type=BOOLEAN,access=rw------,values=1
  : values=off
numid=21,iface=MIXER,name='Video Playback Volume'
  ; type=INTEGER,access=rw---R--,values=2,min=0,max=31,step=0
  : values=7,7
  | dBscale-min=-34.50dB,step=1.50dB,mute=0
numid=9,iface=MIXER,name='PC Speaker Playback Switch'
  ; type=BOOLEAN,access=rw------,values=1
  : values=off
numid=10,iface=MIXER,name='PC Speaker Playback Volume'
  ; type=INTEGER,access=rw---R--,values=1,min=0,max=15,step=0
  : values=0
  | dBscale-min=-45.00dB,step=3.00dB,mute=0
numid=22,iface=MIXER,name='Aux Playback Switch'
  ; type=BOOLEAN,access=rw------,values=1
  : values=off
numid=23,iface=MIXER,name='Aux Playback Volume'
  ; type=INTEGER,access=rw---R--,values=2,min=0,max=31,step=0
  : values=31,31
  | dBscale-min=-34.50dB,step=1.50dB,mute=0
numid=31,iface=MIXER,name='Mono Output Select'
  ; type=ENUMERATED,access=rw------,values=1,items=2
  ; Item #0 'Mix'
  ; Item #1 'Mic'
  : values=0
numid=26,iface=MIXER,name='Capture Source'
  ; type=ENUMERATED,access=rw------,values=2,items=8
  ; Item #0 'Mic'
  ; Item #1 'CD'
  ; Item #2 'Video'
  ; Item #3 'Aux'
  ; Item #4 'Line'
  ; Item #5 'Mix'
  ; Item #6 'Mix Mono'
  ; Item #7 'Phone'
  : values=4,4
numid=27,iface=MIXER,name='Capture Switch'
  ; type=BOOLEAN,access=rw------,values=1
  : values=on
numid=28,iface=MIXER,name='Capture Volume'
  ; type=INTEGER,access=rw---R--,values=2,min=0,max=15,step=0
  : values=4,4
  | dBscale-min=0.00dB,step=1.50dB,mute=0
numid=42,iface=MIXER,name='I2S Playback Switch'
  ; type=BOOLEAN,access=rw------,values=1
  : values=on
numid=41,iface=MIXER,name='I2S Playback Volume'
  ; type=INTEGER,access=rw---R--,values=2,min=0,max=31,step=0
  : values=0,0
  | dBscale-min=-34.50dB,step=1.50dB,mute=0
numid=50,iface=MIXER,name='IEC958 Raw Data Capture Switch'
  ; type=BOOLEAN,access=rw------,values=1
  : values=off
numid=49,iface=MIXER,name='IEC958 Raw Data Playback Switch'
  ; type=BOOLEAN,access=rw------,values=1
  : values=off
numid=51,iface=MIXER,name='IEC958 Playback Switch'
  ; type=BOOLEAN,access=rw------,values=1
  : values=off
numid=48,iface=MIXER,name='IEC958 Capture Switch'
  ; type=BOOLEAN,access=rw------,values=1
  : values=off
numid=47,iface=MIXER,name='AC97 18-bit Switch'
  ; type=BOOLEAN,access=rw------,values=1
  : values=on
numid=46,iface=MIXER,name='AC97 2ch->4ch Copy Switch'
  ; type=BOOLEAN,access=rw------,values=1
  : values=on
numid=45,iface=MIXER,name='Digital Capture Source'
  ; type=ENUMERATED,access=rw------,values=1,items=5
  ; Item #0 'AC97 Primary'
  ; Item #1 'FM'
  ; Item #2 'I2S'
  ; Item #3 'PCM'
  ; Item #4 'AC97 Secondary'
  : values=0
numid=38,iface=MIXER,name='External Amplifier'
  ; type=BOOLEAN,access=rw------,values=1
  : values=on
numid=36,iface=MIXER,name='Sigmatel 4-Speaker Stereo Playback Switch'
  ; type=BOOLEAN,access=rw------,values=1
  : values=on
numid=35,iface=MIXER,name='Sigmatel Output Bias Switch'
  ; type=BOOLEAN,access=rw------,values=1
  : values=off
numid=37,iface=MIXER,name='Sigmatel Surround Phase Inversion Playback '
  ; type=BOOLEAN,access=rw------,values=1
  : values=on
numid=5,iface=MIXER,name='Sigmatel Surround Playback Switch'
  ; type=BOOLEAN,access=rw------,values=1
  : values=on
numid=6,iface=MIXER,name='Sigmatel Surround Playback Volume'
  ; type=INTEGER,access=rw---R--,values=2,min=0,max=31,step=0
  : values=31,31
  | dBscale-min=-46.50dB,step=1.50dB,mute=0

~# 
I assume that scrolling all the way down does not freeze it when the balance is even?
See above. Sorry.
What distros/puppy-versions are you experiencing this in and does it have any aftermarket changes to alsa or gtk?
4.1.1 with aftermarket changes to gtk.
Quirky 1.1 booted with pfix=ram
disciple wrote:It is present in v 0.7 (self compiled) and 0.10 (your puppy 4 package):
It also occurs with the very first version: 0.1.
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

User avatar
Pizzasgood
Posts: 6183
Joined: Wed 04 May 2005, 20:28
Location: Knoxville, TN, USA

#95 Post by Pizzasgood »

Ah, there we go, I can reproduce it now. I'll get it sorted tonight. Probably a math issue.
[size=75]Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib[/size]
[img]http://www.browserloadofcoolness.com/sig.png[/img]

Post Reply