moode-player / moode

moOde sources and configs
GNU General Public License v3.0
1.02k stars 167 forks source link

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

Closed renne closed 1 week ago

renne commented 2 months 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 2 months ago

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

renne commented 2 months 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 2 months 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 2 months ago

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

MayorBug commented 1 month ago

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

moodeaudio commented 1 month 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

github-actions[bot] commented 3 weeks ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 1 week ago

This issue was closed because it has been inactive for 14 days since being marked as stale.