dwhinham / mt32-pi

🎹🎶 A baremetal kernel that turns your Raspberry Pi 3 or later into a Roland MT-32 emulator and SoundFont synthesizer based on Circle, Munt, and FluidSynth.
https://twitter.com/d0pefish
GNU General Public License v3.0
1.28k stars 81 forks source link

Sound output via HDMI? #96

Closed rsn8887 closed 3 years ago

rsn8887 commented 3 years ago

Why not output digital sound via HDMI, like other programs running on RPi?

HDMI audio is the only quality sound output that comes standard on RPi. The headphone jack is useless.

There are many cheap adapters that take digital sound out of HDMI and convert into other formats or output as analog.

dwhinham commented 3 years ago

I tried adding this, but there were huge problems with timing and latency because the audio has to go through to the GPU.

Best to use an I2S DAC or I2S SPDIF HAT.