Amiga-Digital-Video
Amiga-Digital-Video copied to clipboard
Feature-Request: Audio IN to HDMI
Hello.
Are all RaspberryPi Zero Pins already in Use? If not, could two Pin´s be used to get, the Audio-Analog-Signal into the HDMI signal?
If not Analog? then maybe the DAC out pins for Left and Right?
And of course if no Pins are free on the RPi maybe an Interrupt-based Audio signal "insertion" on the next iteration of the PCB?
I am very Far away of Electronics-Engineering but maybe it is a tiny suggestion.
c.u. Zui from Hamburg Germany.
As far as I know audio support is not easily possible with the way the RGBtoHDMI software works. This is basically a bare-metal program using a very tight machine code routine to sample the data from the GPIO pins. Interrupts would totally mess up everything.
@c0pperdragon OK got it, and thank You for the reply.
I saw on the Schematics of the Amiga 500 the Paula-Chip would be the Audio DAC, and it is in the proximity of the Denise-Chip.
The idea of a Interrupt based solution is not achievable. (Check or better Uncheck)
About free GPIO Pins on the RPi if I see it right there are free Pins.
Maybe a additional circuit could be added to the PCB.
I found a DAC based on the PCM5102, it needs only 5 PIN´s to connect to a RPi-Zero.
How to get a Signal from the Paula-Chip I dunno...
Is it allowed to place here a Weblink?
https://raspberrypi.stackexchange.com/questions/76188/how-to-make-pcm5102-dac-work-on-raspberry-pi-zerow
This is what I found.
Do I remember it correct that Amiga-Audio is 14bit per Channel?
I gonna try to work on it, and gonna try to get into Amiga back again.
What a Hobby...
c.u. Zui
Overall, I am quite reluctant to touch anything that has to do with audio. Opposed to a digital video solution that can actually achieve true perfection, the quality of audio so much a matter of subjective opinion. I am absolutely sure that whatever anyone can come up with will never be good enough. Also converting the analog audio signal from the Paula chip to digital HDMI and later back to analog again will surely not help the quality.
@ZuiMelanieForno This DAC chip does not help (making the Pi output analog audio). We would need some ADC to make the Pi input analog audio to add to its HDMI stream. Also it needs to work with the bare-metal solution without messing up all the (already super-tight) program timings.
Might be naive here but does HDMI use separate lines for audio? It would require an adaptor board but having something just disconnect the audio lines from the pi and provide them from a separate source (kind-of a breakout board / same way PoE injection would work with RJ45). You'd still need ADC but it would be straight from the phono connectors to the HDMI lines.
No, HDMI provides audio data digitally and time-multiplexed with the video signal.
Due to continuing interst in this top, I reopen this issue. But I can not do anything about this myself as this is completely on the software side of the RGBtoHDMI project. Mayme @IanSB can share his opinion on this matter.
Thank You for reopening this Issue. :)
I will suggest and ask for a "Proof of Concept" thingie at IanSB´s Project.
I installed KiCad for that Matter...
c.u. Zui
Hi, Amigians and Amigianas...
I opened a new Issue at the RGBtoHDMI-Repository.
Proof Of Concept: Audio Signals into HDMI-Output (Muxing) #177
Maybe that will help... Somehow?
c.u. Zui
Hello.
I ordered two Raspberry Pi Pico Microcontrollers.
They have 3 Pins for Analog Input. Maybe it could work out of the Box, but i assume there will be some extra Ciruit to make an Audio-Grabber. When (If) I can get a decent Input, I will try to couple that with the RPi Zero to see if I can get somehow a Network of I²c or such... :)
@JanBeta is willing to help, and if he can find the Time he will do a Oscilloscope Read of the Audio Pin´s.
So, stay tuned on 44.1 kHz for more Audio ;)
c.u. Zui
This is the same Comment like in this Isssue: https://github.com/hoglet67/RGBtoHDMI/issues/177