Retrovol 0.13.1 (Volume mixer)

Audio editors, music players, video players, burning software, etc.
Post Reply
Message
Author
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]

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

#96 Post by Pizzasgood »

Okay, I found and fixed the bug. The SVN is updated, but I haven't assembled the packages yet - took longer than I expected to figure it out, and I got started later than planned. I'll do some more testing tomorrow to make sure it's running nice, and then tag it and make new packages.

The problem was related to some code that tries to make sure that the value actually changed (in case you have more segments than the hardware actually supports, for example 500 segments on a 0-255 control). That part of the code was written very poorly, and had some incorrect bounds checking. So I rewrote that. I also noticed another bug relating to a precision loss, which made it impossible to get the slider to move the final segment down/left under certain conditions (though the actual volume would still go, the segment would just remain lit). I added some rounding, which fixed that.

Note: I also moved the pid file it creates from /var/run/ to /tmp, since it appears /var/run isn't user-writable in most distros.
[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

#97 Post by disciple »

Pizzasgood wrote:I also noticed another bug relating to a precision loss, which made it impossible to get the slider to move the final segment down/left under certain conditions (though the actual volume would still go, the segment would just remain lit).
Ah, yes, I noticed that, but assumed it was the same bug, as I only saw them together :)
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

#98 Post by Pizzasgood »

Okay, 0.11 is uploaded. It fixes the bugs described in my previous post, and moves the pid file into /tmp/ rather than /var/run/, for better cross-distro compatibility.

I've attached a PKGBUILD for it as well, in case anybody wants to use it in Arch Linux. I'll look at submitting it to the AUR tomorrow.

Puppy users of course just need to go back to the first page and grab the appropriate package.
Attachments
retrovol.tar.gz
This is just a PKGBUILD file for Arch Linux users,
(623 Bytes) Downloaded 421 times
[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]

rmcellig
Posts: 965
Joined: Sat 19 Nov 2011, 15:18
Location: Ottawa Ontario Canada
Contact:

#99 Post by rmcellig »

Is it possible to install Retrovol in my Ubuntu distro? I'm using Ultimate Edition 3 as well as puppy lnux 5.2.8.

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

#100 Post by Pizzasgood »

Should be. The puppy 5 package might work if you extract it and install it. Probably use commands like this:

Code: Select all

tar xf retrovol-0.11.pet
sudo cp -r retrovol-0.11/* /
(Ignore the error message that tar will give you about garbage at the end of the file - that's just an MD5 checksum that .pet packages have at the end. It doesn't hurt anything - tar will still extract all the data.)

The more correct solution, however, is to compile it natively on Ubuntu. That's pretty easy to do. You'd have to install the development toolchain (gcc, make, etc.) if you don't already have it. Then you'd just do the standard ./configure, make, make install routine. Something like this should work:

Code: Select all

wget http://www.browserloadofcoolness.com/software/puppy/PETget/retrovol-0.11.tar.gz
tar xf retrovol-0.11.tar.gz
cd retrovol-0.11
./configure --prefix=/usr
make
sudo make install
That should give you a working install, and it should work on pretty much any distro that uses alsa and gtk2, as long as you've got the development toolchain installed. I've never actually used Ubuntu though, so there could be some kind of incompatibility that I'm not aware of.
[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