
Veromix - volume control / soundmenu
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
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
marvn
8 years ago
(arch x64)
Report
nik3nt3
8 years ago
- 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
marvn
8 years ago
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
marvn
8 years ago
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
firen
8 years ago
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
nik3nt3
8 years ago
What about other python plasmoids? Can you add the gmail plasmoid to your desktop?
Report
firen
8 years ago
Report
saftsocken
9 years ago
Thank you
Report
nik3nt3
9 years ago
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
bendersteed
9 years ago
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
nik3nt3
9 years ago
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
nik3nt3
9 years ago
- 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
D--
9 years ago
Report
dimitarpopov
9 years ago
Report
nik3nt3
9 years ago
Report
dimitarpopov
9 years ago
Report
kostiagol
9 years ago
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
nik3nt3
9 years ago
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
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
nik3nt3
9 years ago
Please tell me if this solves the problem.
/nik
Report
kostiagol
9 years ago
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
nik3nt3
9 years ago
Quote:Oh... I can't check now switching to HDMI, will it work, or you didn't change that?
Report
kostiagol
9 years ago
Don't go anywhere :)
Report
kostiagol
9 years ago
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
nik3nt3
9 years ago
Report