moode-player / moode

moOde sources and configs
GNU General Public License v3.0
985 stars 164 forks source link

Add support for multichannel I²S input/output for RaspberryPi 5 #677

Open renne opened 1 month ago

renne commented 1 month ago

On the RaspberryPi 5 it is possible to configure 4 GPIOs as I²S-inputs and 4 GPIOs as I²S outputs. This allows to have 8 input and 8 output audio channels.

HiFiBerry already offers the HiFiBerry DAC8x.

Combine the DAC8x with a HDMI audio-extractor with I²S output and you get a surround-system with active cross-over and frequency-response correction via CamillaDSP. 😁

Please add the necessary overlays and UI configuration to MoOde! 😃

moodeaudio commented 1 month ago

What are the overlays and what does the UI you want me to add look like?

renne commented 1 month ago

The discussion about the overlays gets interesting at this post.

For the UI it would be great to be able to select the HiFiBerry DAC8x and/or plain 8-channel I²S input/output in the list of audio devices. It should also be possible to select external MCLK on an additional GPIO on the RPi5 and switching between master- and slave-mode.

A HDMI audio-extractor + MoOdle on RaspberryPi 5 in I²S slave mode + HiFiBerry DAC8x would be so great! :grin:

moodeaudio commented 1 month ago

It looks like a very exotic solution requiring a lot of low level programming and config. Its not something our project could support or troubleshoot.

moodeaudio commented 3 weeks ago

I'll reopen if there is more information or interest.

MayorBug commented 4 days ago

Just found out about the DAC8x and some research led me here. Call me interested

moodeaudio commented 3 days ago

I think hifiberry is also working on an 8ch ADC https://github.com/raspberrypi/linux/commit/4d2eaa194d77588fa42567ba174c3c14c5798027

You might want to ask them if this board can be used with their 8ch DAC board