![]() |
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) |
PeppyMeter and moOde - fdealexa - 02-10-2021 Hello everybody, as suggested by @TheOldPresbyope I wish to open a new thread related to the use of PeppyMeter, a software VU Meter, in the moOde environment. For more info on PeppyMeter, please have a look to: : PeppyMeter.doc. The current state is that I'm trying to run PeppyMeter on moOde; and thanks to a consistent help come from two guys in the "diyAudio Forum" (thanks to them again) as you can see (attached), now it also works together with mpd_oled ... but with some issues. Please be free to ask any question. Best regards to all of you, Francesco [attachment=2116] RE: PeppyMeter and moOde - Alaini93 - 02-10-2021 Really Nice! A tuto would be nice. I know Kent told you no need to, but not everybody is at his level ![]() RE: PeppyMeter and moOde - fdealexa - 02-10-2021 @ "Alaini93" Hi, thanks for the reply: I'll try to build a tutorial but it's all experimental: so please make a copy of your current microSD before following the guide. Also I mentioned a few issues: the biggest one is that I'm able (hopefully just for now) to view the meter on the default display only. My goal is to do it on another display but ... I need help !!! I'll be back with the installation notes soon. Regards, Francesco RE: PeppyMeter and moOde - Alaini93 - 02-10-2021 Ok Francesco, no rush. thanks RE: PeppyMeter and moOde - fdealexa - 02-10-2021 First of all let us open a putty session on our moOde system and run: Code: aplay -l PeppyMeter needs PeppyAlsa to run: so we need first to install and adapt it to our environment. Code: git clone https://github.com/project-owner/peppyalsa.git Now we have to create 2 files with the same contents (in the third row (slave.pcm) we have to put the default output we had in "aplay -l": normally "hw:0,0" or "hw:1,0") Code: sudo nano /etc/asound.conf Copy and past the following content: Code: pcm.peppyalsa { Quote:^o and Enter to save and then ^x to exit. Let's create the second file: Code: sudo cp /etc/asound.conf /home/pi/.asoundrc At this point we have to patch an important file that create the configuration of moOde MPD: Code: sudo nano /var/www/inc/playerlib.php Quote:^-1994 to go to row 1994 and modify the current content from: Now reboot the system and try to listen any music (a radio is the simplest way) if it is still alive!!! If not we have to troubleshoot where we made a mistake. If everything is ok let's continue: Code: cd /home/pi/peppyalsa/src At this point let's test all the chain: Code: /home/pi/peppyalsa/src/peppyalsa-client /var/tmp/peppyfifo Listening the music we should see on the putty screen a couple of bar moving with the music intensity, as the following picture: [attachment=2117] Now we are closer to the end: we have, now, to install PeppyMeter Code: cd /home/pi Now we have to configure our PeppyMeter: Quote: Now we have to modify the program to disable the double buffer: Quote: At this point we have finished. To see the meter on the default display we have to start listening music and: Code: cd /home/pi/PeppyMeter We should see, on the display, a kind of meter that changes every 20 seconds (time can be changed in the config.txt). On the Putty screen appears a couple of message every change. I suggest that, once you have decided what you prefer, we have to stop the meter: Quote:^c^c The available type of meter, for the "large" size we have choosen, at the moment, are: Quote:bar then configure our PeppyMeter: Quote: Then start again: Code: cd /home/pi/PeppyMeter Enjoy listening music... and its graphic RE: PeppyMeter and moOde - Alaini93 - 02-10-2021 that was fast ![]() I'm sure it will be possible to toggle between VU meter and the regular coverart/Song name/progression bar, with a remote control (Flirc) or GPIO button. RE: PeppyMeter and moOde - fdealexa - 02-10-2021 May I ask the favor, everyone will perform it, to confirm (possibly with a photo). Thanks and regards, Francesco RE: PeppyMeter and moOde - mrudzin - 03-06-2021 I did everything as instructed and unfortunately it doesn't work. I am getting such an error libpng warning: iCCP: known incorrect sRGB profile libpng warning: iCCP: known incorrect sRGB profile libpng warning: iCCP: known incorrect sRGB profile libpng warning: iCCP: known incorrect sRGB profile libpng warning: iCCP: known incorrect sRGB profile libpng warning: iCCP: known incorrect sRGB profile RE: PeppyMeter and moOde - fdealexa - 03-06-2021 (03-06-2021, 06:49 PM)mrudzin Wrote: I did everything as instructed and unfortunately it doesn't work. hi mrudzin, some questions: the point: Quote:Listening the music we should see on the putty screen a couple of bar moving with the music intensity, as the following picture:- was ok? I mean are you listening the music and you see the twoo "character bars? - what is your configuration in terms of display? the messages you see are normal because it gives a message on each change of meter type. Try to start the peppymeter with this : Code: cd PeppyMeter Please let me know. Best regards. Francesco RE: PeppyMeter and moOde - mrudzin - 03-07-2021 (03-06-2021, 10:59 PM)fdealexa Wrote:(03-06-2021, 06:49 PM)mrudzin Wrote: I did everything as instructed and unfortunately it doesn't work. |