Moode Forum

Full Version: PeppyMeter
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
https://github.com/project-owner/PeppyMeter.doc/wiki
Is it possible to add this to the http page?
(08-12-2022, 11:06 AM)Mr.R0b0t Wrote: [ -> ]https://github.com/project-owner/PeppyMeter.doc/wiki
Is it possible to add this to the http page?

peppymeter implementation with moode is incomplete in my option. The work done is fantastic so this extra 5% would make it perfect.

User should not have to open up a terminal to launch it. The guys at Volumio "fixed" this by way of a timed screensaver after something started playing.

Another thing is some issues while using camilladsp, either random mpd errors or the VU meters didn't match the music when you apply convolution filters because of the time delay from the filters (i have to double check this one again).

I think the issue is in chain. The way I think is it working is : 

music -> peppymeter -> camilladsp -> output , and it has to be: music -> camilladsp -> peppymeter -> output , so peppymeter is time aligned when using convolution filters.

Granted I did not spend yet time figuring how to reorder chain. With volumio it works like this: music -> camilladsp -> peppymeter -> output

Anyone know how to do this ? It should not be difficult to reorder.
(08-17-2022, 05:02 PM)adolfotregosa Wrote: [ -> ]
(08-12-2022, 11:06 AM)Mr.R0b0t Wrote: [ -> ]https://github.com/project-owner/PeppyMeter.doc/wiki
Is it possible to add this to the http page?

peppymeter implementation with moode is incomplete in my option. The work done is fantastic so this extra 5% would make it perfect.

User should not have to open up a terminal to launch it. The guys at Volumio "fixed" this by way of a timed screensaver after something started playing.

Another thing is some issues while using camilladsp, either random mpd errors or the VU meters didn't match the music when you apply convolution filters because of the time delay from the filters (i have to double check this one again).

I think the issue is in chain. The way I think is it working is : 

music -> peppymeter -> camilladsp -> output , and it has to be: music -> camilladsp -> peppymeter -> output , so peppymeter is time aligned when using convolution filters.

Granted I did not spend yet time figuring how to reorder chain. With volumio it works like this: music -> camilladsp -> peppymeter -> output

Anyone know how to do this ? It should not be difficult to reorder.

Hello Adolfo,
I can help you for the first issue: it is already solved with a Python program that starts the PeppyMeter at the first "PLAY": please have a look to this THREAD. Using the touch screen you can decide to come back to moOde GUI (then STOP the music and PLAY again to restart PeppyMeter).
I hope this helps: please let me know if it solve.
Best regards,
Francesco
(08-17-2022, 08:02 PM)fdealexa Wrote: [ -> ]
(08-17-2022, 05:02 PM)adolfotregosa Wrote: [ -> ]
(08-12-2022, 11:06 AM)Mr.R0b0t Wrote: [ -> ]https://github.com/project-owner/PeppyMeter.doc/wiki
Is it possible to add this to the http page?

peppymeter implementation with moode is incomplete in my option. The work done is fantastic so this extra 5% would make it perfect.

User should not have to open up a terminal to launch it. The guys at Volumio "fixed" this by way of a timed screensaver after something started playing.

Another thing is some issues while using camilladsp, either random mpd errors or the VU meters didn't match the music when you apply convolution filters because of the time delay from the filters (i have to double check this one again).

I think the issue is in chain. The way I think is it working is : 

music -> peppymeter -> camilladsp -> output , and it has to be: music -> camilladsp -> peppymeter -> output , so peppymeter is time aligned when using convolution filters.

Granted I did not spend yet time figuring how to reorder chain. With volumio it works like this: music -> camilladsp -> peppymeter -> output

Anyone know how to do this ? It should not be difficult to reorder.

Hello Adolfo,
I can help you for the first issue: it is already solved with a Python program that starts the PeppyMeter at the first "PLAY": please have a look to this THREAD. Using the touch screen you can decide to come back to moOde GUI (then STOP the music and PLAY again to restart PeppyMeter).
I hope this helps: please let me know if it solve.
Best regards,
Francesco


If you make a change to your script to do something like my fix here for volumio + dsp
https://community.volumio.org/t/project-...45862/1183

You can have it re trigger without stopping the music. 

The idea would be to make your script stop peppymeter when you touch the screen which it already does,
then it would keep reseting the timeout counter each time you touch the screen and when user stops touching the screen it would re trigger. 

Volumio way to do this is to keep firing peppymeter each X seconds but it only does when it isn't already running. 

#!/bin/bash
cd /home/pi/PeppyMeter

if ! pgrep -f peppymeter.py > /dev/null
then
        export DISPLAY=:0
        python3 peppymeter.py
fi

This would do it
(08-17-2022, 08:17 PM)adolfotregosa Wrote: [ -> ]
(08-17-2022, 08:02 PM)fdealexa Wrote: [ -> ]
(08-17-2022, 05:02 PM)adolfotregosa Wrote: [ -> ]
(08-12-2022, 11:06 AM)Mr.R0b0t Wrote: [ -> ]https://github.com/project-owner/PeppyMeter.doc/wiki
Is it possible to add this to the http page?

