Moode Forum

Full Version: 128x64 OLED with Song Status and Spectrum Display on Raspberry Pi
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
(02-13-2021, 10:23 AM)adrii Wrote: [ -> ]Hi officialsm

If the current song file is empty, then this is the main issue. In the Moode UI go to Configure > System
then scroll down to Local Services and click on the Metadata file setting so it says ON, then click on SET.

Now play something and run the following comand, and it should print some song details

Code:
cat /var/local/www/currentsong.txt

However, it will still be the case that some radio stations will not have certain items displayed because they are not available to mpd_oled, for example the FLAC stations probably won't have a bitrate, BBC Radio 1 doesn't include the artist and song name, etc

Adrian.

fixed! Now it works. Thank you so much.
Hi

I have started developing mpd_oled again. As a first step I have changed the build system and and tried to make the install process easier and more portable. As part of this, I am also now providing a binary package for Moode.

Before I release these changes, I would be grateful if someone could try installing the binary package and give me some feedback on the process and instructions (just a short note to let me know everything went well, or where there was a problem or a step wasn't clear.

   EDIT: THE TEST PERIOD HAS FINISHED, PLEASE DO NOT INSTALL ANYTHING USING THE FOLLOWING LINKS
   Instructions for Moode 7: https://github.com/antiprism/mpd_oled/bl...de7_deb.md
   Instructions for Moode 6: https://github.com/antiprism/mpd_oled/bl...de6_deb.md

Please be aware that this is a test package. Do not install it on a Moode system where you cannot easily reinstall Moode. I have installed the package on a fresh copy of Moode, and on a fresh copy of Moode with the existing mpd_oled version already running on it, and the installation went fine. However, there may be some kind of setup that I have not anticipated and that will have some kind incompatibily with the install instructions or package

Adrian.
(02-15-2021, 07:05 AM)adrii Wrote: [ -> ]Hi

I have started developing mpd_oled again. As a first step I have changed the build system and and tried to make the install process easier and more portable. As part of this, I am also now providing a binary package for Moode.

Before I release these changes, I would be grateful if someone could try installing the binary package and give me some feedback on the process and instructions (just a short note to let me know everything went well, or where there was a problem or a step wasn't clear.

   Instructions for Moode 7: https://github.com/antiprism/mpd_oled/bl...de7_deb.md
   Instructions for Moode 6: https://github.com/antiprism/mpd_oled/bl...de6_deb.md

Please be aware that this is a test package. Do not install it on a Moode system where you cannot easily reinstall Moode. I have installed the package on a fresh copy of Moode, and on a fresh copy of Moode with the existing mpd_oled version already running on it, and the installation went fine. However, there may be some kind of setup that I have not anticipated and that will have some kind incompatibily with the install instructions or package

Adrian.

Hi Adrian,
will change something about look and feel or infotmations visible on display?
Hi officialsm

There are no display changes, and no improvements to the installed program. The only improvements are to the installation and configuration of mpd_oled.

Adrian.
Is there a map or description to understand for each line of grapich equalizer how Hertz will corrispond?
Hi officialsm

The spectrum is calculated by Cava, and I wasn't able to see exactly what the bars correspond to in the Cava project documentation

   https://github.com/karlstav/cava

If you want to follow it up, the cava configuration file generated by mpd_oled looks something like


Code:
[general]
framerate = 15
bars = 16

[input]
method = fifo
source = /tmp/mpd_oled_fifo

[output]
method = raw
data_format = binary
channels = mono
raw_target = /tmp/cava_fifo_32378
bit_format = 8bit

Where the number of bars is set by 'mpd_oled -b'

Adrian.
(02-15-2021, 07:05 AM)adrii Wrote: [ -> ]Hi

I have started developing mpd_oled again. As a first step I have changed the build system and and tried to make the install process easier and more portable. As part of this, I am also now providing a binary package for Moode.

Before I release these changes, I would be grateful if someone could try installing the binary package and give me some feedback on the process and instructions (just a short note to let me know everything went well, or where there was a problem or a step wasn't clear.

   Instructions for Moode 7: https://github.com/antiprism/mpd_oled/bl...de7_deb.md
   Instructions for Moode 6: https://github.com/antiprism/mpd_oled/bl...de6_deb.md

Please be aware that this is a test package. Do not install it on a Moode system where you cannot easily reinstall Moode. I have installed the package on a fresh copy of Moode, and on a fresh copy of Moode with the existing mpd_oled version already running on it, and the installation went fine. However, there may be some kind of setup that I have not anticipated and that will have some kind incompatibily with the install instructions or package

Adrian.

Hi Adrian,
I have just tested your new procedure and everything has gone right. It is much more simple than the previous.
I had no issues excluding a doubt:
in the paragraph "Configure a copy of the playing audio for the spectrum display" there is a link to "test the display" that does not anything.

Very good job, Adrian.
Best regards and thanks from the community  Big Grin  ,
Francesco
Hi Francesco

Thanks for being the first person to try out the package, and for your feedback (I have now fixed the link). I feel happier releasing this knowing that someone else has successfully worked though the install instructions!

Adrian.
I have just pushed a major update to the mpd_oled repository to make the installation process easier.

   https://github.com/antiprism/mpd_oled/bl.../README.md

Please let me know about about any issues.

There is no need to update an existing mpd_oled install as there are no new program features.

Adrian.
Hello guys,

I'm following the tutorial, but when I get to Copy the FIFO configuration file to /usr/local/etc/mpd_oled_fifo.conf it happens

pi @ moode: ~ $ sudo cp /usr/local/share/mpd_oled/mpd_oled_fifo.conf /usr/local/etc/ 
cp: cannot stat '/usr/local/share/mpd_oled/mpd_oled_fifo.conf': No such file or directory

I've followed the tutorial several times and I can't get it to work.
I'm using a Raspberry Pi 4 and an i2c 4-pin SSD1306, could someone help me?