Hi everyone,
I feel pretty sad, because I read a lot, apply a lot dive a bit into alsa... But I am unable to make the alsa peppy meter works
I have a rpi 4 (4Go), with a IQ Audio DAC Amp+
I have followed
https://github.com/project-owner/PeppyMeter.doc/wiki and the pretty good
https://github.com/FdeAlexa/PeppyMeter_and_moOde for specific moode.
I have a moode 8.3.6-1 installation.
What is happening (or in fact not happening)...
My /etc/alsa/conf.d/_sndaloop.conf is
Code:
cho7@moode:~ $ cat /etc/alsa/conf.d/_sndaloop.conf
#
# This file provides a default Loopback device by overriding the _audioout device defined in /etc/alsa/conf.d/
#
# The trailing underscores are removed/added by job "alsa_loopback" to effectively turn the override On/Off.
# This job is submitted by snd-config.php and corresponds to the setting "ALSA loopback ON/OFF".
#
pcm.!_audioout {
type plug
slave.pcm {
type multi
slaves {
a { channels 2 pcm "plughw:0,0" }
b { channels 2 pcm "pippopeppy" }
}
bindings {
0 { slave a channel 0 }
1 { slave a channel 1 }
2 { slave b channel 0 }
3 { slave b channel 1 }
}
}
ttable [
[ 1 0 1 0 ] # left -> a.left, b.left
[ 0 1 0 1 ] # right -> a.right, b.right
]
}
pcm.pippopeppy {
type meter
slave.pcm "hw:Loopback,0,0"
scopes.0 peppyalsa
}
pcm_scope.peppyalsa {
type peppyalsa
decay_ms 400
meter "/var/tmp/peppyfifo"
meter_max 100
meter_show 0
}
pcm_scope_type.peppyalsa {
lib /usr/local/lib/libpeppyalsa.so
}
My git clone of peppy is on "Renoir Edition".
the /var/tmp/peppyfifo is well present, but when running the peppyalsa-client sample code with the path to the /var/tmp/peppyfifo, nothing happen.. (being root or user)
Code:
cho7@moode:~/peppyalsa/src $ ./peppyalsa-client /var/tmp/peppyfifo
Peppy ALSA Client. Goya Edition. 2018/09/08
Using provided pipe name /var/tmp/peppyfifo
L:
R:
I try to play audio sample with the speaker-test, or moode with no success.
I try to use a software mixer instead of the hardware mixer but without more luck...
For info my aplay output:
Code:
cho7@moode:~/peppyalsa/src $ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: IQaudIODAC [IQaudIODAC], device 0: IQaudIO DAC HiFi pcm512x-hifi-0 [IQaudIO DAC HiFi pcm512x-hifi-0]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 1: Loopback [Loopback], device 0: Loopback PCM [Loopback PCM]
Subdevices: 7/8
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
Subdevice #7: subdevice #7
card 1: Loopback [Loopback], device 1: Loopback PCM [Loopback PCM]
Subdevices: 8/8
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
Subdevice #7: subdevice #7
and here I am... No more idea on my side
I hope someone got a finger showing me my dumby error !
Tx by advance people !