Open SiiXFX opened 9 years ago
There's some problem with your Gstreamer setup. First test gstreamer without python: gst-launch-1.0 audiotestsrc ! audioconvert ! autoaudiosink
, if that works you should hear a beep. That IndexError is caused by the same problem.
Also this thread might have something Pi related: https://github.com/RanzQ/hyperion-audio-effects/issues/9
But you should be aware that this is too heavy to run on the Pi, at least the color spectrum is, the vu meter might be possible.
any chance that error is caused by python3 where python2 should work/be used? thanks a lot for hyperion-audio-effects, @RanzQ! I recently switched to hyperion, found your project quickly and it works excellent here (~amd64 gentoo) :}
@frostworx I haven't used python3 (like ever) so not sure if some methods should be replaced for that. However, the error descbribed in this issue is due to some gstreamer / alsa / rpi config problem.
I agree this isn't a hyperion audio related issue. Had a similar issue when loopback wasn't set properly (modprobe snd-aloop not set on startup)
Actually, the IndexError: list index out of range error may be due to to hyperion audio not managing well asymetrical leds conf. For instance with different amounts of leds on left/right sides or with asymetrical corner leds conf. As vumeter.py for instance will arbitrarily set self.height to len(self.leds_left), if more leds are present on the left side, range error will occur on right side.
I'm using Raspbian with Hyperion and a WS2801 LED Strip. The LED's with Hyperion working fine, but with the audio effects i'm getting this error:
Edit: Okay.. I get this error only with the vumeter effect. If I'm selecting the color_spectrum only this error appears:
And in the GUI I can only see the color spectrum but it's not changing when I play music. Also the color spectrum is not on the LED's.