Skip to content

Would it be possible to add COM port output as an audio destination in SBEMU (11025 Hz, mono, 8-bit)? #168

@VigoElCarpato

Description

@VigoElCarpato

Hi SBEMU team, and thank you for your fantastic work.

I have run an experiment to evaluate the feasibility of transmitting audio through a serial port, sacrificing some quality but using a fixed configuration: 11025 Hz, mono, 8-bit.
The idea is to provide audio output to external devices on systems that have no working sound card or whose audio hardware is not supported (as in my case with a TR2350 using an AMD Geode LX800).

For the test I used Python scripts to transmit both prerecorded audio and live audio from a microphone, and the results were positive: the sound quality is acceptable and certainly much better than having no audio at all.
On the receiving side, a Raspberry Pi or any microcontroller can be used to read the serial data and generate analog audio output.

I believe that adding an option in SBEMU to output audio directly through a COM port at 11025 Hz, mono, 8-bit would be a valuable enhancement, especially because serial ports are still very common.

Video.mp4
Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions