Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 10 Dec 2019, 21:44
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Multimedia
Retrovol 0.13.1 (Volume mixer)
Post new topic   Reply to topic View previous topic :: View next topic
Page 7 of 14 [197 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, 8, 9, ..., 12, 13, 14 Next
Author Message
Pizzasgood


Joined: 04 May 2005
Posts: 6266
Location: Knoxville, TN, USA

PostPosted: Mon 03 Oct 2011, 13:02    Post subject:  

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.

_________________
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

Back to top
View user's profile Send private message 
Pizzasgood


Joined: 04 May 2005
Posts: 6266
Location: Knoxville, TN, USA

PostPosted: Mon 03 Oct 2011, 20:04    Post subject:  

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).

_________________
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

Back to top
View user's profile Send private message 
Pizzasgood


Joined: 04 May 2005
Posts: 6266
Location: Knoxville, TN, USA

PostPosted: Tue 04 Oct 2011, 21:32    Post subject:  

For the record, I just tried it on Puppy 4.3 and 5.2.5, and both worked fine. Neutral
_________________
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

Back to top
View user's profile Send private message 
disciple

Joined: 20 May 2006
Posts: 6995
Location: Auckland, New Zealand

PostPosted: Thu 06 Oct 2011, 07:08    Post subject:  

Wow, this is a weird one Shocked
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).
Quote:
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.
Quote:
If you exit retrovol completely and then run it from the commandline, does it output any error messages when it freezes?

No.
Quote:
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.
Quote:
Attaching the output of the 'amixer contents' command might also help, if it's somehow related to a goofy audio control.

Code:
~# 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

~#

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

See above. Sorry.
Quote:
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
Back to top
View user's profile Send private message 
Pizzasgood


Joined: 04 May 2005
Posts: 6266
Location: Knoxville, TN, USA

PostPosted: Thu 06 Oct 2011, 09:28    Post subject:  

Ah, there we go, I can reproduce it now. I'll get it sorted tonight. Probably a math issue.
_________________
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

Back to top
View user's profile Send private message 
Pizzasgood


Joined: 04 May 2005
Posts: 6266
Location: Knoxville, TN, USA

PostPosted: Fri 07 Oct 2011, 00:33    Post subject:  

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.

_________________
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

Back to top
View user's profile Send private message 
disciple

Joined: 20 May 2006
Posts: 6995
Location: Auckland, New Zealand

PostPosted: Fri 07 Oct 2011, 02:00    Post subject:  

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 Smile

_________________
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER
Back to top
View user's profile Send private message 
Pizzasgood


Joined: 04 May 2005
Posts: 6266
Location: Knoxville, TN, USA

PostPosted: Fri 07 Oct 2011, 23:32    Post subject:  

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.
retrovol.tar.gz
Description  This is just a PKGBUILD file for Arch Linux users,
gz

 Download 
Filename  retrovol.tar.gz 
Filesize  623 Bytes 
Downloaded  379 Time(s) 

_________________
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

Back to top
View user's profile Send private message 
rmcellig

Joined: 19 Nov 2011
Posts: 968
Location: Ottawa Ontario Canada

PostPosted: Tue 20 Dec 2011, 16:27    Post subject:  

Is it possible to install Retrovol in my Ubuntu distro? I'm using Ultimate Edition 3 as well as puppy lnux 5.2.8.
Back to top
View user's profile Send private message Visit poster's website 
Pizzasgood


Joined: 04 May 2005
Posts: 6266
Location: Knoxville, TN, USA

PostPosted: Wed 21 Dec 2011, 12:42    Post subject:  

Should be. The puppy 5 package might work if you extract it and install it. Probably use commands like this:
Code:
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:
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.

_________________
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

Back to top
View user's profile Send private message 
Argolance


Joined: 06 Jan 2008
Posts: 3720
Location: PORT-BRILLET (Mayenne - France)

PostPosted: Wed 18 Jan 2012, 05:47    Post subject: Retrovol localization?  

Hello,
Trying to compile a French localized version of retrovol from source files, I don't see exactly how to proceed to make the translation working? I created a fr.po file from pot, then a French fr.mo file that I both copied into ./po directory and also specified "fr" in ./po/LINGUAS file (while compiling, the right locale directory is created, but it is empty and even when I copy my mo file manually to the right directory, localization doesn't work...)!
Any idea of what's going wrong?

Thank you for your attention.

Cordialement.

_________________

A second life for your PCs...

Last edited by Argolance on Fri 20 Jan 2012, 07:56; edited 2 times in total
Back to top
View user's profile Send private message Visit poster's website 
Argolance


Joined: 06 Jan 2008
Posts: 3720
Location: PORT-BRILLET (Mayenne - France)

PostPosted: Wed 18 Jan 2012, 13:03    Post subject:  

Hello,
Just a little suggestion: margins for GUI full window...

Cordialement.
retrovol_margins.jpg
 Description   
 Filesize   37.12 KB
 Viewed   985 Time(s)

retrovol_margins.jpg


_________________

A second life for your PCs...

Last edited by Argolance on Fri 20 Jan 2012, 08:01; edited 2 times in total
Back to top
View user's profile Send private message Visit poster's website 
Argolance


Joined: 06 Jan 2008
Posts: 3720
Location: PORT-BRILLET (Mayenne - France)

PostPosted: Thu 19 Jan 2012, 08:09    Post subject: Tray icon background color  

Hello,
I noticed that theme background colors using equivalent for Hex value as 'grey 30' for #333333, or "red", "yellow"... are not working and make the icon not to be loaded at startup...

Cordialement.

_________________

A second life for your PCs...
Back to top
View user's profile Send private message Visit poster's website 
Argolance


Joined: 06 Jan 2008
Posts: 3720
Location: PORT-BRILLET (Mayenne - France)

PostPosted: Tue 24 Jan 2012, 12:33    Post subject:  

Hello,
Don't know if I understand how retrovol is configured or not (?) but, while translating po file in French and testing parameters directly into the application, I noticed that something seems working wrong when choosing which sliders to enable or disable... Sliders actually displayed in the main menu are shown in the field "Inactive sliders" of the config window Shocked. If I choose to deactivate one of them, then the main window just shows that one and all others are hidden... Strange indeed!

Cordialement.
Back to top
View user's profile Send private message Visit poster's website 
Pizzasgood


Joined: 04 May 2005
Posts: 6266
Location: Knoxville, TN, USA

PostPosted: Wed 25 Jan 2012, 01:01    Post subject:  

Hmmm. I'll try to make some time this weekend or next week to fix this stuff.
_________________
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

Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 7 of 14 [197 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, 8, 9, ..., 12, 13, 14 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Multimedia
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1079s ][ Queries: 12 (0.0400s) ][ GZIP on ]