cli-visualizer
cli-visualizer copied to clipboard
Only one side (speaker) of the visualizer is working with stereo enabled. Using ALSA fifo file method.
Hey there,
I am using the ALSA fifo file method to get my audio into ALSA, but I'm noticing that only one side of the visualizer is working with visualizer.
This is what it looks like
This is also happening when I run the speaker test command, which switches back and forth to each speaker. The sound is coming out of each speaker individually but the bar is still only coming on one side. The speaker-test command I'm using is speaker-test -D main -c 2
. I have noticed it's very choppy when using speaker-test.
My /etc/asound.conf file looks like this.
pcm.main {
type plug
slave {
pcm {
type file
slave.pcm "D10s"
file "|safe_fifo /tmp/audio"
format raw
perm 0777
}
format S32_LE
channels 2
}
}
pcm.D10s {
type hw
card 2
device 0
channels 2
format S32_LE
}
pcm.!default {
type hw
card 0
}
ctl.!default {
type hw
card 0
}
My ~/.config/vis/config
file looks like this.
visualizer.fps=10
audio.sources=mpd
mpd.fifo.path=/tmp/audio
audio.stereo.enabled=true
colors.override.terminal=false