[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 - fdealexa - 05-05-2021 Hello Adrian, Probably I have found how to replicate the ALSA problem. If all the following parameter are in the related setting, I have the problem. 1. Audio Config --> I2S Audio Device --> Named device set to None 2. Audio Config --> ALSA Options --> ALSA loopback set to ON 3. MPD Config --> Audio output --> Output device set to Pi Headphone jack 4. An input stream at the rate of 44.1 kHz. The last condition can be emulated with the SoX "ON" at any "bit deepth"and at 44.1 kHz or using Jazz24.0rg station. I am not sure that this is the only condition, but I am sure that it is one condition that give always the following error: MPD error - Failed to open "ALSA Default" (alsa); Error opening ALSA device "_audioout"; snd_pcm_hw_params_set_buffer_time_near() failed: Invalid argument. This is not an issue related to mpd_oled but, as you remember, it has been an error raised during the mpd_oled tests. Best regards and thanks, Francesco P.S.: do you think that I have to write this on the 7.2 thread? RE: 128x64 OLED with Song Status and Spectrum Display on Raspberry Pi - adrii - 05-05-2021 Hi Francesco Moode 7.2.1 is going to change the playback device to use plughw rather than hw, which might help with the issue you are seeing. If you want to try it now, edit '/etc/alsa/conf.d/_deviceout.conf' and set the slave.pcm line to use plughw rather than hw. Adrian. RE: 128x64 OLED with Song Status and Spectrum Display on Raspberry Pi - adrii - 05-08-2021 Upgrade to Moode 7.1 I had an issue with the upgrade. '/etc/modules' is reset, so if you are using an I2C OLED then edit '/etc/modules/' and add 'i2c-dev' to the file again. The spectrum was not working for me. I am not sure of the exact steps to fix this but, possibly, stop mpd_oled Code: sudo systemctl stop mpd_oled In Configure / Audio / ALSA options turn the loopback to OFF and click on SET, then turn it to ON and click on SET. Then start mpd_oled again Code: sudo systemctl start mpd_oled Adrian. RE: 128x64 OLED with Song Status and Spectrum Display on Raspberry Pi - Cardone - 05-08-2021 (05-08-2021, 06:37 AM)adrii Wrote: Upgrade to Moode 7.1 Hello Adrian, after update 7.2.0 to 7.2.1 and following the instructions from you, the oled works again ... Great work from you ... RE: 128x64 OLED with Song Status and Spectrum Display on Raspberry Pi - officialsm - 05-09-2021 (05-04-2021, 07:14 PM)adrii Wrote: Hi officialsmAt the moment works as expected (upgraded yesterday to 7.2.1.) RE: 128x64 OLED with Song Status and Spectrum Display on Raspberry Pi - adrii - 05-14-2021 Hi officialsm Thanks for the feedback. The new Moode startup complete check is now included in mpd_oled. Adrian. RE: 128x64 OLED with Song Status and Spectrum Display on Raspberry Pi - fdealexa - 05-21-2021 (05-14-2021, 09:50 AM)adrii Wrote: Hi officialsm Hi Adrian, I have tested the new binary version and everything is ok. Thanks a lot and best regards, Francesco RE: 128x64 OLED with Song Status and Spectrum Display on Raspberry Pi - KmPan - 05-21-2021 +1 After updating to 7.2.1 mod oled stopped working, but after updating to new binary everything works fine as usual, RE: 128x64 OLED with Song Status and Spectrum Display on Raspberry Pi - adrii - 05-22-2021 Hi Francesco and KmPan Thanks. Adrian. RE: 128x64 OLED with Song Status and Spectrum Display on Raspberry Pi - f.omar - 06-11-2021 Hi, I have a problem with the oled display. When the song starts, the display freezes. Can someone help me figure out where am I wrong? Thanks my configuration: Raspberry pi 3 B+ DAC R38 ES9038 Q2M 2.42” Oled 128x64 SPI SSD1309 Moode 7.2.1 |