Veromix - volume control / soundmenu

Plasma 4 Extensions

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

58
8.4
Description:

Veromix is a mixer for the Pulseaudio sound server.

Features:
- Media player controls (aka nowplaying)
- per application voluem control (replay & record)
- global hotkeys
- can life in system tray
- switch sound card profiles (for ex. from regular to HDMI)
- control LADSPA effects (equalizer and other effects)
- keyboard navigation (use Tab- and Arrow-keys)

Quickstart:
- middle click on panel icon mutes the default output
- mouse wheel over panel icon increases/decreases volume
- drag and drop playback streams between different output devices
- right click context menu:
-- kill playback streams
-- set default output device
-- set per channel volume
-- switch sound card profiles
- assign hotkeys
- click the add icon (bottom-right) to add a new effect
(drag and drop playback stream to the effect sink)


More Info:
- Howto: http://www.omgubuntu.co.uk/2012/02/how-to-increase-volume-over-100-in-kde/
- YouTube: http://www.youtube.com/watch?v=fph8xqsJd_g
- Review: http://padoca.wordpress.com/2011/03/18/kmix-veromix-qml-and-other-stories/
- Review: http://techlaze.com/2011/08/best-plasma-widgets-kde/

FAQ:
- Disable KMix: Set "AutoStart=false" in "[Global]" section of .kde/share/config/kmixrc

Requirements:
- plasma-scriptengine-python
- python-xdg
- python-qt4-dbus
- pulseaudio
- swh-plugins / ladspa-swh-plugins (for equalizer and other effects)
- ladspa-sdk / ladspa (dynamically detect installed ladspa plugins)

Changelog: http://code.google.com/p/veromix-plasmoid/source/browse/Changelog

Packages:
- Debian: http://packages.debian.org/plasma-widget-veromix
- Arch: https://aur.archlinux.org/packages.php?ID=60883
- openSUSE: https://build.opensuse.org/package/show?package=plasmoid-veromix&project=KDE%3AExtra


Please report bugs/wishes here: http://code.google.com/p/veromix-plasmoid/issues/list
9

marvn

8 years ago

veromix doesn't works for me even after the reinstall, I've tried the git version and removing conf from .kde4/ dir, but with no luck :/

(arch x64)

Report

C

nik3nt3

8 years ago

- Have you rebooted your machine since you upgraded?
- Do you get an error message if you manually start the service: http://code.google.com/p/veromix-plasmoid/wiki/Debugging#How_to_collect_debugging_information

Report

9

marvn

8 years ago

meh,

it seems that the veromix is working now. Just killing the service and restarting it manually did the trick.

but I have another issue, PA is now showing only one sink (HDMI from nvidia card), but not the laptop analog one...but it's PA issue and not a veromix one.

thx for help

Report

9

marvn

8 years ago

meh v2,

everything is working now...I didn't know that PA won't see soundcard which is in use. simple reboot and all is back to normal...

Report

9

firen

9 years ago

When i try to the plasmawidget to desktop it crashed with this error:

Object::connect: No such slot AppletsListWidget::rowsInserted(QModelIndex,int,int)
Object::connect: No such slot AppletsListWidget::rowsInserted(QModelIndex,int,int)
ControllerWindow::resizeEvent QSize(-1, -1)
Start Dragging

I use kde 4.8.1, Sabayon-Linux x64, QT 4.8.1.
Tried wiping .kde4 folder but still crashing.

Hope you can fix this i love veromix.

Report

C

nik3nt3

9 years ago

I cannot reproduce that (did i understand right: you drag the veromix icon from the add-widget dialog to the desktop?)
What about other python plasmoids? Can you add the gmail plasmoid to your desktop?

Report

9

firen

9 years ago

Your right gmail dont work also, then it must be something wrong with my python binding to kde/qt. I will downgrade my bindings then. Sorry to bother your^^

Report

saftsocken

9 years ago

I tested it with pulse, but i really would like this interesting way of configure an output on alsa... Is there a way to use it with it?

