![]() |
[How to do instruction] 128x64 OLED with Song Status and Spectrum Display on Raspberry Pi - 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: [How to do instruction] 128x64 OLED with Song Status and Spectrum Display on Raspberry Pi (/showthread.php?tid=155) |
RE: 128x64 OLED with Song Status and Spectrum Display on Raspberry Pi - adrii - 05-07-2025 Hi kuyadreiph You said you had an I2C SSH1106 OLED, which is specified with '-o 6'. If you are selecting I2C Adafruit from the Volumio plugin then this sets '-o 3', for an I2C SSD1306 (or SSD1309) OLED, but if it is working for you then you could use '-o 3' on Moode too. Maybe you were sent an SSD1306. Regarding the Volumio plugin, it uses exactly the same version of mpd_oled that you built on Moode, and the configuration options in the Volumio plugin are just selecting the command line options that are set when mpd_oled is run. Adrian. RE: 128x64 OLED with Song Status and Spectrum Display on Raspberry Pi - kuyadreiph - 05-09-2025 (05-07-2025, 11:45 AM)adrii Wrote: Hi kuyadreiphThank you adrian! Finally made it work. RE: 128x64 OLED with Song Status and Spectrum Display on Raspberry Pi - kuyadreiph - 05-09-2025 (05-07-2025, 11:45 AM)adrii Wrote: Hi kuyadreiph Hi adrian! i manage to work wit oled. unfortunately, now i am having a hard time to play song after restart the system. this is what it says after clicking play button. Failed to open "ALSA Default" (alsa); Error opening ALSA device "_audioout"; snd_pcm_hw_params_set_buffer_time_near() failed: Invalid argumentFailed to open "ALSA Default" (alsa); Error opening ALSA device "_audioout"; snd_pcm_hw_params_set_buffer_time_near() failed: Invalid argument RE: 128x64 OLED with Song Status and Spectrum Display on Raspberry Pi - fdealexa - 05-09-2025 Hi kuyadreiph, I have just created a test to replicate your issue and everything has gone ok as expected I think that the best way to solve it is to reinstall from scratch moOde (I have used 9.3.3). Test it with Quote:Metadata and Loopback enabled. Than install mpd_oled following the adrian github instruction (Install instructions for Moode 8 using source). At that point after reboot and the command: Code: sudo mpd_oled_service_edit -o 6 -b 21 -g 1 -f 20 -c alsa,plughw:Loopback,1 Code: sudo mpd_oled_service_edit -o 3 -b 21 -g 1 -f 20 -c alsa,plughw:Loopback,1 Just in case, after that, you can use Code: sudo service mpd_oled status and copy here the result to see if something is wrong. Best regards, Francesco RE: 128x64 OLED with Song Status and Spectrum Display on Raspberry Pi - adrii - 05-09-2025 Hi kuyadreiph Possibly this issue: https://moodeaudio.org/forum/showthread.php?tid=5584 Or, if you have other audio processing enabled, e.g. an equaliser, then it could have some kind of interaction involving the loopback device used by mpd_oled. Adrian. RE: 128x64 OLED with Song Status and Spectrum Display on Raspberry Pi - kuyadreiph - 05-10-2025 (05-09-2025, 05:42 PM)fdealexa Wrote: Hi kuyadreiph, hi francesco! glad it's working now. however, what should i do to rotate the display or where should i insert this "R" on this line sudo mpd_oled_service_edit -o 6 -b 21 -g 1 -f 20 -c alsa,plughw:Loopback,1 to rotate it in 180deg. Regards, drei RE: 128x64 OLED with Song Status and Spectrum Display on Raspberry Pi - kuyadreiph - 05-10-2025 (05-09-2025, 07:31 PM)adrii Wrote: Hi kuyadreiph Hi Adrian! Thank you very much for helping me to work with this. Finally i made it worked. Mind me to ask how should i rotate the display and where should i insert this "R" on these lines. sudo mpd_oled_service_edit -o 3 -b 21 -g 1 -f 20 -c alsa,plughw:Loopback,1 RE: 128x64 OLED with Song Status and Spectrum Display on Raspberry Pi - adrii - 05-10-2025 Hi drei The order of options doesn't matter. You could add it at the end Code: sudo mpd_oled_service_edit -o 3 -b 21 -g 1 -f 20 -c alsa,plughw:Loopback,1 -R Adrian. RE: 128x64 OLED with Song Status and Spectrum Display on Raspberry Pi - kuyadreiph - 05-10-2025 (05-10-2025, 01:04 PM)adrii Wrote: Hi dreiThank you adrian! RE: 128x64 OLED with Song Status and Spectrum Display on Raspberry Pi - fdealexa - 05-10-2025 Hi drei, I am happy that you have solved the issue. Best regards, Francesco |