Posts: 434
Threads: 10
Joined: Apr 2018
Reputation:
28
It looks like cava has not started (no spectrum display), possibly because mpd_oled started too early without the launch test.
Posts: 434
Threads: 10
Joined: Apr 2018
Reputation:
28
Hi ROCH23
Just to let you know that I have extended the launch test timeout from the default 90 seconds to 180 seconds. This is currently only available when installing mpd_oled from source, I haven't updated the binary package yet.
Adrian.
Posts: 566
Threads: 5
Joined: Mar 2020
Reputation:
31
Hi Adrian, hi all,
following numerous tests I noticed that, using "mpd_oled" and then "cava" and "alsa", "via loopback", the output sample rate does not vary (with respect to the variation of the input) from that of the first track after the reboot.
It should also be noted that with "loopback" enabled, the load of the MPD process (monitored by TOP) continuously increases until it reaches saturation.
I can provide details of both series of tests carried out.
If you think it is better, we could analyze these two issues separately and, if desired, on the respective GITHUBs.
Best regards and thanks,
Francesco
Posts: 434
Threads: 10
Joined: Apr 2018
Reputation:
28
Hi Francesco
Thanks for the report.
I believe the solution to the first issue is for mpd_oled to stop cava every time playback stops, and then restart it again when playback resumes. The downside of this is that cava must adjust the spectrum levels every time (although an mpd_oled option could probably be added to indicate a suitable initial level). I don't have any plans to make this change in the current version of mpd_oled, but I will include it in the development version when I start looking at it again (which probably won't be until Raspberry Pis are available again).
For the increasing CPU usage, I'll first install the latest version of Moode and see what happens here.
Adrian.
Posts: 566
Threads: 5
Joined: Mar 2020
Reputation:
31
Hi Adrian,
Thanks for your prompt replay. About the second issue, I already submited it to Tim and he cannot replay that situation.
It happen on several systems (even from scratch) with different hats, on the same radio, loopback enable (and system rebooted), no pause: if stopped or station changed, the load restart from lowest number.
Thank you very much for the time spent and best regards,
Francesco
Posts: 13,394
Threads: 304
Joined: Mar 2018
Reputation:
543
What Radio station?
Are there any MPD options enabled for example resampling, Camilla, HTTP server, etc?
Posts: 434
Threads: 10
Joined: Apr 2018
Reputation:
28
I notice that with the latest Moode and mpd_oled on a Pi Zero the spectrum area flashes irregularly and frequently (average 1 flash per second). I'll investigate this.