Comments (6)
Hi
I released a new version that should fix this error.
from easyeffects.
I also have no spectrum visualization, but with a different repeating error.
Traceback (most recent call last):
File "/home/chris/pulseeffects/PulseEffects/gst.py", line 343, in on_message
magnitudes = msg.get_structure().get_value('magnitude')
TypeError: unknown type GstValueList
...
This is as of:
commit 6fe629e
Author: wwmm [email protected]
Date: Sun May 28 17:46:55 2017 -0300
updated readme image
This is on Ubuntu 16.04 LTS with Unity
Thanks!
from easyeffects.
Hi,
Use version 1.4.1 https://github.com/wwmm/pulseeffects/archive/v1.4.1.tar.gz. Higher versions will need gstreamer 1.12. You probably have a lower version in your system. Before Gstreamer 1.12 we needed a hack to get spectrum magnitudes using Python. The type GstValueList was not exposed in gst-python api. Gstreamer developers added the missing types in Gstreamer 1.12
from easyeffects.
1.4.4 - still the same error BUT
I see that i don't have visuals if i use
$ pactl load-module module-echo-cancel
and set the default output to that module
If i just switch default back to soundcard it works.
While switched to soundcard:
$ pulseeffects 21:24:30.73 - PulseEffects - INFO - pulseaudio context started 21:24:30.74 - PulseEffects - INFO - pulseaudio version: 10.0 21:24:30.74 - PulseEffects - INFO - default pulseaudio source: alsa_input.pci-0000_00_1b.0.analog-stereo.echo-cancel 21:24:30.74 - PulseEffects - INFO - default pulseaudio sink: alsa_output.pci-0000_00_1b.0.analog-stereo 21:24:30.74 - PulseEffects - INFO - default pulseaudio sink sampling rate: 44100 Hz. We will use the same rate. 21:24:30.74 - PulseEffects - INFO - loading Pulseeffects sink... 21:24:30.75 - PulseEffects - INFO - sink idx: 33 21:24:30.75 - PulseEffects - INFO - Pulseeffects sink was successfully loaded 21:24:30.75 - PulseEffects - INFO - Pulseeffects sink monitor name: PulseEffects.monitor. We will process audio from this source.
While switched to echo cancelled soundcard:
$ pulseeffects 21:26:14.206 - PulseEffects - INFO - pulseaudio context started 21:26:14.206 - PulseEffects - INFO - pulseaudio version: 10.0 21:26:14.206 - PulseEffects - INFO - default pulseaudio source: alsa_input.pci-0000_00_1b.0.analog-stereo.echo-cancel 21:26:14.206 - PulseEffects - INFO - default pulseaudio sink: alsa_output.pci-0000_00_1b.0.analog-stereo.echo-cancel 21:26:14.206 - PulseEffects - INFO - default pulseaudio sink sampling rate: 32000 Hz. We will use the same rate. 21:26:14.206 - PulseEffects - INFO - loading Pulseeffects sink... 21:26:14.207 - PulseEffects - INFO - sink idx: 34 21:26:14.207 - PulseEffects - INFO - Pulseeffects sink was successfully loaded 21:26:14.207 - PulseEffects - INFO - Pulseeffects sink monitor name: PulseEffects.monitor. We will process audio from this source. Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/PulseEffects/gst.py", line 263, in media_probe element = next(i for i in self.spectrum_freqs if i > StopIteration Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/PulseEffects/gst.py", line 348, in on_message max_mag = max(magnitudes) ValueError: max() arg is an empty sequence Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/PulseEffects/gst.py", line 348, in on_message max_mag = max(magnitudes) ValueError: max() arg is an empty sequence Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/PulseEffects/gst.py", line 348, in on_message max_mag = max(magnitudes) ValueError: max() arg is an empty sequence Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/PulseEffects/gst.py", line 348, in on_message max_mag = max(magnitudes) ValueError: max() arg is an empty sequence Traceback (most recent call last): .....
from easyeffects.
I was able to reproduce the problem with module-echo-cancel. Its lower sampling rate(32000 Hz) is triggering this bug. If I have the time I will release a new version fixing this in 1 or 2 days.
from easyeffects.
I released version 1.4.5. It fixes the problem with module-echo-cancel in my system.
from easyeffects.
Related Issues (20)
- Autogain Artifacts HOT 8
- Incorrect behaviour on effect re-enablement HOT 7
- Flatpak: "Launch Service at System Startup" and "Shutdown on Window Closing" toggles don't work HOT 8
- Help building pulseeffects in freebsd HOT 1
- Samplerate of soundcard against USB amplifier HOT 13
- Suggestion: Video effects HOT 3
- What is the correct spelling of the program name "EasyEffects" or "Easy Effects"? HOT 10
- Unable to reorder effects HOT 3
- Unable to import Equalizer presets HOT 7
- Launching Easy Effects (Failed) HOT 5
- The software required for the Equalizador effect, "Linux Studio Plugins", is not Installed. HOT 2
- easyeffects no effects are applied HOT 3
- Do not open: Linux Mint 21.2 / 21.3 x64 | Intel N100 / Beelink Mini S12 Pro HOT 11
- Do not open in: Orange Pi Zero 3 / Ubuntu 22.04 LTS / ARM HOT 13
- Easyeffect doesn't recconect to the "default" device HOT 120
- Feature Request: Enable/disable effects per device HOT 1
- Text not translated in message dialogs for errors in preset loading HOT 5
- Feature request: equalizer UI improvements HOT 8
- Changing Filter frequency on the fly is broken HOT 32
- Feature request: Flush Plugin Caches with Silence HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from easyeffects.