Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[suggestion] using the pcspeaker as an audio output #142

Open
MFDGaming opened this issue Oct 1, 2024 · 1 comment
Open

[suggestion] using the pcspeaker as an audio output #142

MFDGaming opened this issue Oct 1, 2024 · 1 comment

Comments

@MFDGaming
Copy link

It would be cool if it was possible to playback the audio from the pcspeaker, it could be useful so that audio playback is possible even without a soundcard or a supported one

@volkertb
Copy link
Collaborator

volkertb commented Oct 20, 2024

Andrew Zabolotny's Virtual Sound Blaster, which you could consider a spiritual ancestor to SBEMU, had support for this.

The major downsides of playing back PCM sound through a PC's internal speaker:

  • It's very CPU intensive, even more so than outputting to a dumb LPT DAC such as the Covox Speech Thing
  • Sound quality will be considerably worse than pretty much every other option

I get the appeal: PC speaker output would work in a pinch on most PCs, without requiring any other hardware.

But if you think about it further:

  • On PCs that are new enough to have enough cycles to spare for this have better built-in sound output devices that would make more sense to support anyway (AC'97 ICHx or Intel HDA).
  • Older PCs and laptops for which SBEMU could also be useful (notably desktop systems with MCA slots or older laptops without built-in sound cards) would almost certainly have a parallel port anyway, which would make more sense to support with a cheap Covox-like LPT DAC device as well. Especially since such older systems would likely suffer a considerable performance impact when driving the PC speaker as a PCM output device.

I wouldn't outright say no to this feature request, but I wouldn't prioritize it either. Even LPT DAC (Covox) support would be more interesting to get done first, IMO.

Pull Requests are always welcome, though. 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants