![]() |
PeppyMeter and moOde - Printable Version +- Moode Forum (https://moodeaudio.org/forum) +-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3) +--- Forum: FAQ and Guides (https://moodeaudio.org/forum/forumdisplay.php?fid=9) +--- Thread: PeppyMeter and moOde (/showthread.php?tid=3484) |
RE: PeppyMeter and moOde - Syma753dfx - 03-04-2025 Second video [video=youtube]https://youtu.be/fCc974tm60U[/video] When I launch the command cd /home/MoOde/PeppyMeter DISPLAY=:0 python peppymeter.py the response is pygame 2.1.2 (SDL 2.26.5, Python 3.11.2) Hello from the pygame community. https://www.pygame.org/contribute.html libpng warning: iCCP: known incorrect sRGB profile libpng warning: iCCP: known incorrect sRGB profile libpng warning: iCCP: known incorrect sRGB profile I don't know what I have to do to solve it, I reviewed all the steps, the command /home/MoOde/peppyalsa/src/peppyalsa-client /var/tmp/peppyfifo works but then when I launch cd /home/MoOde/PeppyMeter export DISPLAY=:0.0 sudo python3 peppymeter.py the gold vu meters appear with the needle stopped. What do you recommend? PS. I turned off the audio so I don't have copyright issues on YouTube RE: PeppyMeter and moOde - fdealexa - 03-04-2025 Hi Syma753dfx, would you please post the content of the config.txt (cat /home/MoOde/PeppyMeter/config.tx)? Best regards, Francesco RE: PeppyMeter and moOde - Syma753dfx - 03-05-2025 Hi Francesco, yes of course, this afternoon, when I get home, I'll post it. Ambrogio RE: PeppyMeter and moOde - Syma753dfx - 03-05-2025 (03-04-2025, 11:40 PM)fdealexa Wrote: Hi Syma753dfx, Here it is [current] meter = gold random.meter.interval = 20 base.folder = meter.folder = 1280x400 screen.width = 1280 screen.height = 400 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/fb1 mouse.device = /dev/input/touchscreen 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/myfifo 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 RE: PeppyMeter and moOde - fdealexa - 03-05-2025 Ciao Ambrogio, would you please modify the field: Code: pipe.name = /home/pi/myfifo in Code: pipe.name = /var/tmp/peppyfifo and let us know? Best regards, Francesco RE: PeppyMeter and moOde - Syma753dfx - 03-05-2025 (03-05-2025, 06:16 PM)fdealexa Wrote: Ciao Ambrogio, Grande Francesco, good job!! ![]() Now for first I would replace Screen blank with vu meter so it could be a screen sever for second , may I know what do scripts do? I have read something in this thread but but it's not very clear to me RE: PeppyMeter and moOde - fdealexa - 03-05-2025 Hi Ambrogio, I didn't quite understand the first question: there is a solution (recently improved by another GITHUB participant) that automatically STARTs PeppyMeter when moOde PLAYs and STOPs PeppyMeter when moOde PAUSEs or STOPs; is this what you mean (easy implementation)? Regarding the second question, however, the scripts were preparatory to the two-button solution: one to START and one to STOP PeppyMeter. Best regards, Francesco RE: PeppyMeter and moOde - Syma753dfx - 03-05-2025 Thanks Francesco, I'll try to explain, in the configurations / peripherals / display, there is an option to darken the screen "screen blank" after a preset time (10 sec, 20 sec ....1 mn etc). I wonder if it is possible to use this command by replacing the black screen with the Peppy Meter. Cheers RE: PeppyMeter and moOde - TheOldPresbyope - 03-05-2025 (03-05-2025, 08:56 PM)Syma753dfx Wrote: Thanks Francesco, If you click the information icon next to that option, you get Quote: When playback has stopped the display will be turned off after the specified time period. Regards, Kent RE: PeppyMeter and moOde - Tim Curtis - 03-05-2025 (03-05-2025, 08:56 PM)Syma753dfx Wrote: Thanks Francesco, That screen blanking option is an XServer function that turns off the screen. It doesn't provide a "hook" for doing something else. The screen saver options for moode are in Preferences > CoverView. There also is no "hook" in that code for doing something else but IIRC it could be implemented. It would be a good project for an interested dev :-) |