Wren6991 / PicoDVI

Bitbanged DVI on the RP2040 Microcontroller
BSD 3-Clause "New" or "Revised" License
1.22k stars 131 forks source link

HDMI Audio? #5

Open tmzt opened 3 years ago

tmzt commented 3 years ago

Is there any way to support HDMI Audio output with this, maybe with mostly static graphics (now playing or album art)?

Wren6991 commented 3 years ago

It should be possible but I haven't implemented it.

kargeor commented 3 years ago

I would love to have audio. Maybe I can help implement it?

blueOkiris commented 2 years ago

@Wren6991 I'd like to look into the audio aspect, at the very least for my own projects. Do you have a link to a reference where you got the info for the DVI/HDMI communications protocol?

mlorenzati commented 2 years ago

I second the proposal to the HDMI audio, also where could we find information about technical implementation.

mlorenzati commented 2 years ago

@Wren6991 I'd like to look into the audio aspect, at the very least for my own projects. Do you have a link to a reference where you got the info for the DVI/HDMI communications protocol? @blueOkiris check https://www.intel.com/content/www/us/en/docs/programmable/683798/22-1-19-7-0/hdmi-overview.html basically on the actual video stream, it has to be placed an additional audio frame (data island preamble-guard-audio-guard-video preamble)

c1570 commented 1 year ago

https://github.com/shuichitakano/pico_lib (apparently a C++ fork of PicoDVI) has audio support.

mlorenzati commented 1 year ago

https://github.com/shuichitakano/pico_lib (apparently a C++ fork of PicoDVI) has audio support.

I'm taking this info to add audio support to a project based on Wren's pico lib, it will be opensource. For the time being I added something from there that was missing in current implementation which is to be able to start and stop DVI transmission without breaking.

I use it since I built an RGB2HDMI converter (for retro computers) and when there is no RGBHV signal I can stop HDMI after a while and allow HDMI screen to turn off.

mlorenzati commented 1 year ago

@c1570 @Wren6991 I took the work on pico_lib From @shuichitakano and tried to honor the same flows. DVI start stop works and DVI works if dataislands are not enabled. Anyone wanting to collaborate? https://github.com/mlorenzati/PicoDVI

mlorenzati commented 1 year ago

The work can be merged back here from https://github.com/mlorenzati/PicoDVI, kudos to @shuichitakano