peppymeter implementation with moode is incomplete in my option. The work done is fantastic so this extra 5% would make it perfect.

User should not have to open up a terminal to launch it. The guys at Volumio "fixed" this by way of a timed screensaver after something started playing.

Another thing is some issues while using camilladsp, either random mpd errors or the VU meters didn't match the music when you apply convolution filters because of the time delay from the filters (i have to double check this one again).

I think the issue is in chain. The way I think is it working is : 

music -> peppymeter -> camilladsp -> output , and it has to be: music -> camilladsp -> peppymeter -> output , so peppymeter is time aligned when using convolution filters.

Granted I did not spend yet time figuring how to reorder chain. With volumio it works like this: music -> camilladsp -> peppymeter -> output

Anyone know how to do this ? It should not be difficult to reorder.

Hello Adolfo,
I can help you for the first issue: it is already solved with a Python program that starts the PeppyMeter at the first "PLAY": please have a look to this THREAD. Using the touch screen you can decide to come back to moOde GUI (then STOP the music and PLAY again to restart PeppyMeter).
I hope this helps: please let me know if it solve.
Best regards,
Francesco


If you make a change to your script to do something like my fix here for volumio + dsp
https://community.volumio.org/t/project-...45862/1183

You can have it re trigger without stopping the music. 

The idea would be to make your script stop peppymeter when you touch the screen which it already does,
then it would  keep reseting the timeout counter each time you touch the screen and when user stops touching the screen it would re trigger. 

Volumio way to do this is to keep firing peppymeter each X seconds but it only does when it isn't already running. 

#!/bin/bash
cd /home/pi/PeppyMeter

if ! pgrep -f peppymeter.py > /dev/null
then
        export DISPLAY=:0
        python3 peppymeter.py
fi

This would do it

Hi Adolfo,
thanks for the suggestion; when I wrote the program, I decided to have the possibility to keep the moOde GUI as wanted, not for a while.
Best regards and thanks again,
Francesco
(08-17-2022, 08:45 PM)fdealexa Wrote: [ -> ]
(08-17-2022, 08:17 PM)adolfotregosa Wrote: [ -> ]
(08-17-2022, 08:02 PM)fdealexa Wrote: [ -> ]
(08-17-2022, 05:02 PM)adolfotregosa Wrote: [ -> ]
(08-12-2022, 11:06 AM)Mr.R0b0t Wrote: [ -> ]https://github.com/project-owner/PeppyMeter.doc/wiki
Is it possible to add this to the http page?

peppymeter implementation with moode is incomplete in my option. The work done is fantastic so this extra 5% would make it perfect.

User should not have to open up a terminal to launch it. The guys at Volumio "fixed" this by way of a timed screensaver after something started playing.

Another thing is some issues while using camilladsp, either random mpd errors or the VU meters didn't match the music when you apply convolution filters because of the time delay from the filters (i have to double check this one again).

I think the issue is in chain. The way I think is it working is : 

music -> peppymeter -> camilladsp -> output , and it has to be: music -> camilladsp -> peppymeter -> output , so peppymeter is time aligned when using convolution filters.

Granted I did not spend yet time figuring how to reorder chain. With volumio it works like this: music -> camilladsp -> peppymeter -> output

Anyone know how to do this ? It should not be difficult to reorder.

Hello Adolfo,
I can help you for the first issue: it is already solved with a Python program that starts the PeppyMeter at the first "PLAY": please have a look to this THREAD. Using the touch screen you can decide to come back to moOde GUI (then STOP the music and PLAY again to restart PeppyMeter).
I hope this helps: please let me know if it solve.
Best regards,
Francesco


If you make a change to your script to do something like my fix here for volumio + dsp
https://community.volumio.org/t/project-...45862/1183

You can have it re trigger without stopping the music. 

The idea would be to make your script stop peppymeter when you touch the screen which it already does,
then it would  keep reseting the timeout counter each time you touch the screen and when user stops touching the screen it would re trigger. 

Volumio way to do this is to keep firing peppymeter each X seconds but it only does when it isn't already running. 

#!/bin/bash
cd /home/pi/PeppyMeter

if ! pgrep -f peppymeter.py > /dev/null
then
        export DISPLAY=:0
        python3 peppymeter.py
fi

This would do it

Hi Adolfo,
thanks for the suggestion; when I wrote the program, I decided to have the possibility to keep the moOde GUI as wanted, not for a while.
Best regards and thanks again,
Francesco

ok, compromise then. Make it configurable because If you just wanted to change volume with the touchscreen or simply change track, peppymeter would not trigger again. Just saying.
Hi Adolfo,
when you change track you stop and play again, then the PeppyMeter will start again.
Regards,
Francesco