fruit-bat / pico-zxspectrum

ZX Spectrum for Raspberry Pico Pi RP2040
453 stars 48 forks source link

Pre-build question: Can audio input work with Pimoroni? #107

Open EDKGames1 opened 6 months ago

EDKGames1 commented 6 months ago

I saw that tape input is supported on the page. I would like to use a Pimoroni video out board, but I want to be able to use tapes. Will it read/write through the audio jack on the VGA/HDMI interface board? Thanks in advance.

fruit-bat commented 6 months ago

Both the Pimoroni VGA and HDMI builds output audio through the on board DAC. This is because the video library is for DVI not HDMI.

I have seen an example of HDMI output on the Pico (https://github.com/shuichitakano/pico_lib), which is rather impressive. With HDMI output, in theory, the audio can be sent to the monitor.

There isn't audio input capability on either of the Pimoroni boards (https://datasheets.raspberrypi.com/rp2040/hardware-design-with-rp2040.pdf). If there was you would still need a pre-amp for it. There are a couple of examples on the Readme of this repository.

If there is demand for it maybe @bobricius would consider adding it to a future PCB design? It's kind of fun but there isn't really a facility to 'save' at the moment. For save to work the 'buzzer' audio output would need to be less approximate!

EDKGames1 commented 6 months ago

Ok. Is there any way anyone else has added that in, along side the Pimoroni?

On Thu, Dec 14, 2023, 5:57 AM fruit-bat @.***> wrote:

Both the Pimoroni VGA and HDMI builds output audio through the on board DAC. This is because the video library is for DVI not HDMI.

I have seen an example of HDMI output on the Pico ( https://github.com/shuichitakano/pico_lib), which is rather impressive. With HDMI output, in theory, the audio can be sent to the monitor.

There isn't audio input capability on either of the Pimoroni boards ( https://datasheets.raspberrypi.com/rp2040/hardware-design-with-rp2040.pdf). If there was you would still need a pre-amp for it. There are a couple of examples on the Readme of this repository.

If there is demand for it maybe @bobricius https://github.com/bobricius would consider adding it to a future PCB design? It's kind of fun but there isn't really a facility to 'save' at the moment. For save to work the 'buzzer' audio output would need to be less approximate!

— Reply to this email directly, view it on GitHub https://github.com/fruit-bat/pico-zxspectrum/issues/107#issuecomment-1855630771, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYWO6WZC56U5QZEFJ2UNL3LYJLLSHAVCNFSM6AAAAABAT7N7LKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNJVGYZTANZXGE . You are receiving this because you authored the thread.Message ID: @.***>

fruit-bat commented 3 months ago

It's been a while, but there has been some progress. There is now firmware for the Demo DV that sends audio over HDMI. I think gpio0/gpio1 are free to use as an input (you still need a pre amp)... It would need a slightly different build, so let me know if you are still interested.

EDKGames1 commented 2 months ago

Thanks for the update after so long. I have a lot of projects so this one is on the backburner right now, but if I get time and the urge I'll check it out. Thanks Again.

On Tue, Apr 2, 2024, 1:11 PM fruit-bat @.***> wrote:

It's been a while, but there has been some progress. There is now firmware for the Demo DV that sends audio over HDMI. I think gpio0/gpio1 are free to use as an input (you still need a pre amp)... It would need a slightly different build, so let me know if you are still interested.

— Reply to this email directly, view it on GitHub https://github.com/fruit-bat/pico-zxspectrum/issues/107#issuecomment-2032604635, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYWO6W3MH7AGWFYNL4ITS33Y3LREDAVCNFSM6AAAAABAT7N7LKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMZSGYYDINRTGU . You are receiving this because you authored the thread.Message ID: @.***>