Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


PeppyMeter and moOde
Hi Francesco
Unfortunately nothing.
P.S: Sorry. It works. I didn't have loopback on.
I tried restoring from a backup and I didn't have it turned on there
Reply
(01-31-2023, 02:49 PM)Patolog1964 Wrote: Hi Francesco
Unfortunately nothing.

Hi Roman,
what is the result of:
Code:
ls -lia /var/tmp/*


Thanks
Francesco
Reply
/var/tmp/systemd-private-f275784166784f1281f7bf2f0a2d2652-haveged.service-jw2CXf:
total 12
138325 drwx------ 3 root root 4096 Jan 31 16:04 .
65581 drwxrwxrwt 5 root root 4096 Jan 31 16:04 ..
138326 drwxrwxrwt 2 root root 4096 Jan 31 16:04 tmp

/var/tmp/systemd-private-f275784166784f1281f7bf2f0a2d2652-systemd-logind.service-eP9Vbi:
total 12
138445 drwx------ 3 root root 4096 Jan 31 16:04 .
65581 drwxrwxrwt 5 root root 4096 Jan 31 16:04 ..
138446 drwxrwxrwt 2 root root 4096 Jan 31 16:04 tmp

/var/tmp/systemd-private-f275784166784f1281f7bf2f0a2d2652-systemd-timesyncd.service-scysFg:
total 12
138425 drwx------ 3 root root 4096 Jan 31 16:04 .
65581 drwxrwxrwt 5 root root 4096 Jan 31 16:04 ..
138434 drwxrwxrwt 2 root root 4096 Jan 31 16:04 tmp
Reply
(01-31-2023, 03:13 PM)Patolog1964 Wrote: /var/tmp/systemd-private-f275784166784f1281f7bf2f0a2d2652-haveged.service-jw2CXf:
total 12
138325 drwx------ 3 root root 4096 Jan 31 16:04 .
65581 drwxrwxrwt 5 root root 4096 Jan 31 16:04 ..
138326 drwxrwxrwt 2 root root 4096 Jan 31 16:04 tmp

/var/tmp/systemd-private-f275784166784f1281f7bf2f0a2d2652-systemd-logind.service-eP9Vbi:
total 12
138445 drwx------ 3 root root 4096 Jan 31 16:04 .
65581 drwxrwxrwt 5 root root 4096 Jan 31 16:04 ..
138446 drwxrwxrwt 2 root root 4096 Jan 31 16:04 tmp

/var/tmp/systemd-private-f275784166784f1281f7bf2f0a2d2652-systemd-timesyncd.service-scysFg:
total 12
138425 drwx------ 3 root root 4096 Jan 31 16:04 .
65581 drwxrwxrwt 5 root root 4096 Jan 31 16:04 ..
138434 drwxrwxrwt 2 root root 4096 Jan 31 16:04 tmp

Sorry..
Code:
ls -lia /var/tmp/p*
and 
Code:
date
 thanks
Reply
pi@Pi4:~ $ ls -lia /var/tmp/p*
14161 prw-r--r-- 1 mpd audio 0 Jan 31 16:07 /var/tmp/peppyfifo
pi@Pi4:~ $ date
Tue 31 Jan 2023 04:26:45 PM CET
pi@Pi4:~ $
Reply
(01-31-2023, 03:27 PM)Patolog1964 Wrote: pi@Pi4:~ $ ls -lia /var/tmp/p*
14161 prw-r--r-- 1 mpd audio 0 Jan 31 16:07 /var/tmp/peppyfifo
pi@Pi4:~ $ date
Tue 31 Jan 2023 04:26:45 PM CET
pi@Pi4:~ $

Hi Roman,
1. what you mean when you say: Unfortunately nothing.
2.
Code:
cat /etc/alsa/conf.d/_sndaloop.conf

3. please check if ALSA loopback  (Configure / Audio / ALSA Options) is ON
Regards,
Francesco
Reply
1. Yes, it didn't work, lopback was turned off
2.# 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 "camilladsp" }
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"
scopes.0 peppyalsa
}

pcm_scope.peppyalsa {
type peppyalsa
decay_ms 400
meter "/var/tmp/peppyfifo"
meter_max 100
Reply
So, now, it is working?
Reply
After entering the command :/home/pi/peppyalsa/src/peppyalsa-client /var/tmp/peppyfifo you can see two pointers that are moving.
Unfortunately, VUmeters stand still.
Reply
(01-31-2023, 04:15 PM)Patolog1964 Wrote: After entering the command :/home/pi/peppyalsa/src/peppyalsa-client /var/tmp/peppyfifo you can see two pointers that are moving.
Unfortunately, VUmeters stand still.

Hi Roman,
I think that something is wrong in the config.txt: could you please run the following command:

Code:
cat /home/pi/PeppyMeter/config.txt

Regards,
Francesco
Reply


Forum Jump: