Thank you for your donation!


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


PeppyMeter and moOde
(05-14-2024, 08:43 PM)fdealexa Wrote: Hi satlover3,
I have some questions:
- Did you follow the procedure reported on this GITHUB?
- Does the test on the point 2 run (a couple of bar moving on the putty screen)?
- Would you please provide some additional infoes about the 5 inch waveshare lcd display?

Code:
tvservice -l
tvservice -s -v 0
tvservice -s -v 2
- Would you please show the "/etc/alsa/conf.d/_sndaloop.conf"?
- Would you please show the "config.txt" in the PeppyMeter directory?
Best regards and thanks,
Francesco
P.S.: all this, after the test just suggested by Tim!

Looking toward moOde 9.0.0, tvservice is not available in Raspberry Pi OS Bookworm. The whole /opt/vc directory is gone. Just a gentle reminder Smile

Regards,
Kent
Reply
(05-14-2024, 08:43 PM)fdealexa Wrote: Hi satlover3,
I have some questions:
- Did you follow the procedure reported on this GITHUB?
- Does the test on the point 2 run (a couple of bar moving on the putty screen)?
- Would you please provide some additional infoes about the 5 inch waveshare lcd display?

Code:
tvservice -l
tvservice -s -v 0
tvservice -s -v 2
- Would you please show the "/etc/alsa/conf.d/_sndaloop.conf"?
- Would you please show the "config.txt" in the PeppyMeter directory?
Best regards and thanks,
Francesco
P.S.: all this, after the test just suggested by Tim!

i follow the instructions on github
the test on point 2 bar not run
https://www.waveshare.com/wiki/5inch_HDMI_LCD


Attached Files Thumbnail(s)
   
Reply
(05-14-2024, 09:31 PM)satlover3 Wrote:
(05-14-2024, 08:43 PM)fdealexa Wrote: Hi satlover3,
I have some questions:
- Did you follow the procedure reported on this GITHUB?
- Does the test on the point 2 run (a couple of bar moving on the putty screen)?
- Would you please provide some additional infoes about the 5 inch waveshare lcd display?

Code:
tvservice -l
tvservice -s -v 0
tvservice -s -v 2
- Would you please show the "/etc/alsa/conf.d/_sndaloop.conf"?
- Would you please show the "config.txt" in the PeppyMeter directory?
Best regards and thanks,
Francesco
P.S.: all this, after the test just suggested by Tim!

i follow the instructions on github
the test on point 2 bar not run
https://www.waveshare.com/wiki/5inch_HDMI_LCD


Attached Files Thumbnail(s)
   
Reply
Hi satlover3,
let us focus on the first step: the test has to be running if we want the PeppyMeter is displayed; it looks like the loopback is not enabled: would you please check on
Menu
Configure
Audio
Alsa Options
Loopback.

If the system is still not running, could you please show the remaining part of the "/etc/alsa/conf.d/_sndaloop.conf"?
Best regards,
Francesco
Reply
(05-14-2024, 11:14 PM)fdealexa Wrote: Hi satlover3,
let us focus on the first step: the test has to be running if we want the PeppyMeter is displayed; it looks like the loopback is not enabled: would you please check on
Menu
Configure
Audio
Alsa Options
Loopback.

If the system is still not running, could you please show the remaining part of the "/etc/alsa/conf.d/_sndaloop.conf"?
Best regards,
Francesco
Of course the problem is on loopback.As i said i used in the past the 8.2.0 (whitch now i can't find as .img and i don't know a way to  flash it again)the loopback had on off and then set bouton,now only on -off,i think i read somewhere else ,user who also have problems with alsa on newest moodeaudio version when loopback is on.I am sure that i follow exactly the nistructions of github as i did before with 8.2.o same system and worked perfectly with autostart script .i will upload my config.txt to see it.
Of course i thank you and Tim for interesting  and help,hope we will find the solution
Reply
When you change an ON/OFF toggle button it automatically clicks a hidden SET button. There is no need for manually clicking a set button anymore.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
oh my god! i made a silly mistake
i wrote hw:pippopeppy,0 not only pippopeppy!
finaly works
tomorrow i will try the autostart
thank you and sorryyyyyyyyyy!
Reply
@fdealexa i've a rpi4 4gb ,Topping E30II usb dac and a wavewshare display 11.9" 1480x320  https://www.waveshare.com/wiki/11.9inch_Touch_Monitor ,moode 8.3.9. I think i've correctly installed peppyalsa on terminal during music performing i see two bars moving for L&R channels and i hear regularry music from all sources including spotify) and peppymeter (i hope) but during performing music and giving command
Code:
cd /home/pi/PeppyMeter
sudo python3 peppymeter.py
my display starsts and i see only the backgrounds but needles don't move. 
Where is my mistake, anysolution ?
I create via ssh a new folder "1480x320_Gelo5 01-20 Skins" where i put the right resolution templates for my display, from another peppymeter for an alternative music_Os,  to use here on moode.
I add my startup.log 
Code:
20240519 140816 worker: --
20240519 140816 worker: -- Start moOde 8 series
20240519 140816 worker: --
20240519 140816 worker: Successfully daemonized
20240519 140816 worker: Wait for Linux startup...
20240519 143336 worker: Linux startup complete
20240519 143336 worker: Boot config backed up
20240519 143338 worker: Session loaded
20240519 143341 worker: Package holds applied
20240519 143342 worker: File check complete
20240519 143342 worker: Debug logging off
20240519 143342 worker: Reduced logging off
20240519 143342 worker: --
20240519 143342 worker: -- Audio debug
20240519 143342 worker: --
20240519 143342 worker: ALSA cards:   0:b1 | 1:Headphones | 2:II | 3:empty
20240519 143342 worker: MPD config:   2:E30 II | mixer:E30 II | cardnum:2
20240519 143342 worker: Mixer name:   [E30 II]
20240519 143342 worker: Hdwr volume:  set to 0%
20240519 143342 worker: Volume knob:  57
20240519 143342 worker: --
20240519 143342 worker: -- System
20240519 143342 worker: --
20240519 143344 worker: Host:     moode
20240519 143344 worker: Model:    Pi-4B 1.5 4GB
20240519 143344 worker: moOde:    8.3.9 2024-02-23
20240519 143344 worker: RaspiOS:  11.9 Bullseye 64-bit
20240519 143344 worker: Kernel:   6.1.21 64-bit
20240519 143344 worker: MPD ver:  0.23.14
20240519 143344 worker: CPU gov:  ondemand
20240519 143344 worker: Userid:   pi
20240519 143344 worker: Homedir:  /home/pi
20240519 143344 worker: Timezone: Europe/Rome
20240519 143344 worker: Keyboard: it
20240519 143345 worker: USB boot: enabled
20240519 143345 worker: File sys: expanded
20240519 143345 worker: HDMI out: on
20240519 143345 worker: Sys LED0: on
20240519 143345 worker: Sys LED1: on
20240519 143345 worker: --
20240519 143345 worker: -- Network
20240519 143345 worker: --
20240519 143345 worker: Eth: adapter exists
20240519 143345 worker: Eth: timeout off
20240519 143345 worker: Eth: method  dhcp
20240519 143345 worker: Eth: address 192.168.178.67
20240519 143345 worker: Eth: netmask 255.255.255.0
20240519 143345 worker: Eth: gateway 192.168.178.1
20240519 143345 worker: Eth: pri DNS 192.168.178.1
20240519 143345 worker: Eth: domain  fritz.box
20240519 143345 worker: Wlan: adapter exists
20240519 143345 worker: Wlan: country US
20240519 143345 worker: Wlan: SSID    gribo
20240519 143345 worker: Wlan: other   none
20240519 143345 worker: Wlan: router  on
20240519 143345 worker: Wlan: timeout up to 90 secs
20240519 143345 worker: Wlan: connect to gribo
20240519 143345 worker: Wlan: sleep   disabled
20240519 143345 worker: Wlan: method  dhcp
20240519 143345 worker: Wlan: address 192.168.178.70
20240519 143345 worker: Wlan: netmask 255.255.255.0
20240519 143345 worker: Wlan: gateway 192.168.178.1
20240519 143345 worker: Wlan: pri DNS 192.168.178.1
20240519 143345 worker: Wlan: domain  fritz.box
20240519 143345 worker: --
20240519 143345 worker: -- Software update
20240519 143345 worker: --
20240519 143345 worker: Automatic check off
20240519 143345 worker: --
20240519 143345 worker: -- File sharing
20240519 143345 worker: --
20240519 143346 worker: SMB file sharing:  on
20240519 143346 worker: NFS file sharing:  off
20240519 143346 worker: DLNA file sharing: on
20240519 143346 worker: --
20240519 143346 worker: -- Audio config
20240519 143346 worker: --
20240519 143346 worker: MPD config:    update skipped (USB audio device)
20240519 143346 worker: Audio device:  E30 II
20240519 143346 worker: Formats:       S32_LE, SPECIAL, DSD_U32_BE
20240519 143346 worker: Mixer type     Hardware
20240519 143346 worker: Mixer name     E30 II
20240519 143346 worker: Hdwr volume:   controller detected
20240519 143346 worker: ALSA max vol:  100%
20240519 143346 worker: ALSA card:     2
20240519 143346 worker: ALSA mode:     Default
20240519 143346 worker: ALSA loopback: on
20240519 143346 worker: CamillaDSP:    off
20240519 143346 worker: Renderers:     active flags reset
20240519 143346 worker: --
20240519 143346 worker: -- MPD startup
20240519 143346 worker: --
20240519 143347 worker: MPD service:        started
20240519 143347 worker: MPD port 6600:      accepting connections
20240519 143347 worker: MPD ALSA Default:   on
20240519 143347 worker: MPD ALSA Bluetooth: off
20240519 143347 worker: MPD HTTP Server:    off
20240519 143347 worker: MPD crossfade:      off
20240519 143347 worker: MPD ignore CUE:     no
20240519 143347 worker: MPD CDSP volsync:   off
20240519 143347 worker: MPD CDSP volrange:  60 dB
20240519 143347 worker: --
20240519 143347 worker: -- Music sources
20240519 143347 worker: --
20240519 143347 worker: USB auto-mount: udisks-glue
20240519 143347 worker: USB drives:     no drives found
20240519 143347 worker: NAS source:     ROBY-NAS
20240519 143349 worker: NAS mount:      mount all submitted
20240519 143349 worker: --
20240519 143349 worker: -- Feature availability
20240519 143349 worker: --
20240519 143349 worker: Input select:    available, src MPD, out E30 II
20240519 143357 worker: Bluetooth:       started, ALSA mode Default
20240519 143357 worker: AirPlay:         started
20240519 143357 worker: Spotify Connect: started
20240519 143357 worker: Squeezelite:     available
20240519 143357 worker: RoonBridge:      not installed
20240519 143357 worker: Multiroom:       available
20240519 143357 worker: UPnP client:     started
20240519 143357 worker: GPIO buttons:    available
20240519 143357 worker: HTTPS mode:      available
20240519 143357 worker: Stream recorder: n/a
20240519 143357 worker: --
20240519 143357 worker: -- Volume levels
20240519 143357 worker: --
20240519 143357 worker: Volume knob:   57
20240519 143357 worker: Saved MPD vol: -1
20240519 143357 worker: Saved SRC vol: 0
20240519 143357 worker: Mixer type:    hardware
20240519 143357 worker: Hdwr volume:   89%
20240519 143357 worker: CDSP volume:   0.0dB
20240519 143357 worker: --
20240519 143357 worker: -- Peripherals
20240519 143357 worker: --
20240519 143358 worker: Local display:   on
20240519 143358 worker: On-screen kbd:   off
20240519 143358 worker: Rotary encoder:  off
20240519 143358 worker: USB volume knob: off
20240519 143358 worker: LCD updater:     off
20240519 143358 worker: --
20240519 143358 worker: -- Miscellaneous
20240519 143358 worker: --
20240519 143358 worker: Auto-CoverView:    off
20240519 143358 worker: CoverView timeout: Never
20240519 143358 worker: Auto-shuffle:      off
20240519 143358 worker: Auto-play:         off
20240519 143358 worker: Web SSH server:    on
20240519 143358 worker: Maintenance task:  360 mins
20240519 143358 worker: Current view:      reset to Playback
20240519 143358 worker: Session check:     ok
20240519 143358 worker: --
20240519 143358 worker: -- Startup complete
20240519 143358 worker: --
20240519 143358 worker: Mount monitor:    off
20240519 143358 worker: Radio monitor:    off
20240519 143358 worker: Watchdog monitor: started
20240519 143358 worker: Responsiveness:   Default
20240519 143358 worker: Ready
20240519 144343 worker: Job clearsyslogs
20240519 144941 worker: Job clearsyslogs
20240519 144959 worker: Job clearplayhistory