Thank you

Report

C

nik3nt3

9 years ago

Why? (bacause you've had bad experience with pa..)

AFAIK per application volume controls are not possible with "pure" ALSA (and will never be). Pulseaudio was created especially for that purpose (and does not replace ALSA instead they are designed to work together).

There where others asking if I could add a fallback for users that don't want to use PA. Technically it's possible to have static streams (like any other mixer out there) but this is too much work (no good python bindings) for something I would never use. And people who don't like PA most probably also dont like python plasmoids...

/nik

Report

9

bendersteed

9 years ago

Thanks for that great plasmoid, it really shows the potential of pulseaudio.
Since version 15 I have a problem with equalizer. I have all the needed packages installed but after v.15 the equalizers won't appear when I press the plus icon on the plasmoid. v.16 doesn't seem to solve the problem either.

Report

C

nik3nt3

9 years ago

Just discovered:
There is a problem with some themes (that have very small buttons, for instance "Air") - I will address that in the next release.
On my system the problem does not exist if the first channel (counting bottom up) channel is a Mediacontrol.

Thanks for the report.





Report

C

nik3nt3

9 years ago

No problem here. Need more info:

- Do you get debugging output in ~/.xsession-errors (or by running "plasmoidviewer veromix-plasmoid" in a terminal) after clicking?

- Maybe you also want to check if you can load the equalizer manually, in a terminal:
Quote:
nik@bird:~$ pacmd
Welcome to PulseAudio! Use "help" for usage information.
>>> load-module module-ladspa-sink sink_name=ladspa_output.mbeq_1197.mbeq plugin=mbeq_1197 label=mbeq control=0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
>>> exit
>>> nik@bird:~$


After that veromix shoud show an equalizer (or an error message in .xsession-errors)

/nik

Report

9

D--

9 years ago

looks like your link doesn't work anymore. This one works now: http://code.google.com/p/veromix-plasmoid/source/browse/Changelog

Report

dimitarpopov

9 years ago

http://code.google.com/p/veromix-plasmoid/source/browse/Changelog

Report

C

nik3nt3

9 years ago

thanks - updated

Report

dimitarpopov

9 years ago

Well, you've written it, but I guess I'm still sleeping ;)

Report

kostiagol

9 years ago

Hello!
After plasmoid update I can't select default output profile (Archlinux). I want to choose between analog and HDMI outputs (and inputs to), since it is not switching automatically.
Now if I plug HDMI, I must open Veromix settings dialog and switch default profile to HDMI output in Pulseaudio settings. And when I unplug the cable, I must open settings dialog again and choose analog duplex. It was easier before, click on triangle of default output and select desired profile in drop-down list (which was buggy, but it worked)
And a feature request (sorry, I don't have google account, so I'm leaving it here):
Is it posible to make Veromix to switch back to analog, when HDMI is unplugged? And automatically connect to USB headphones when they are plugged in, or switch back to internal when unplugged?
And the last. Thank you for making usefull stuff, not some sistemmonitor plasmoid :)

Report

C

nik3nt3

9 years ago

Hy

Quote:Now if I plug HDMI, I must open Veromix settings dialog and switch default profile to HDMI output in Pulseaudio settings. And when I unplug the cable, I must open settings dialog again and choose analog duplex. It was easier before, click on triangle of default output and select desired profile in drop-down list (which was buggy, but it worked)

Is the context-menu not working on your system? By right clicking on an output you should get a context-menu where you can switch to HDMI (and back). The same context-manu should appear when you click on the triangle (which is hideable via veromix settings).

If the context menu does not appear, please launch the plasmoid manually and send me the stack-trace:

Quote:cd ~/.kde/share/apps/plasma/plasmoids/veromix-plasmoid/
plasmoidviewer . --formfactor=vertical

Quote:And a feature request (sorry, I don't have google account, so I'm leaving it here):
UUps didn't realize that a google-account is required to leave a bug report -- will check that.

Quote:Is it posible to make Veromix to switch back to analog, when HDMI is unplugged? And automatically connect to USB headphones when they are plugged in, or switch back to internal when unplugged?

Theoretically this should be handeled by pulseaudio. I will check what I can do about it..


Quote:And the last. Thank you for making usefull stuff, not some sistemmonitor plasmoid :)
:-)

Report

kostiagol

9 years ago

Quote: veromix icon installed
Outputting dbus-servie file
QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::setCompositionMode: Painter not active
QPainter::end: Painter not active, aborted
QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::setCompositionMode: Painter not active
QPainter::end: Painter not active, aborted
QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::setCompositionMode: Painter not active
QPainter::end: Painter not active, aborted
Traceback (most recent call last):
File "/usr/share/apps/plasma/plasmoids/veromix-plasmoid/contents/code/Channel.py", line 251, in on_expander_clicked
self.contextMenuEvent(None)
File "/usr/share/apps/plasma/plasmoids/veromix-plasmoid/contents/code/Channel.py", line 300, in contextMenuEvent
self.create_context_menu(event)
File "/usr/share/apps/plasma/plasmoids/veromix-plasmoid/contents/code/Channel.py", line 134, in create_context_menu
self.context_menu_create_custom()
File "/usr/share/apps/plasma/plasmoids/veromix-plasmoid/contents/code/SinkUI.py", line 40, in context_menu_create_custom
self.context_menu_create_sounddevices()
File "/usr/share/apps/plasma/plasmoids/veromix-plasmoid/contents/code/Channel.py", line 193, in context_menu_create_sounddevices
action = QAction(str(profile.description), card_menu)
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-9: ordinal not in range(128)
Traceback (most recent call last):
File "/usr/share/apps/plasma/plasmoids/veromix-plasmoid/contents/code/Channel.py", line 300, in contextMenuEvent
self.create_context_menu(event)
File "/usr/share/apps/plasma/plasmoids/veromix-plasmoid/contents/code/Channel.py", line 134, in create_context_menu
self.context_menu_create_custom()
File "/usr/share/apps/plasma/plasmoids/veromix-plasmoid/contents/code/SinkUI.py", line 40, in context_menu_create_custom
self.context_menu_create_sounddevices()
File "/usr/share/apps/plasma/plasmoids/veromix-plasmoid/contents/code/Channel.py", line 193, in context_menu_create_sounddevices
action = QAction(str(profile.description), card_menu)
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-9: ordinal not in range(128)

Sorry, I don't get it, ascii... not utf8? or something else? (my locale is set to russian)

Quote:Theoretically this should be handeled by pulseaudio. I will check what I can do about it.

Pulse can do it. If USB headphones set as default in pavuconrol, it is working, but if veromix is running, nothing happens, I think maybe Veromix somehow blocks it? checked on two computers with Kubuntu and Arch, with different Veromix versions

Report

C

nik3nt3

9 years ago

I uploaded a new version that should fix the context menu: 0.15.1

Please tell me if this solves the problem.

/nik

Report

kostiagol

9 years ago

I changed it in 0.15.1 version. Now I can switch devices and profiles, the problem was in UTF-8 encoding.
And, now I don't need every time to mark USB device as default, don't know, maybe problem was in some pulseaudio settings, but after update and fixing UTF problem everithing is working.
Oh... I can't check now switching to HDMI, will it work, or you didn't change that?

Report

C

nik3nt3

9 years ago

That sould work - I don't understand, what you mean with:
Quote:Oh... I can't check now switching to HDMI, will it work, or you didn't change that?

Report

kostiagol

9 years ago

Sorry, I don't have time now, but when I return (maybe tomorrow), I'll continue.
Don't go anywhere :)

Report

kostiagol

9 years ago

