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

Capture PC Speaker to VGM files #143

Open
VSS-Vintorez opened this issue Jan 7, 2025 · 1 comment
Open

Capture PC Speaker to VGM files #143

VSS-Vintorez opened this issue Jan 7, 2025 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@VSS-Vintorez
Copy link

Is your feature request related to a problem? Please describe.
I want to be able to record the PC speaker to a VGM file using MartyPC, since DOSBOX-VGM breaks for some games/demos, and with the cycle accuracy, it will be very useful for me to create accurate VGM recordings.

Describe the solution you'd like
Capturing the PC Speaker to a VGM file, similarly to DOSBOX-VGM.

Describe alternatives you've considered
I already considered DOSBOX-VGM, but as I said, it breaks on certain games/demos.
I also just considered recording the application externally with Audacity, but it could also capture other sounds that are not MartyPC, and the

Additional context
I don't think additional context is needed with my request, but if needed, I might be able to provide some.

@VSS-Vintorez VSS-Vintorez added the enhancement New feature or request label Jan 7, 2025
@dbalsom
Copy link
Owner

dbalsom commented Jan 8, 2025

last I checked VGM didn't actually support PC speaker and NewRisingSun accomplished it via encoding some somewhat equivalent commands to the AY-8-8910 chip.

The PC speaker isn't driven by a "sound chip" at all, but off some some simple circuitry attached to the system timer. I don't know well all the possible sounds you can make with it map to the AY-8-8910, like can you do fancy PWM audio tricks?

I think someone just needs to contribute an 8254 chip to the VGM specification...

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

No branches or pull requests

2 participants