this is my peppymeter config.txt file.
Code:
[current]
meter = random
random.meter.interval = 20
base.folder =
meter.folder = 1480x320_Gelo5 01-20 Skins
screen.width =
screen.height =
exit.on.touch = False
stop.display.on.touch = False
output.display = True
output.serial = False
output.i2c = False
output.pwm = False
output.http = False
use.logging = False
use.cache = True
cache.size = 20
frame.rate = 30

[sdl.env]
framebuffer.device = /dev/fb0
mouse.device = /dev/input/event0
mouse.driver = TSLIB
mouse.enabled = True
video.driver = dummy
video.display = :0
double.buffer = False
no.frame = False

[serial.interface]
device.name = /dev/serial0
baud.rate = 9600
include.time = False
update.period = 0.1

[i2c.interface]
port = 1
left.channel.address = 0x21
right.channel.address = 0x20
output.size = 10
update.period = 0.1

[pwm.interface]
frequency = 500
gpio.pin.left = 24
gpio.pin.right = 25
update.period = 0.1

[http.interface]
target.url = http://localhost:8000/vumeter
update.period = 0.033

[web.server]
http.port = 8001

[data.source]
type = pipe
polling.interval = 0.04
pipe.name = /home/pi/peppyfifo
volume.constant = 80.0
volume.min = 0.0
volume.max = 100.0
volume.max.in.pipe = 100.0
step = 6
mono.algorithm = average
stereo.algorithm = new
smooth.buffer.size = 4
Reply
Hello  Pappece,
The line in the config.txt 

Code:
pipe.name = /home/pi/peppyfifo
 
has not been modified
If you have followed the github it should be:
Code:
pipe.name = /var/tmp/peppyfifo

Please let me know and, if it runs, please send some pictures.
Best regards,
Francesco
Reply
   
[attachment=3788 Wrote:fdealexa pid='54318' dateline='1716158685']Hello  Pappece,
The line in the config.txt 

Code:
pipe.name = /home/pi/peppyfifo
 
has not been modified
If you have followed the github it should be:
Code:
pipe.name = /var/tmp/peppyfifo

Please let me know and, if it runs, please send some pictures.
Best regards,
Francesco
Hi.Francesco. 

i made your correction pipe.name = /var/tmp/peppyfifo , but nothing , i see only the backgroungs and needles are stopped.


Attached Files Thumbnail(s)
   
Reply


Forum Jump: