Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Instruction Guide 128x64 OLED with Song Status and Spectrum Display on Raspberry Pi
Given that there's a hint in Moode 9 in regards to ALSA Loopback not being supported with CamillaDSP has anyone gotten it to work via configuration changes like mentioned in the CamillaDSP repositories? Say getting CamillaDSP to work with Alsa Loopback for mpd_oled ...
Reply
I haven't tested but give this a try

Code:
/var/www/snd-config.php
//$_alsa_loopback_disable = $_SESSION['camilladsp'] != 'off' ? 'disabled' : '';
$_alsa_loopback_disable = '';

/etc/alsa/conf.d/_sndaloop.conf
slaves {
//a { channels 2 pcm "hw:3,0" }
a { channels 2 pcm "camilladsp" }
b { channels 2 pcm "hw:Loopback,0" }
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
Is SPI that much faster? Or otherwise better?
Reply
Hi bagelwoof

I don't know about newer Pi's but I think the maximum supported speed for I2C is 400 kb/s, which is not quite enough for a smooth display. However, the value can be set to 800 kb/s, and this works for me. SPI speeds can achieve higher transfer rates.

You may have other I2C or SPI devices connected, and prefer a protocol based on compatibility with these devices.

You may have certain pins in use, or unavailable due to a HAT, and so make a choice based on that.

I2C is convenient in only needing 4 wires.

Adrian.
Reply
(08-08-2024, 11:35 AM)adrii Wrote: Hi bagelwoof

I don't know about newer Pi's but I think the maximum supported speed for I2C is 400 kb/s, which is not quite enough for a smooth display. However, the value can be set to 800 kb/s, and this works for me. SPI speeds can achieve higher transfer rates.

Thanks for the info. I had no idea that we could modify the I2C bus speed.

There's some discussion that the Pi5 might be supported up to 1Mhz? 
How to configure I2C on Pi5 to run with 1MHz - Fast Mode Plus

Apparently, the default is still 100khz. ...ouch...

It looks like we can still use mpd_oled with I2C on a Pi5. Is that correct?

It seems like this problem should also be present on the Pi4 if we use a Moode 9 image, but that's not what I'm picking up from reading this thread. Can we drive an SPI display with Moode 9 on a Pi4?
Reply
Hi bagelwoof

SPI screens cannot be used with mpd_oled on a Pi5. I'm not sure if I have received confirmation that I2C screens work, but it is possible that they will.

For Moode 9 on a Pi4 you have to build mpd_oled fron source. I have tested an I2C and an SPI screen and both were working.

Adrian.
Reply
(08-10-2024, 06:37 AM)adrii Wrote: Hi bagelwoof

SPI screens cannot be used with mpd_oled on a Pi5. I'm not sure if I have received confirmation that I2C screens work, but it is possible that they will.

Thanks, Adrian 



I have a Moode setup on a Pi 5 with one of these on top: https://52pi.com/collections/hat-addons/...2pi-nvdigi, and have an I2S display on order. I'll give it a go sometime in the next week or so; and I'll post back here when I find out the hard way.

I'm refreshing a bunch of older Pi4 things with Pi5s and will be setting up a couple more players, so if the display doesn't work on the 5, there are a few 4s it can go to...
Reply
Just to say I am back on track with the Moode audio system I have. Thanks to you guys as of today my display and Allo Boss working under the latest version 9. Just finished a fresh install and cant wait the full scan is completed en enjoying my music libary again. Thanks again :-)
Reply
(07-21-2024, 12:28 PM)Tim Curtis Wrote: I haven't tested but give this a try

Code:
/var/www/snd-config.php
//$_alsa_loopback_disable = $_SESSION['camilladsp'] != 'off' ? 'disabled' : '';
$_alsa_loopback_disable = '';

/etc/alsa/conf.d/_sndaloop.conf
slaves {
//a { channels 2 pcm "hw:3,0" }
a { channels 2 pcm "camilladsp" }
b { channels 2 pcm "hw:Loopback,0" }


Hi Tim
in relation to Your suggestion 4 make alive together CamillaDSP & Loopback  features...
I've try do done the mod on conf
but this solution not working ...
after reboot
during reprodutions of streaming source (or local files) the popUP
"Failed to open audio output"  pop-up appear..!
where I'm wrong(?)
thanks 4 Ur Support
Reply
Hi everybody,
I see, on the forum alert, that ROCH23 has replied to this thread, more than once but I don't see those posts on the thread.
Is it a problem of mine or not?
Best regards and thanks,
Francesco
Reply


Forum Jump: