pcm.alsa_sink {
type plug
slave {pcm "multi_dev"}
route_policy "duplicate"
}
pcm.alsa_monitor {
type plug
slave {pcm "hw:Loopback,1,0"}
}
pcm.multi_dev {
type multi
slaves.a.pcm "hw:1,0" # Match this to your sound card (aplay -l)
slaves.a.channels 2
slaves.b.pcm "hw:Loopback,0,0"
slaves.b.channels 2
bindings.0.slave a
bindings.0.channel 0
bindings.1.slave a
bindings.1.channel 1
bindings.2.slave b
bindings.2.channel 0
bindings.3.slave b
bindings.3.channel 1
}
python main.py --gui --json --host=192.168.1.139 --effect vumeter --config=/home/ganja/Downloads/hyperion.config.json
/home/ganja/Downloads/hyperion mpd/hyperion-audio-effects-master/effects/spectrum_dump.py:21: PyGIWarning: Gst was imported without specifying a version first. Use gi.require_version('Gst', '1.0') before import to ensure that the right version gets loaded.
from gi.repository import GObject, Gst, GLib
Effect: VU meter
Sorry for my bad English I set it up on Ubuntu I dont understand what's wrong in my Config.
**** Liste der Hardware-Geräte (PLAYBACK) **** Karte 0: Loopback [Loopback], Gerät 0: Loopback PCM [Loopback PCM] Sub-Geräte: 8/8 Sub-Gerät #0: subdevice #0 Sub-Gerät #1: subdevice #1 Sub-Gerät #2: subdevice #2 Sub-Gerät #3: subdevice #3 Sub-Gerät #4: subdevice #4 Sub-Gerät #5: subdevice #5 Sub-Gerät #6: subdevice #6 Sub-Gerät #7: subdevice #7 Karte 0: Loopback [Loopback], Gerät 1: Loopback PCM [Loopback PCM] Sub-Geräte: 8/8 Sub-Gerät #0: subdevice #0 Sub-Gerät #1: subdevice #1 Sub-Gerät #2: subdevice #2 Sub-Gerät #3: subdevice #3 Sub-Gerät #4: subdevice #4 Sub-Gerät #5: subdevice #5 Sub-Gerät #6: subdevice #6 Sub-Gerät #7: subdevice #7 Karte 1: MID [HDA Intel MID], Gerät 0: ALC269 Analog [ALC269 Analog] Sub-Geräte: 1/1 Sub-Gerät #0: subdevice #0 Karte 2: HDMI [HDA ATI HDMI], Gerät 3: HDMI 0 [HDMI 0] Sub-Geräte: 1/1 Sub-Gerät #0: subdevice #0
.asoundrc `pcm.!default { type asym playback.pcm "alsa_sink" capture.pcm "alsa_monitor" }pcm.alsa_sink { type plug slave {pcm "multi_dev"} route_policy "duplicate" }
pcm.alsa_monitor { type plug slave {pcm "hw:Loopback,1,0"} }
pcm.multi_dev { type multi
slaves.a.pcm "hw:1,0" # Match this to your sound card (aplay -l) slaves.a.channels 2 slaves.b.pcm "hw:Loopback,0,0" slaves.b.channels 2
bindings.0.slave a bindings.0.channel 0 bindings.1.slave a bindings.1.channel 1 bindings.2.slave b bindings.2.channel 0 bindings.3.slave b bindings.3.channel 1 }
python main.py --gui --json --host=192.168.1.139 --effect vumeter --config=/home/ganja/Downloads/hyperion.config.json /home/ganja/Downloads/hyperion mpd/hyperion-audio-effects-master/effects/spectrum_dump.py:21: PyGIWarning: Gst was imported without specifying a version first. Use gi.require_version('Gst', '1.0') before import to ensure that the right version gets loaded. from gi.repository import GObject, Gst, GLib Effect: VU meter
Left leds: [74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93] Right leds: [38, 37, 36, 35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19] Effect started, waiting for gstreamer messages... ` I have chance the Vumeter.json { "name" : "VU Meter", "script" : "vumeter.py", "args" : { "color-start": "#00FF00", "color-end": "#FF0000", "level-min": 0, "level-max": 100, "left-start": null, "left-end": null, "right-start": null, "right-end": null, "interval": 50 } }
2 Led's color is green but nothing Led's switch the Color.
Please can you help me?