AAAAAAAAAAAAA!!!!!!AAAAAAA!!!!AAAAA!!!
I am a HACKERRRRR!!!!!
I've found the problem! I didn't go anywhere (it's -25 degrees outside), I decided to help you to make the most useful plasmoid in the world even better!!! :)
change
Channel.py:191: action = QAction(str(profile.description), card_menu)
to
Channel.py:191: action = QAction(unicode(profile.description), card_menu)
Sorry for the emotions :)

Report

C

nik3nt3

9 years ago

Great - is your change necessary with the new version (0.15.1) or did you fixed it in the older version?

Report

12345678910
14142
product-maker enriquezrene Feb 02 2016 9 excellent
product-maker toxn Jul 03 2014 9 excellent
product-maker audoban Jun 09 2014 9 excellent
product-maker nowardev Feb 19 2014 9 excellent
product-maker facsavar Jan 24 2014 9 excellent
product-maker virtualxtc Jan 03 2014 9 excellent
product-maker joplass Dec 01 2013 9 excellent
product-maker printesoi Feb 03 2013 9 excellent
product-maker voondo_double Jan 10 2013 9 excellent
product-maker chatmoa Oct 07 2012 9 excellent
product-maker maxblank Sep 17 2012 9 excellent
product-maker ObiWahn Jun 14 2012 9 excellent
product-maker RAIDENSUB Jun 12 2012 9 excellent
product-maker janhajer May 18 2012 9 excellent
product-maker EmmanuelPescosta May 16 2012 9 excellent
product-maker step-2 Apr 06 2012 9 excellent
product-maker lazx888 Apr 05 2012 9 excellent
product-maker deabru Apr 05 2012 9 excellent
product-maker remix Apr 03 2012 9 excellent
product-maker gramb Apr 01 2012 9 excellent
product-maker nowsy Mar 12 2012 9 excellent
product-maker firen Mar 06 2012 9 excellent
product-maker electron222 Feb 28 2012 9 excellent
product-maker jvherrera Feb 13 2012 9 excellent
product-maker laloch Feb 13 2012 9 excellent
product-maker s1300045 Feb 13 2012 9 excellent
product-maker maroony Feb 11 2012 9 excellent
product-maker ejrn Feb 05 2012 9 excellent
product-maker vikveli Feb 03 2012 9 excellent
product-maker google01103 Feb 01 2012 9 excellent
product-maker amigib Feb 01 2012 9 excellent
product-maker steampoweredlawngnome Jan 28 2012 9 excellent
product-maker marvn Jan 16 2012 9 excellent
product-maker schnelle Jan 14 2012 9 excellent
product-maker grayhawk Jan 11 2012 9 excellent
product-maker stathisq Jan 06 2012 9 excellent
product-maker soee Dec 27 2011 9 excellent
product-maker bendersteed Dec 13 2011 9 excellent
product-maker SycloneMedia Oct 28 2011 9 excellent
product-maker J0nas Oct 24 2011 9 excellent
product-maker heinquoi Oct 22 2011 9 excellent
product-maker naaamo2004 Oct 17 2011 9 excellent
product-maker levondavdyan Oct 11 2011 9 excellent
product-maker joetux Sep 23 2011 9 excellent
product-maker cyberconan Sep 21 2011 9 excellent
product-maker Hanau2010 Sep 18 2011 9 excellent
product-maker onurtuhta Sep 16 2011 9 excellent
product-maker NickLion Sep 15 2011 9 excellent
product-maker e1nste1n Sep 15 2011 9 excellent
product-maker tritemius Sep 02 2011 9 excellent
product-maker tcat Aug 28 2011 9 excellent
product-maker tamra Aug 28 2011 9 excellent
product-maker mindeunix Aug 12 2011 9 excellent
product-maker unknhawk Aug 06 2011 9 excellent
product-maker philopdx Aug 05 2011 9 excellent
product-maker arashrk Aug 04 2011 9 excellent
product-maker Krog Aug 04 2011 9 excellent
product-maker Fenik67 Aug 03 2011 9 excellent
product-maker pvt14 Jul 31 2011 9 excellent
product-maker emyller Jul 30 2011 9 excellent
product-maker eshalygyn Jul 28 2011 9 excellent
product-maker dgvirtual Jul 26 2011 9 excellent
product-maker unikum111 Jul 25 2011 9 excellent
product-maker tonywoolf Jul 24 2011 9 excellent
product-maker Ray-Ven Jul 11 2011 9 excellent
product-maker JanGerritJose Jul 11 2011 9 excellent
product-maker kaznovac Jun 29 2011 9 excellent
product-maker YAFU Jun 25 2011 9 excellent
product-maker D-- Jun 25 2011 9 excellent
product-maker Keksbubi Jun 23 2011 9 excellent
product-maker quippini Jun 21 2011 9 excellent
product-maker socialinux Jun 18 2011 9 excellent
product-maker EtienJ Jun 15 2011 9 excellent
product-maker dobri Jun 15 2011 9 excellent
product-maker strungoutfan78 Jun 14 2011 9 excellent
product-maker jayambe Jun 14 2011 9 excellent
product-maker tm3da May 26 2011 9 excellent
product-maker KjaB May 21 2011 9 excellent
product-maker rafalskonecki May 11 2011 9 excellent
product-maker jesterhead May 10 2011 9 excellent
product-maker fineday2love May 05 2011 9 excellent
product-maker Brutus180 Apr 29 2011 9 excellent
product-maker patrickbuchinger Apr 29 2011 9 excellent
product-maker nicotine Apr 27 2011 9 excellent
product-maker mfbnl Apr 23 2011 9 excellent
product-maker abry Apr 22 2011 9 excellent
product-maker hithirdwavedust Apr 22 2011 9 excellent
product-maker CatchTime Apr 16 2011 9 excellent
product-maker chazz557 Apr 15 2011 9 excellent
product-maker Infosoft Apr 04 2011 9 excellent
product-maker basaburu Apr 04 2011 9 excellent
product-maker vortex375 Apr 01 2011 9 excellent
product-maker alicsey Mar 30 2011 9 excellent
product-maker pascalaldo Mar 26 2011 9 excellent
product-maker phiga2 Mar 25 2011 9 excellent
product-maker visualfrank Mar 24 2011 9 excellent
product-maker quadra Mar 21 2011 9 excellent
product-maker WillS Mar 15 2011 9 excellent
product-maker Xwarman Mar 15 2011 9 excellent
product-maker 64BitRulz Mar 13 2011 9 excellent
product-maker arxus Mar 12 2011 9 excellent
product-maker bugmenot1234 Mar 11 2011 9 excellent
product-maker jumper47 Mar 08 2011 9 excellent
product-maker jeast Mar 05 2011 9 excellent
product-maker darkmas Mar 02 2011 9 excellent
product-maker pugacioff Mar 01 2011 9 excellent
product-maker kem Feb 26 2011 9 excellent
product-maker sycoso Feb 25 2011 9 excellent
product-maker Hamburger1984 Feb 09 2011 9 excellent
product-maker matejv Feb 06 2011 9 excellent
product-maker Tscheesy Feb 03 2011 9 excellent
product-maker evergreenpsyche Jan 31 2011 9 excellent
product-maker jmc88 Jan 29 2011 9 excellent
product-maker Ireyon Jan 28 2011 9 excellent
product-maker shatle Jan 28 2011 9 excellent
product-maker brdn25 Jan 25 2011 9 excellent
product-maker h31 Jan 19 2011 9 excellent
product-maker infectedsoundsystem Jan 11 2011 9 excellent
product-maker udatt Dec 29 2010 9 excellent
product-maker rudi Dec 24 2010 3 bad
product-maker cfraz89 Dec 20 2010 9 excellent
product-maker megabigbug Dec 20 2010 9 excellent
product-maker auratux Dec 08 2010 9 excellent
product-maker adibudeen Dec 05 2010 9 excellent
product-maker Tids Dec 03 2010 9 excellent
product-maker nikore90 Dec 03 2010 9 excellent
product-maker ronw Dec 02 2010 3 bad
product-maker xam Dec 02 2010 9 excellent
product-maker proDOOMman Nov 29 2010 9 excellent
product-maker ruman Nov 26 2010 9 excellent
product-maker oOSplashOo Nov 23 2010 9 excellent
product-maker franciscot Nov 23 2010 3 bad
product-maker RyanMcCoskrie Nov 20 2010 3 bad
product-maker maidis Nov 20 2010 3 bad
product-maker scsimodo Nov 20 2010 3 bad
product-maker ZardoZ84 Nov 20 2010 9 excellent
product-maker Saleel Nov 18 2010 9 excellent
product-maker TommyCZ Nov 16 2010 9 excellent
product-maker Camberwell Nov 12 2010 3 bad
product-maker molostoff Nov 10 2010 9 excellent
product-maker KDesk Nov 05 2010 9 excellent
product-maker roland82 Nov 03 2010 3 bad
product-maker cician Nov 01 2010 3 bad
product-maker gadeshi Oct 29 2010 3 bad
product-maker robyshot Oct 27 2010 9 excellent
product-maker LiShaohui Oct 26 2010 9 excellent
product-maker koko2k Oct 26 2010 9 excellent
product-maker ATAHUALPA Oct 26 2010 9 excellent
product-maker adee Oct 25 2010 3 bad
product-maker SeaJey Oct 23 2010 9 excellent
product-maker groo Oct 22 2010 3 bad
product-maker gravy Oct 21 2010 9 excellent
product-maker Murz Oct 20 2010 9 excellent
product-maker flanello Oct 16 2010 3 bad
product-maker praveesh Oct 14 2010 9 excellent
product-maker Syvolc Oct 02 2010 3 bad
Be the first to comment
markjburch
Jan 08 2020
darkchet
Aug 29 2019
Landis
Apr 17 2016
audoban
Jun 09 2014
Brutus180
Mar 08 2014
klejczklejczkl
Jul 08 2013
miawallace
Jun 24 2012
ObiWahn
Jun 14 2012
SilentOS
Jun 11 2012
bastafidli
May 15 2012
remix
Apr 03 2012
gramb
Apr 01 2012
saftsocken
Feb 20 2012
bendersteed
Feb 13 2012
amigib
Feb 13 2012
laloch
Feb 13 2012
s1300045
Feb 13 2012
Montblanc
Feb 05 2012
NahsiN
Feb 02 2012
fasiko
Jan 31 2012
aaannz
Jan 29 2012
stathisq
Jan 06 2012
soee
Dec 27 2011
ronw
Nov 25 2011
naaamo2004
Oct 17 2011
mockfrog
Aug 28 2011
quippini
Aug 10 2011
aspotashev
Jul 01 2011
albbas
Jul 01 2011
YAFU
Jun 25 2011
arxus
Mar 26 2011
deabru
Mar 26 2011
AlejandroNova
Mar 24 2011
m00nraker
Mar 22 2011
WillS
Mar 15 2011
bugmenot1234
Mar 12 2011
pugacioff
Mar 01 2011
Hamburger1984
Feb 09 2011
brdn25
Jan 25 2011
tomde
Dec 14 2010
cician
Dec 12 2010
auratux
Dec 08 2010
graygraff
Nov 13 2010
quadra
Nov 12 2010
molostoff
Nov 09 2010
ATAHUALPA
Oct 26 2010
gravy
Oct 21 2010
praveesh
Oct 14 2010
hteles
Oct 02 2010
netsurf3
Aug 31 2010
lordlukas
Aug 23 2010
vortex375
Aug 22 2010
groo
Aug 16 2010
maidis
May 18 2010
msledziona
Mar 30 2010
mrsaccess
Mar 25 2010
BLeAm
Mar 23 2010
Murz
Jan 30 2010
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
0.18.3
updated Jun 14 2012
added Dec 06 2009
downloads 24h
0
mediaviews 24h 0
pageviews 24h 5