Moode Forum
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)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40


RE: PeppyMeter and moOde - rajivkumar1984 - 07-05-2023

Dear Friends, finally I was able to begin the process and now again got stuck in one of the steps --

When I type --

cd /home/pi/peppyalsa/src
gcc peppyalsa-client.c -o peppyalsa-client

I am getting the followingh error, please if any one of you can guide me ---

rajivkumar1984@moode:~ $ cd /home/pi/peppyalsa/src
-bash: cd: /home/pi/peppyalsa/src: No such file or directory                                                                                                                                                                                                                                                                                                    
rajivkumar1984@moode:~ $


Please advise....

https://ibb.co/TYScS80[Image: TYScS80]


RE: PeppyMeter and moOde - Nutul - 07-05-2023

(07-05-2023, 05:31 AM)rajivkumar1984 Wrote: rajivkumar1984@moode:~ $ cd /home/pi/peppyalsa/src
-bash: cd: /home/pi/peppyalsa/src: No such file or directory                                                                                                                                                                                                                                                                                                    
rajivkumar1984@moode:~ $

Hi,

according to the username, your path should be

/home/rajivkumar1984/peppyalsa/src

but just to be sure, what do you see inside the /home folder?

ls /home -la


RE: PeppyMeter and moOde - rajivkumar1984 - 07-05-2023

(07-05-2023, 07:24 AM)Nutul Wrote:
(07-05-2023, 05:31 AM)rajivkumar1984 Wrote: rajivkumar1984@moode:~ $ cd /home/pi/peppyalsa/src
-bash: cd: /home/pi/peppyalsa/src: No such file or directory                                                                                                                                                                                                                                                                                                    
rajivkumar1984@moode:~ $

Hi,

according to the username, your path should be

/home/rajivkumar1984/peppyalsa/src

but just to be sure, what do you see inside the /home folder?

ls /home -la

Thanks @Nutul - here is what i am getting now 
      
Last login: Wed Jul  5 21:12:07 IST 2023 from 192.168.50.55 on pts/1                                                                                                                                                                                                                                                                                             
rajivkumar1984@moode:~ $ cd /rajivkumar1984/pi/peppyalsa/src
-bash: cd: /rajivkumar1984/pi/peppyalsa/src: No such file or directory                                                                                                                                                                                                                                                                                           
rajivkumar1984@moode:~ $ ls /home -la
total 12                                                                                                                                                                                                                                                                                                                                                         
drwxr-xr-x  3 root           root           4096 Jul  1 18:59 .
drwxr-xr-x 18 root           root           4096 Jun  9 03:54 ..
drwxr-xr-x  6 rajivkumar1984 rajivkumar1984 4096 Jul  5 10:12 rajivkumar1984
rajivkumar1984@moode:~ $ 

Not sure where am I making the mistake Sad


RE: PeppyMeter and moOde - Nutul - 07-05-2023

(07-05-2023, 04:03 PM)rajivkumar1984 Wrote:
(07-05-2023, 07:24 AM)Nutul Wrote:
(07-05-2023, 05:31 AM)rajivkumar1984 Wrote: rajivkumar1984@moode:~ $ cd /home/pi/peppyalsa/src
-bash: cd: /home/pi/peppyalsa/src: No such file or directory                                                                                                                                                                                                                                                                                                    
rajivkumar1984@moode:~ $

Hi,

according to the username, your path should be

/home/rajivkumar1984/peppyalsa/src

but just to be sure, what do you see inside the /home folder?

ls /home -la

Read again, carefully, what "your path should be" above.



RE: PeppyMeter and moOde - fdealexa - 07-05-2023

Hi Raji,
All the installation procedure is based on "pi" as default user .
My suggest is to begin all the process from a stretch sd and using "pi" as user.
Regards,
Francesco
PS to reboot system, please use "sudo reboot".


RE: PeppyMeter and moOde - rajivkumar1984 - 07-06-2023

Noted @fdealexa - Let me try and share the result here. I will create another Moode OS on SD and start a fresh installation using Pi as a user and moodeaudio as a password.

Thanks @Nutul Let me run the command you shared.


RE: PeppyMeter and moOde - fdealexa - 07-06-2023

Please note "pi" not "Pi"
Thanks


RE: PeppyMeter and moOde - rajivkumar1984 - 07-08-2023

Thanks @fdealexa , Thanks @Nutul finally I was able to configure it successfully. Kudos to you and this is all possible for your help and support. Without your guidance this wouldnt have been possible. 

But I am stuck at the very last stage and I am sure you will be able to help me identify the issue and share your inputs. Here are my quick queries ---

1. When I am running the below command my 4k display goes blank, I have attached the logs..please suggest what is wrong ?
Code:
cd /home/pi/PeppyMeter
sudo python3 peppymeter.py

Listening the music we should see on the putty screen a couple of bar moving with the music intensity ? Yes it is working for me
was ok? I mean are you listening the music and you see the twoo "character bars? Yes
what is your configuration in terms of display? 3840*2160
About display configuration: I mean "what is your system configuration"? for example: raspberry pi 4b, allo piano dac, local display 7 inch, etc - Raspberry Pi 4B 8GB RAM / External DAC - IFI Audio DAC, Display - Sony 4K TV
After the installation, are you able to listen the music? Yes

2. If you can also please suggest me what will the right configuration for 4K display considering the logs I have attached.

3. Also how can I ensure that the peppymeter starts in 20 secs when the music is playing as currently everytime I have to go to the Web SSH and run the below command to run peppymeter --
Code:
cd /home/pi/PeppyMeter
sudo python3 peppymeter.py

Looking forward to hearing from you....Appreciate your help , Thanks --- Rajiv

[attachment=3289]
[attachment=3288]


RE: PeppyMeter and moOde - fdealexa - 07-08-2023

Hi Raji,
probably you did not enable local display (Configure, System, Local Display, Display, ON, Set.
Would you please try it and let us know, in the mean time I will start up a new system with a similar configuration to yours, to test everything together.
Regards,
Francesco


RE: PeppyMeter and moOde - rajivkumar1984 - 07-08-2023

Hey @fdealexa my local display is already ON. Please find the video attached for your reference Francesco.

So if you look at the video Francesco, when I am running those 2 commands below, my display goes blank instaed of showing the peppymeter and when I press ^C double times, it comes back as seen in the video with the Moode Audio UI.

cd /home/pi/PeppyMeter
sudo python3 peppymeter.py

Video Link - https://drive.google.com/file/d/15orD2TPPD93PiReD5Sv_-72CXl00rhyo/view?usp=sharing